|
Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
|
BREDR L2CAP Channel structure. More...
#include <zephyr/bluetooth/l2cap.h>
Data Fields | |
| struct bt_l2cap_chan | chan |
| Common L2CAP channel reference object. | |
| struct bt_l2cap_br_endpoint | rx |
| Channel Receiving Endpoint. | |
| struct bt_l2cap_br_endpoint | tx |
| Channel Transmission Endpoint. | |
| atomic_t | flags [ATOMIC_BITMAP_SIZE(64)] |
| Channel flags, for internal use only. | |
| bt_l2cap_chan_state_t | state |
| uint16_t | psm |
| Remote PSM to be connected. | |
| uint8_t | ident |
| Helps match request context during CoC. | |
| bt_security_t | required_sec_level |
| bool | flushable |
| Send the PDUs automatically flushable, set before connecting. | |
| struct k_work_delayable | rtx_work |
| struct k_work_sync | rtx_sync |
| struct bt_l2cap_br_window | tx_win [CONFIG_BT_L2CAP_MAX_WINDOW_SIZE] |
| uint16_t | tx_seq |
| uint16_t | next_tx_seq |
| uint16_t | expected_ack_seq |
| uint16_t | req_seq |
| uint16_t | expected_tx_seq |
| uint16_t | buffer_seq |
| uint16_t | retry_count |
| uint16_t | srej_save_req_seq |
| struct k_work_delayable | ret_work |
| struct k_work_delayable | monitor_work |
BREDR L2CAP Channel structure.
| uint16_t bt_l2cap_br_chan::buffer_seq |
| struct bt_l2cap_chan bt_l2cap_br_chan::chan |
Common L2CAP channel reference object.
| uint16_t bt_l2cap_br_chan::expected_ack_seq |
| uint16_t bt_l2cap_br_chan::expected_tx_seq |
| atomic_t bt_l2cap_br_chan::flags[ATOMIC_BITMAP_SIZE(64)] |
Channel flags, for internal use only.
| bool bt_l2cap_br_chan::flushable |
Send the PDUs automatically flushable, set before connecting.
The configuration announces CONFIG_BT_L2CAP_TX_FLUSH_TO as flush timeout, and once the peer accepted it the Automatic Flush Timeout of the ACL link is set to it, so that the Controller discards the PDUs it could not deliver in time. A peer that proposes another flush timeout gets it, 0xffff for none. The Automatic Flush Timeout applies to the whole link and is set once, by the first flushable channel of the link. A later flushable channel announces that value, and is not flushed if it ends up with another one. The PDUs of the other channels stay non-flushable. Ignored if CONFIG_BT_L2CAP_TX_FLUSH_TO is 0, if the channel is not in Basic mode, or if the Controller does not support the Non-flushable Packet Boundary Flag.
| uint8_t bt_l2cap_br_chan::ident |
Helps match request context during CoC.
| struct k_work_delayable bt_l2cap_br_chan::monitor_work |
| uint16_t bt_l2cap_br_chan::next_tx_seq |
| uint16_t bt_l2cap_br_chan::psm |
Remote PSM to be connected.
| uint16_t bt_l2cap_br_chan::req_seq |
| bt_security_t bt_l2cap_br_chan::required_sec_level |
| struct k_work_delayable bt_l2cap_br_chan::ret_work |
| uint16_t bt_l2cap_br_chan::retry_count |
| struct k_work_sync bt_l2cap_br_chan::rtx_sync |
| struct k_work_delayable bt_l2cap_br_chan::rtx_work |
| struct bt_l2cap_br_endpoint bt_l2cap_br_chan::rx |
Channel Receiving Endpoint.
| uint16_t bt_l2cap_br_chan::srej_save_req_seq |
| bt_l2cap_chan_state_t bt_l2cap_br_chan::state |
| struct bt_l2cap_br_endpoint bt_l2cap_br_chan::tx |
Channel Transmission Endpoint.
| uint16_t bt_l2cap_br_chan::tx_seq |
| struct bt_l2cap_br_window bt_l2cap_br_chan::tx_win[CONFIG_BT_L2CAP_MAX_WINDOW_SIZE] |