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
Macro | Description |
---|---|
BLE_L2CAP_RES_CONN_SUCCESSFUL | Connection successfully established. |
BLE_L2CAP_RES_CONN_SPSM_NOT_SUPPORTED | Connection refused due to unsupported SPSM. |
BLE_L2CAP_RES_CONN_NO_RESOURCES | Connection refused due to lack of resources. |
BLE_L2CAP_RES_CONN_INSUFF_AUTHENTICATION | Connection refused due to insufficient authentication. |
BLE_L2CAP_RES_CONN_INSUFF_AUTHORIZATION | Connection refused due to insufficient authorization. |
BLE_L2CAP_RES_CONN_INSUFF_ENC_KEY_SIZE | Connection refused due to insufficient encryption key size. |
BLE_L2CAP_RES_CONN_INSUFF_ENC | Connection refused due to insufficient encryption. |
BLE_L2CAP_RES_CONN_INVALID_SOURCE_CID | Connection refused due to invalid Source Channel Identifier (CID). |
BLE_L2CAP_RES_CONN_SOURCE_CID_ALLOCATED | Connection refused because the Source CID is already allocated. |
BLE_L2CAP_RES_CONN_UNACCEPT_PARAMS | Connection refused due to unacceptable parameters. |
BLE_L2CAP_RES_CONN_REJECT | Generic connection rejection. |