Disconnect reason
C
#define GAP_DISC_REASON_AUTH_FAIL (0x05U) #define GAP_DISC_REASON_REMOTE_TERMINATE (0x13U) #define GAP_DISC_REASON_LOW_RESOURCES (0x14U) #define GAP_DISC_REASON_POWER_OFF (0x15U) #define GAP_DISC_REASON_UNSUPPORTED (0x1AU) #define GAP_DISC_REASON_KEY_LEN_UNSUPPORTED (0x29U) #define GAP_DISC_REASON_UNACCEPTABLE_CP (0x3BU)
Description
Defines the reasons for disconnection in the GAP (Generic Access Profile).
Macro Definition
Macro | Description |
---|---|
GAP_DISC_REASON_AUTH_FAIL | Authentication failure. |
GAP_DISC_REASON_REMOTE_TERMINATE | Remote User Terminated Connection. |
GAP_DISC_REASON_LOW_RESOURCES | Remote Device Terminated Connection due to Low Resources. |
GAP_DISC_REASON_POWER_OFF | Remote Device Terminated Connection due to Power Off. |
GAP_DISC_REASON_UNSUPPORTED | Unsupported Remote Feature / Unsupported LMP Feature. |
GAP_DISC_REASON_KEY_LEN_UNSUPPORTED | Pairing with Unit Key Not Supported. |
GAP_DISC_REASON_UNACCEPTABLE_CP | Unacceptable Connection Parameters. |