bugfix/fix the crash when using legacy paring with wrong pin code

Close https://github.com/espressif/esp-idf/issues/7556
This commit is contained in:
jincheng
2021-09-17 13:17:27 +08:00
committed by bot
parent 092f53cea6
commit c592da5308
3 changed files with 52 additions and 24 deletions

View File

@@ -74,6 +74,7 @@ enum {
BTM_SET_PRIVACY_FAIL, /* 24 enable/disable local privacy failed*/
BTM_SET_STATIC_RAND_ADDR_FAIL, /* 25 Command failed */
BTM_INVALID_STATIC_RAND_ADDR, /* 26 invalid static rand addr */
BTM_SEC_DEV_REC_REMOVED, /* 27 Device record relate to the bd_addr is removed */
};
typedef uint8_t tBTM_STATUS;