Loading system/stack/include/btm_status.h +11 −4 Original line number Diff line number Diff line Loading @@ -45,6 +45,10 @@ enum : uint8_t { supported */ BTM_DEV_RESTRICT_LISTED, /* 21 The device is restrict listed */ BTM_ERR_KEY_MISSING, /* 22 Handle for Pin or Key Missing */ BTM_NOT_AUTHENTICATED, /* 23 the link is not authenticated */ BTM_NOT_ENCRYPTED, /* 24 the link is not encrypted */ BTM_INSUFFICIENT_ENCRYPT_KEY_SIZE, /* 25 the encrypt key size not sufficient */ BTM_MAX_STATUS_VALUE, BTM_UNDEFINED = 0xFF, }; Loading Loading @@ -88,6 +92,9 @@ inline std::string btm_status_text(const tBTM_STATUS& status) { CASE_RETURN_TEXT(BTM_MODE4_LEVEL4_NOT_SUPPORTED); CASE_RETURN_TEXT(BTM_DEV_RESTRICT_LISTED); CASE_RETURN_TEXT(BTM_ERR_KEY_MISSING); CASE_RETURN_TEXT(BTM_NOT_AUTHENTICATED); CASE_RETURN_TEXT(BTM_NOT_ENCRYPTED); CASE_RETURN_TEXT(BTM_INSUFFICIENT_ENCRYPT_KEY_SIZE); default: return base::StringPrintf("UNKNOWN[%hhu]", status); } Loading Loading
system/stack/include/btm_status.h +11 −4 Original line number Diff line number Diff line Loading @@ -45,6 +45,10 @@ enum : uint8_t { supported */ BTM_DEV_RESTRICT_LISTED, /* 21 The device is restrict listed */ BTM_ERR_KEY_MISSING, /* 22 Handle for Pin or Key Missing */ BTM_NOT_AUTHENTICATED, /* 23 the link is not authenticated */ BTM_NOT_ENCRYPTED, /* 24 the link is not encrypted */ BTM_INSUFFICIENT_ENCRYPT_KEY_SIZE, /* 25 the encrypt key size not sufficient */ BTM_MAX_STATUS_VALUE, BTM_UNDEFINED = 0xFF, }; Loading Loading @@ -88,6 +92,9 @@ inline std::string btm_status_text(const tBTM_STATUS& status) { CASE_RETURN_TEXT(BTM_MODE4_LEVEL4_NOT_SUPPORTED); CASE_RETURN_TEXT(BTM_DEV_RESTRICT_LISTED); CASE_RETURN_TEXT(BTM_ERR_KEY_MISSING); CASE_RETURN_TEXT(BTM_NOT_AUTHENTICATED); CASE_RETURN_TEXT(BTM_NOT_ENCRYPTED); CASE_RETURN_TEXT(BTM_INSUFFICIENT_ENCRYPT_KEY_SIZE); default: return base::StringPrintf("UNKNOWN[%hhu]", status); } Loading