Bluetooth: Add simple timeout for connection establishment
Adds fiber which starts with some specified delay. If the fiber is not cancelled, bt_disconnect is called to cancel creation of connection. Change-Id: I06667d970ba3398f205f19f1d2e76ab6c283f274 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
This commit is contained in:
parent
4e3bce5e96
commit
f3232cb999
4 changed files with 50 additions and 5 deletions
|
@ -34,6 +34,7 @@ config BLUETOOTH
|
|||
bool
|
||||
prompt "Bluetooth LE support [EXPERIMENTAL]"
|
||||
default n
|
||||
select NANO_TIMEOUTS
|
||||
help
|
||||
This option enables Bluetooth Low Energy support.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue