mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix ble connection maximum latency is 499
This commit is contained in:
parent
d0b8d53410
commit
f637a0792d
@ -70,7 +70,7 @@ typedef uint8_t esp_link_key[ESP_BT_OCTET16_LEN]; /* Link Key */
|
|||||||
|
|
||||||
#define ESP_BLE_CONN_INT_MIN 0x0006 /*!< relate to BTM_BLE_CONN_INT_MIN in stack/btm_ble_api.h */
|
#define ESP_BLE_CONN_INT_MIN 0x0006 /*!< relate to BTM_BLE_CONN_INT_MIN in stack/btm_ble_api.h */
|
||||||
#define ESP_BLE_CONN_INT_MAX 0x0C80 /*!< relate to BTM_BLE_CONN_INT_MAX in stack/btm_ble_api.h */
|
#define ESP_BLE_CONN_INT_MAX 0x0C80 /*!< relate to BTM_BLE_CONN_INT_MAX in stack/btm_ble_api.h */
|
||||||
#define ESP_BLE_CONN_LATENCY_MAX 500 /*!< relate to ESP_BLE_CONN_LATENCY_MAX in stack/btm_ble_api.h */
|
#define ESP_BLE_CONN_LATENCY_MAX 499 /*!< relate to ESP_BLE_CONN_LATENCY_MAX in stack/btm_ble_api.h */
|
||||||
#define ESP_BLE_CONN_SUP_TOUT_MIN 0x000A /*!< relate to BTM_BLE_CONN_SUP_TOUT_MIN in stack/btm_ble_api.h */
|
#define ESP_BLE_CONN_SUP_TOUT_MIN 0x000A /*!< relate to BTM_BLE_CONN_SUP_TOUT_MIN in stack/btm_ble_api.h */
|
||||||
#define ESP_BLE_CONN_SUP_TOUT_MAX 0x0C80 /*!< relate to ESP_BLE_CONN_SUP_TOUT_MAX in stack/btm_ble_api.h */
|
#define ESP_BLE_CONN_SUP_TOUT_MAX 0x0C80 /*!< relate to ESP_BLE_CONN_SUP_TOUT_MAX in stack/btm_ble_api.h */
|
||||||
#define ESP_BLE_CONN_PARAM_UNDEF 0xffff /* use this value when a specific value not to be overwritten */ /* relate to ESP_BLE_CONN_PARAM_UNDEF in stack/btm_ble_api.h */
|
#define ESP_BLE_CONN_PARAM_UNDEF 0xffff /* use this value when a specific value not to be overwritten */ /* relate to ESP_BLE_CONN_PARAM_UNDEF in stack/btm_ble_api.h */
|
||||||
|
@ -129,7 +129,7 @@ typedef UINT8 tBTM_BLE_SFP;
|
|||||||
#define BTM_BLE_EXT_SCAN_WIN_MAX 0xFFFF
|
#define BTM_BLE_EXT_SCAN_WIN_MAX 0xFFFF
|
||||||
#define BTM_BLE_CONN_INT_MIN 0x0006
|
#define BTM_BLE_CONN_INT_MIN 0x0006
|
||||||
#define BTM_BLE_CONN_INT_MAX 0x0C80
|
#define BTM_BLE_CONN_INT_MAX 0x0C80
|
||||||
#define BTM_BLE_CONN_LATENCY_MAX 500
|
#define BTM_BLE_CONN_LATENCY_MAX 499
|
||||||
#define BTM_BLE_CONN_SUP_TOUT_MIN 0x000A
|
#define BTM_BLE_CONN_SUP_TOUT_MIN 0x000A
|
||||||
#define BTM_BLE_CONN_SUP_TOUT_MAX 0x0C80
|
#define BTM_BLE_CONN_SUP_TOUT_MAX 0x0C80
|
||||||
#define BTM_BLE_CONN_PARAM_UNDEF 0xffff /* use this value when a specific value not to be overwritten */
|
#define BTM_BLE_CONN_PARAM_UNDEF 0xffff /* use this value when a specific value not to be overwritten */
|
||||||
|
Loading…
Reference in New Issue
Block a user