BLE L2CAP connection configuration parameters, set with sd_ble_cfg_set. More...
#include <ble_l2cap.h>
Data Fields | |
uint16_t | rx_mps |
uint16_t | tx_mps |
uint8_t | rx_queue_size |
uint8_t | tx_queue_size |
uint8_t | ch_count |
BLE L2CAP connection configuration parameters, set with sd_ble_cfg_set.
NRF_ERROR_INVALID_PARAM | One or more of the following is true:
|
NRF_ERROR_NO_MEM | rx_mps or tx_mps is set too high. |
uint8_t ble_l2cap_conn_cfg_t::ch_count |
Number of L2CAP channels the application can create per connection
with this configuration. The default value is zero, the maximum value is BLE_L2CAP_CH_COUNT_MAX.
uint16_t ble_l2cap_conn_cfg_t::rx_mps |
The maximum L2CAP PDU payload size, in bytes, that L2CAP shall
be able to receive on L2CAP channels on connections with this configuration. The minimum value is BLE_L2CAP_MPS_MIN.
uint8_t ble_l2cap_conn_cfg_t::rx_queue_size |
Number of SDU data buffers that can be queued for reception per
L2CAP channel. The minimum value is one.
uint16_t ble_l2cap_conn_cfg_t::tx_mps |
The maximum L2CAP PDU payload size, in bytes, that L2CAP shall
be able to transmit on L2CAP channels on connections with this configuration. The minimum value is BLE_L2CAP_MPS_MIN.
uint8_t ble_l2cap_conn_cfg_t::tx_queue_size |
Number of SDU data buffers that can be queued for transmission
per L2CAP channel. The minimum value is one.