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

MacroDescription
GAP_DISC_REASON_AUTH_FAILAuthentication failure.
GAP_DISC_REASON_REMOTE_TERMINATERemote User Terminated Connection.
GAP_DISC_REASON_LOW_RESOURCESRemote Device Terminated Connection due to Low Resources.
GAP_DISC_REASON_POWER_OFFRemote Device Terminated Connection due to Power Off.
GAP_DISC_REASON_UNSUPPORTEDUnsupported Remote Feature / Unsupported LMP Feature.
GAP_DISC_REASON_KEY_LEN_UNSUPPORTEDPairing with Unit Key Not Supported.
GAP_DISC_REASON_UNACCEPTABLE_CPUnacceptable Connection Parameters.