TI BLE5-Stack API Documentation
2.02.08.00
|
Macros | |
#define | L2CAP_EXTENDED_FEATURES_SIZE 4 |
Length of Extended Features bit mask. | |
#define | L2CAP_FIXED_CHANNELS 0x00000080 |
Fixed channels are supported. | |
#define | L2CAP_FIXED_CHANNELS_ATT 0x10 |
Fixed Channel ATT is supported. | |
#define | L2CAP_FIXED_CHANNELS_SIG 0x20 |
Fixed Channel L2CAP Signaling is supported. | |
#define | L2CAP_FIXED_CHANNELS_SIZE 8 |
Length of Fixed Channels bit mask. | |
#define | L2CAP_FIXED_CHANNELS_SMP 0x40 |
Fixed Channel SMP is supported. | |
#define | L2CAP_HDR_SIZE 4 |
Basic L2CAP header: Length (2 bytes) + Channel ID (2 bytes) | |
#define | L2CAP_INFO_NOT_SUPPORTED 0x0001 |
L2CAP Not supported. | |
#define | L2CAP_INFO_SUCCESS 0x0000 |
L2CAP Success. | |
#define | L2CAP_LEN_FIELD_SIZE 2 |
SDU Length field size. | |
#define | L2CAP_MTU_SIZE 23 |
Minimum supported information payload for the Basic information frame (B-frame) | |
#define | L2CAP_NUM_CO_CHANNELS_DEFAULT 3 |
Default maximum number of L2CAP Connection Oriented Channels. | |
#define | L2CAP_NUM_PSM_DEFAULT 3 |
Default maximum number of L2CAP Protocol/Service Multiplexers (PSM) | |
#define | L2CAP_PDU_SIZE ( L2CAP_HDR_SIZE + L2CAP_MTU_SIZE ) |
L2CAP PDU Size. More... | |
#define | L2CAP_RTX_TIMEOUT 30 |
L2CAP Response Timeout Expired (RTX) More... | |
#define | L2CAP_SDU_SIZE 65527 |
Maximum SDU size (PSM's MTU) that can be received on a Connection Oriented Channel is 65527. | |
#define | L2CAP_SIG_MTU_SIZE 23 |
Minimum supported information payload for the Control frame (C-frame) | |
#define L2CAP_PDU_SIZE ( L2CAP_HDR_SIZE + L2CAP_MTU_SIZE ) |
L2CAP PDU Size.
Minimum size of PDU received from lower layer protocol (incoming packet), or delivered to lower layer protocol (outgoing packet).
#define L2CAP_RTX_TIMEOUT 30 |
L2CAP Response Timeout Expired (RTX)
The RTX value is for Signaling commands (in seconds). The RTX timer is used for response timeout or to terminate a dynamic channel when the remote device is unresponsive to signaling requests. Its value may range from 1 to 60 seconds.