![]() |
![]() |
|
TI BLE5-Stack API Documentation
9.14.00
|
Macros | |
| #define | L2CAP_EXTENDED_FEATURES_SIZE 4 |
| Length of Extended Features bit mask. More... | |
| #define | L2CAP_FIXED_CHANNELS 0x00000080 |
| Fixed channels are supported. More... | |
| #define | L2CAP_FIXED_CHANNELS_ATT 0x10 |
| Fixed Channel ATT is supported. More... | |
| #define | L2CAP_FIXED_CHANNELS_SIG 0x20 |
| Fixed Channel L2CAP Signaling is supported. More... | |
| #define | L2CAP_FIXED_CHANNELS_SIZE 8 |
| Length of Fixed Channels bit mask. More... | |
| #define | L2CAP_FIXED_CHANNELS_SMP 0x40 |
| Fixed Channel SMP is supported. More... | |
| #define | L2CAP_HDR_SIZE 4 |
| Basic L2CAP header: Length (2 bytes) + Channel ID (2 bytes) More... | |
| #define | L2CAP_INFO_NOT_SUPPORTED 0x0001 |
| L2CAP Not supported. More... | |
| #define | L2CAP_INFO_SUCCESS 0x0000 |
| L2CAP Success. More... | |
| #define | L2CAP_LEN_FIELD_SIZE 2 |
| SDU Length field size. More... | |
| #define | L2CAP_MAX_NOF_CREDITS 0xFFFF |
| Maximum number of credits to be given to a Connection Oriented Channel is 0xFFFF. More... | |
| #define | L2CAP_MTU_SIZE 23 |
| Minimum supported information payload for the Basic information frame (B-frame) More... | |
| #define | L2CAP_NUM_CO_CHANNELS_DEFAULT 3 |
| Default maximum number of L2CAP Connection Oriented Channels. More... | |
| #define | L2CAP_NUM_PSM_DEFAULT 3 |
| Default maximum number of L2CAP Protocol/Service Multiplexers (PSM) 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. More... | |
| #define | L2CAP_SIG_MTU_SIZE 23U |
| Minimum supported information payload for the Control frame (C-frame) More... | |
| #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_MAX_NOF_CREDITS 0xFFFF |
Maximum number of credits to be given to a Connection Oriented Channel is 0xFFFF.
| #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_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.
| #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 23U |
Minimum supported information payload for the Control frame (C-frame)