fix(nimble): Defer Events / ATT related information from stack

Defer Events/ ATT related GAP events from stack until connection
 event is sent to GAP layer
This commit is contained in:
Rahul Tank
2026-08-27 11:33:56 +05:30
parent 17c167767a
commit 03599155dc
4 changed files with 79 additions and 32 deletions
+10
View File
@@ -349,6 +349,16 @@ menu "GAP"
Enable this option to send number-of-completed-packets event to
controller after disconnection
config BT_NIMBLE_DEFER_CONN_EVENTS_UNTIL_CONNECT
bool "Defer connection GAP/ATT events until CONNECT callback"
depends on BT_NIMBLE_ENABLED
default y
help
Queue connection-related GAP callbacks and ATT server requests until
BLE_GAP_EVENT_CONNECT event is delivered for that connection handle.
Required when the host delays CONNECT so applications never receive other
events before CONNECT event.
endmenu #GAP
menu "GATT / ATT"