dragoon  4383
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_l2cap_conn_cfg_t Struct Reference

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
 

Detailed Description

BLE L2CAP connection configuration parameters, set with sd_ble_cfg_set.

Return values
NRF_ERROR_INVALID_PARAMOne or more of the following is true:

Definition at line 168 of file ble_l2cap.h.

Field Documentation

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.

Note
if this parameter is set to zero, all other parameters in ble_l2cap_conn_cfg_t are ignored.

Definition at line 180 of file ble_l2cap.h.

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.

Definition at line 170 of file ble_l2cap.h.

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 zero.

Definition at line 176 of file ble_l2cap.h.

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.

Definition at line 173 of file ble_l2cap.h.

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 zero.

Definition at line 178 of file ble_l2cap.h.


The documentation for this struct was generated from the following file: