mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +00:00
fix bug that files missing commit in MR 773
This commit is contained in:
@@ -1350,6 +1350,7 @@ enum {
|
||||
};
|
||||
typedef UINT8 tBTM_SP_EVT;
|
||||
|
||||
/* relate to ESP_IO_CAP_xxx in esp_gap_ble_api.h */
|
||||
#define BTM_IO_CAP_OUT 0 /* DisplayOnly */
|
||||
#define BTM_IO_CAP_IO 1 /* DisplayYesNo */
|
||||
#define BTM_IO_CAP_IN 2 /* KeyboardOnly */
|
||||
@@ -1531,6 +1532,7 @@ typedef void (tBTM_BOND_CANCEL_CMPL_CALLBACK) (tBTM_STATUS result);
|
||||
|
||||
/* LE related event and data structure
|
||||
*/
|
||||
/* relate to ESP_LE_KEY_xxx in esp_gap_ble_api.h */
|
||||
#if (SMP_INCLUDED == TRUE)
|
||||
#define BTM_LE_IO_REQ_EVT SMP_IO_CAP_REQ_EVT /* received IO_CAPABILITY_REQUEST event */
|
||||
#define BTM_LE_SEC_REQUEST_EVT SMP_SEC_REQUEST_EVT /* security request event */
|
||||
@@ -1562,6 +1564,8 @@ typedef UINT8 tBTM_LE_EVT;
|
||||
#define BTM_LE_KEY_LCSRK (SMP_SEC_KEY_TYPE_CSRK << 4) /* local CSRK has been deliver to peer */
|
||||
#endif ///BLE_INCLUDED == TRUE && SMP_INCLUDED == TRUE
|
||||
typedef UINT8 tBTM_LE_KEY_TYPE;
|
||||
|
||||
/* relate to ESP_LE_AUTH_xxx in esp_gap_ble_api.h */
|
||||
#if (SMP_INCLUDED == TRUE)
|
||||
#define BTM_LE_AUTH_REQ_NO_BOND SMP_AUTH_NO_BOND /* 0 */
|
||||
#define BTM_LE_AUTH_REQ_BOND SMP_AUTH_GEN_BOND /* 1 << 0 */
|
||||
|
||||
Reference in New Issue
Block a user