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:
h2zero
2020-04-27 11:35:55 +02:00
committed by Łukasz Rymanowski
parent 6ced1dd4ca
commit 55c904fee7
+2 -2
View File
@@ -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