L2CAP credit-based connection response result codes
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
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 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. |