Data Types for Logical Link Control and Adaptation Layer Protocol (L2CAP).
◆ L2C_INVALID_PSM
| #define L2C_INVALID_PSM |
( |
| psm | ) |
|
Value:(((psm) & 0x0101) != 0x0001)
Validity check for PSM. PSM values must be odd. Also, all PSM values must be assigned such that the least significant bit of the most sigificant octet equals zero.
◆ L2CAP_BLE_COC_SDU_OFFSET
| #define L2CAP_BLE_COC_SDU_OFFSET 4 |
to provide upper layer some minimal offset possibly required to process incoming packets
◆ L2CAP_BLE_CONN_MIN_OFFSET
| #define L2CAP_BLE_CONN_MIN_OFFSET 9 |
◆ L2CAP_BROADCAST_MIN_OFFSET
| #define L2CAP_BROADCAST_MIN_OFFSET 11 |
Minimum offset for broadcast needs another two bytes for the PSM
◆ L2CAP_CHNL_DATA_RATE_HIGH
| #define L2CAP_CHNL_DATA_RATE_HIGH 3 |
Values for Tx/Rx data rate parameter to wiced_bt_l2cap_set_chnl_data_rate
◆ L2CAP_CHNL_PRIORITY_HIGH
| #define L2CAP_CHNL_PRIORITY_HIGH 0 |
Values for priority parameter to wiced_bt_l2cap_set_tx_priority
◆ L2CAP_DATAWRITE_FAILED
| #define L2CAP_DATAWRITE_FAILED FALSE |
◆ L2CAP_DEFAULT_BLE_CB_POOL_ID
| #define L2CAP_DEFAULT_BLE_CB_POOL_ID 0xFF |
Use the default HCI ACL buffer pool
◆ L2CAP_DIRECTION_DATA_SINK
| #define L2CAP_DIRECTION_DATA_SINK 2 |
Set ACL priority direction as sink
◆ L2CAP_DIRECTION_DATA_SOURCE
| #define L2CAP_DIRECTION_DATA_SOURCE 1 |
Set ACL priority direction as source
◆ L2CAP_DIRECTION_IGNORE
| #define L2CAP_DIRECTION_IGNORE 0 |
Values for direction parameter to wiced_bt_l2cap_set_acl_priority Set ACL priority direction as ignore
◆ L2CAP_FCR_CHAN_OPT_BASIC
| #define L2CAP_FCR_CHAN_OPT_BASIC (1 << L2CAP_FCR_BASIC_MODE) |
◆ L2CAP_FLUSH_CHANNELS_ALL
| #define L2CAP_FLUSH_CHANNELS_ALL 0xffff |
Used in wiced_bt_l2cap_flush_channel num_to_flush definitions
◆ L2CAP_FLUSHABLE_MASK
| #define L2CAP_FLUSHABLE_MASK 0x0003 |
◆ L2CAP_MINIMUM_OFFSET
| #define L2CAP_MINIMUM_OFFSET 13 |
plus control(2), SDU length(2)
◆ L2CAP_PING_RESULT_NO_LINK
| #define L2CAP_PING_RESULT_NO_LINK 1 |
◆ L2CAP_PING_RESULT_NO_RESPONSE
| #define L2CAP_PING_RESULT_NO_RESPONSE 2 |
Remote L2CAP did not reply
◆ L2CAP_PING_RESULT_OK
| #define L2CAP_PING_RESULT_OK 0 |
Ping result codes Ping reply received OK
◆ L2CAP_PRIORITY_NORMAL
| #define L2CAP_PRIORITY_NORMAL 0 |
Values for priority parameter to wiced_bt_l2cap_set_acl_priority
◆ L2CAP_ROLE_ALLOW_SWITCH
| #define L2CAP_ROLE_ALLOW_SWITCH 0x80 |
set this bit to allow switch at create conn
◆ L2CAP_ROLE_DISALLOW_SWITCH
| #define L2CAP_ROLE_DISALLOW_SWITCH 0x40 |
set this bit to disallow switch at create conn
◆ L2CAP_ROLE_SLAVE
| #define L2CAP_ROLE_SLAVE HCI_ROLE_SLAVE |
Definition used for wiced_bt_l2cap_set_desire_role
◆ MINIMIUM_DYNAMIC_LE_PSM
| #define MINIMIUM_DYNAMIC_LE_PSM 0x0080 |
Validity check for LE_PSM. Fixed LE_PSMs are in the range 0x0001 - 0x007F. Dynamic LE_PSM are in the range 0x0080 - 0x00FF. The values 0x0000 and 0x0100 - 0xFFFF are reserved.