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

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.