1.1.2.1.3.1.2 Connection result

C

#define BLE_L2CAP_RES_CONN_SUCCESSFUL               0x0000
#define BLE_L2CAP_RES_CONN_SPSM_NOT_SUPPORTED       0x0002
#define BLE_L2CAP_RES_CONN_NO_RESOURCES             0x0004
#define BLE_L2CAP_RES_CONN_INSUFF_AUTHENTICATION    0x0005
#define BLE_L2CAP_RES_CONN_INSUFF_AUTHORIZATION     0x0006
#define BLE_L2CAP_RES_CONN_INSUFF_ENC_KEY_SIZE      0x0007
#define BLE_L2CAP_RES_CONN_INSUFF_ENC               0x0008
#define BLE_L2CAP_RES_CONN_INVALID_SOURCE_CID       0x0009
#define BLE_L2CAP_RES_CONN_SOURCE_CID_ALLOCATED     0x000A
#define BLE_L2CAP_RES_CONN_UNACCEPT_PARAMS          0x000B
#define BLE_L2CAP_RES_CONN_REJECT                   0xFFFF

Description

The definition of the result for L2CAP credit based connection response packet.

Macro Definition

MacroDescription
BLE_L2CAP_RES_CONN_SUCCESSFULConnection successful.
BLE_L2CAP_RES_CONN_SPSM_NOT_SUPPORTEDConnection refused - SPSM not supported.
BLE_L2CAP_RES_CONN_NO_RESOURCESConnection refused - no resource available.
BLE_L2CAP_RES_CONN_INSUFF_AUTHENTICATIONConnection refused - insufficient authentication.
BLE_L2CAP_RES_CONN_INSUFF_AUTHORIZATIONConnection refused - insufficient authorization.
BLE_L2CAP_RES_CONN_INSUFF_ENC_KEY_SIZEConnection refused - insufficient encryption key size.
BLE_L2CAP_RES_CONN_INSUFF_ENCConnection refused - insufficient encryption.
BLE_L2CAP_RES_CONN_INVALID_SOURCE_CIDConnection refused - invalid Source CID.
BLE_L2CAP_RES_CONN_SOURCE_CID_ALLOCATEDConnection refused - Source CID already allocated.
BLE_L2CAP_RES_CONN_UNACCEPT_PARAMSConnection refused - unacceptable parameters.
BLE_L2CAP_RES_CONN_REJECTCommand reject.