mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-14 09:47:22 +00:00
nimble/gap: Make initial connection event length constants zero.
The NimBLE controller currently does not use these parameters, however other controllers such as the esp32 do make use of them. This PR is for changing these to a more "neutral" value to avoid unexpected behavior when using a different controller.
This commit is contained in:
committed by
Łukasz Rymanowski
parent
6ced1dd4ca
commit
55c904fee7
@@ -98,8 +98,8 @@ struct hci_conn_update;
|
||||
|
||||
#define BLE_GAP_INITIAL_CONN_LATENCY 0
|
||||
#define BLE_GAP_INITIAL_SUPERVISION_TIMEOUT 0x0100
|
||||
#define BLE_GAP_INITIAL_CONN_MIN_CE_LEN 0x0010
|
||||
#define BLE_GAP_INITIAL_CONN_MAX_CE_LEN 0x0300
|
||||
#define BLE_GAP_INITIAL_CONN_MIN_CE_LEN 0x0000
|
||||
#define BLE_GAP_INITIAL_CONN_MAX_CE_LEN 0x0000
|
||||
|
||||
#define BLE_GAP_ROLE_MASTER 0
|
||||
#define BLE_GAP_ROLE_SLAVE 1
|
||||
|
||||
Reference in New Issue
Block a user