Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
BREDR L2CAP Endpoint structure. More...
#include <l2cap.h>
Data Fields | |
uint16_t | cid |
Endpoint Channel Identifier (CID) | |
uint16_t | mtu |
Endpoint Maximum Transmission Unit. | |
uint8_t | mode |
Endpoint Link Mode. | |
bool | optional |
Whether Endpoint Link Mode is optional If the optional is true, the mode could be changed according to the extended feature and peer configuration from L2CAP configuration response and request. | |
uint8_t | max_transmit |
Endpoint Maximum Transmit The field is used to set the max retransmission count. | |
uint16_t | ret_timeout |
Endpoint Retransmission Timeout The field is configured by \c BT_L2CAP_BR_RET_TIMEOUT The field should be no more than the field monitor_timeout . | |
uint16_t | monitor_timeout |
Endpoint Monitor Timeout The field is configured by \c BT_L2CAP_BR_MONITOR_TIMEOUT | |
uint16_t | mps |
Endpoint Maximum PDU payload Size. | |
uint16_t | max_window |
Endpoint Maximum Window Size MAX supported window size is configured by \c BT_L2CAP_MAX_WINDOW_SIZE . | |
uint8_t | fcs |
Endpoint FCS Type The value is defined as BT_L2CAP_BR_FCS_* The default setting should be BT_L2CAP_BR_FCS_16BIT. | |
bool | extended_control |
Endpoint Extended Control. | |
BREDR L2CAP Endpoint structure.
uint16_t bt_l2cap_br_endpoint::cid |
Endpoint Channel Identifier (CID)
bool bt_l2cap_br_endpoint::extended_control |
Endpoint Extended Control.
If this field is true, and both side support Extended Window size feature
, the local will include extended window size
option in configuration request packet.
uint8_t bt_l2cap_br_endpoint::fcs |
Endpoint FCS Type The value is defined as BT_L2CAP_BR_FCS_* The default setting should be BT_L2CAP_BR_FCS_16BIT.
For FC and RET, the FCS type should be BT_L2CAP_BR_FCS_16BIT. For ERET and STREAM, the FCS type is optional. If the field is not default value, the local will include FCS option in configuration request packet if both side support FCS Option
.
uint8_t bt_l2cap_br_endpoint::max_transmit |
Endpoint Maximum Transmit The field is used to set the max retransmission count.
For RET
, FC
, and ERET
, it should be not less 1. For STREAM
, it should be 0.
uint16_t bt_l2cap_br_endpoint::max_window |
Endpoint Maximum Window Size MAX supported window size is configured by \c BT_L2CAP_MAX_WINDOW_SIZE
.
The field should be no more then CONFIG_BT_L2CAP_MAX_WINDOW_SIZE
.
uint8_t bt_l2cap_br_endpoint::mode |
Endpoint Link Mode.
The value is defined as BT_L2CAP_BR_LINK_MODE_*
uint16_t bt_l2cap_br_endpoint::monitor_timeout |
Endpoint Monitor Timeout The field is configured by \c BT_L2CAP_BR_MONITOR_TIMEOUT
uint16_t bt_l2cap_br_endpoint::mps |
Endpoint Maximum PDU payload Size.
uint16_t bt_l2cap_br_endpoint::mtu |
Endpoint Maximum Transmission Unit.
bool bt_l2cap_br_endpoint::optional |
Whether Endpoint Link Mode is optional If the optional
is true, the mode
could be changed according to the extended feature and peer configuration from L2CAP configuration response and request.
Otherwise, if the channel configuration process does not meet the set mode, the L2CAP channel will be disconnected.
uint16_t bt_l2cap_br_endpoint::ret_timeout |
Endpoint Retransmission Timeout The field is configured by \c BT_L2CAP_BR_RET_TIMEOUT
The field should be no more than the field monitor_timeout
.