TI BLE5-Stack API Documentation  9.14.00
Macros
L2CAP Channel Identifiers

Macros

#define L2CAP_CID_ATT   0x0004
 Attribute Protocol. More...
 
#define L2CAP_CID_GENERIC   0x0007
 Generic (proprietary channel) More...
 
#define L2CAP_CID_NULL   0x0000
 Illegal Identifier. More...
 
#define L2CAP_CID_SIG   0x0005
 L2CAP Signaling. More...
 
#define L2CAP_CID_SMP   0x0006
 Security Management Protocol. More...
 
#define L2CAP_DYNAMIC_CID_MAX   0x007F
 Dynamic Channel Identifier Max. More...
 
#define L2CAP_DYNAMIC_CID_MIN   0x0040
 Dynamic Channel Identifier Min. More...
 
#define L2CAP_NUM_FIXED_CHANNELS   4
 Number of Fixed channels: one for each of ATT, Signaling, SMP and Generic channels. More...
 
#define L2CAP_NUM_SIG_COMMANDS   1
 Number of Signaling Commands: one for Connection Parameter Update Request. More...
 

Detailed Description

Identifiers from 0x0001 to 0x003F are reserved for specific L2CAP functions. Identifiers 0x0001-0x0003 are reserved by BR/EDR.

Macro Definition Documentation

§ L2CAP_CID_ATT

#define L2CAP_CID_ATT   0x0004

Attribute Protocol.

§ L2CAP_CID_GENERIC

#define L2CAP_CID_GENERIC   0x0007

Generic (proprietary channel)

§ L2CAP_CID_NULL

#define L2CAP_CID_NULL   0x0000

Illegal Identifier.

§ L2CAP_CID_SIG

#define L2CAP_CID_SIG   0x0005

L2CAP Signaling.

§ 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.

© Copyright 1995-2025, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale