Disconnect reason
C
#define GAP_DISC_REASON_AUTH_FAIL 0x05 #define GAP_DISC_REASON_REMOTE_TERMINATE 0x13 #define GAP_DISC_REASON_LOW_RESOURCES 0x14 #define GAP_DISC_REASON_POWER_OFF 0x15 #define GAP_DISC_REASON_UNSUPPORTED 0x1A #define GAP_DISC_REASON_KEY_LEN_UNSUPPORTED 0x29 #define GAP_DISC_REASON_UNACCEPTABLE_CP 0x3B
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. |