After setting new discoverable timeout property change notification with new value should be send. --- android/bluetooth.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/android/bluetooth.c b/android/bluetooth.c index 4bb2c92..c60c9a2 100644 --- a/android/bluetooth.c +++ b/android/bluetooth.c @@ -1387,6 +1387,10 @@ static uint8_t set_adapter_discoverable_timeout(const void *buf, uint16_t len) /* TODO: This should be in some storage */ memcpy(&adapter.discoverable_timeout, timeout, sizeof(uint32_t)); + send_adapter_property(HAL_PROP_ADAPTER_DISC_TIMEOUT, + sizeof(adapter.discoverable_timeout), + &adapter.discoverable_timeout); + return HAL_STATUS_SUCCESS; } -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html