Identifiers from 0x0001 to 0x003F are reserved for specific L2CAP functions. Identifiers 0x0001-0x0003 are reserved by BR/EDR.
§ L2CAP_CID_ATT
| #define L2CAP_CID_ATT 0x0004 |
§ L2CAP_CID_GENERIC
| #define L2CAP_CID_GENERIC 0x0007 |
Generic (proprietary channel)
§ L2CAP_CID_NULL
| #define L2CAP_CID_NULL 0x0000 |
§ L2CAP_CID_SIG
| #define L2CAP_CID_SIG 0x0005 |
§ L2CAP_CID_SMP
| #define L2CAP_CID_SMP 0x0006 |
Security Management Protocol.
§ L2CAP_DYNAMIC_CID_MAX
| #define L2CAP_DYNAMIC_CID_MAX 0x007F |
Dynamic Channel Identifier Max.
§ L2CAP_DYNAMIC_CID_MIN
| #define L2CAP_DYNAMIC_CID_MIN 0x0040 |
Dynamic Channel Identifier Min.
§ L2CAP_NUM_FIXED_CHANNELS
| #define L2CAP_NUM_FIXED_CHANNELS 4 |
Number of Fixed channels: one for each of ATT, Signaling, SMP and Generic channels.
§ L2CAP_NUM_SIG_COMMANDS
| #define L2CAP_NUM_SIG_COMMANDS 1 |
Number of Signaling Commands: one for Connection Parameter Update Request.