mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
Merge branch 'bugfix/fix_ble_smp_fail_0x82' into 'master'
Bugfix/fix ble smp fail 0x82 Closes BLERP-1949 See merge request espressif/esp-idf!39494
This commit is contained in:
@@ -216,5 +216,12 @@ uint32_t btc_get_ble_status(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if SMP_INCLUDED == TRUE
|
||||
extern uint8_t smp_get_state(void);
|
||||
if (smp_get_state()) {
|
||||
status |= BIT(BTC_BLE_STATUS_SMP_STATE);
|
||||
}
|
||||
#endif
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ typedef enum {
|
||||
BTC_BLE_STATUS_GATTS_SRVC, // GATTS service exist
|
||||
BTC_BLE_STATUS_PRIVACY, // Privacy enabled
|
||||
BTC_BLE_STATUS_ADDR_RESOLVE_DISABLE,// Address resolution disable status
|
||||
BTC_BLE_STATUS_SMP_STATE, // SMP state machine
|
||||
} tBTC_BLE_STATUS;
|
||||
|
||||
future_t **btc_main_get_future_p(btc_main_future_type_t type);
|
||||
|
||||
Reference in New Issue
Block a user