L2CAP credit-based connection response result codes

C

#define BLE_L2CAP_RES_CONN_SUCCESSFUL               (0x0000U)
#define BLE_L2CAP_RES_CONN_SPSM_NOT_SUPPORTED       (0x0002U)
#define BLE_L2CAP_RES_CONN_NO_RESOURCES             (0x0004U)
#define BLE_L2CAP_RES_CONN_INSUFF_AUTHENTICATION    (0x0005U)
#define BLE_L2CAP_RES_CONN_INSUFF_AUTHORIZATION     (0x0006U)
#define BLE_L2CAP_RES_CONN_INSUFF_ENC_KEY_SIZE      (0x0007U)
#define BLE_L2CAP_RES_CONN_INSUFF_ENC               (0x0008U)
#define BLE_L2CAP_RES_CONN_INVALID_SOURCE_CID       (0x0009U)
#define BLE_L2CAP_RES_CONN_SOURCE_CID_ALLOCATED     (0x000AU)
#define BLE_L2CAP_RES_CONN_UNACCEPT_PARAMS          (0x000BU)
#define BLE_L2CAP_RES_CONN_REJECT                   (0xFFFFU)

Description

Defines the result codes for L2CAP credit-based connection response packets.

Macro Definition

MacroDescription
BLE_L2CAP_RES_CONN_SUCCESSFULConnection successfully established.
BLE_L2CAP_RES_CONN_SPSM_NOT_SUPPORTEDConnection refused due to unsupported SPSM.
BLE_L2CAP_RES_CONN_NO_RESOURCESConnection refused due to lack of resources.
BLE_L2CAP_RES_CONN_INSUFF_AUTHENTICATIONConnection refused due to insufficient authentication.
BLE_L2CAP_RES_CONN_INSUFF_AUTHORIZATIONConnection refused due to insufficient authorization.
BLE_L2CAP_RES_CONN_INSUFF_ENC_KEY_SIZEConnection refused due to insufficient encryption key size.
BLE_L2CAP_RES_CONN_INSUFF_ENCConnection refused due to insufficient encryption.
BLE_L2CAP_RES_CONN_INVALID_SOURCE_CIDConnection refused due to invalid Source Channel Identifier (CID).
BLE_L2CAP_RES_CONN_SOURCE_CID_ALLOCATEDConnection refused because the Source CID is already allocated.
BLE_L2CAP_RES_CONN_UNACCEPT_PARAMSConnection refused due to unacceptable parameters.
BLE_L2CAP_RES_CONN_REJECTGeneric connection rejection.