Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
bt_l2cap_le_chan Struct Reference

LE L2CAP Channel structure. More...

#include <l2cap.h>

Data Fields

struct bt_l2cap_chan chan
 
struct bt_l2cap_le_endpoint rx
 Channel Receiving Endpoint. More...
 
struct bt_l2cap_le_endpoint tx
 
struct k_fifo tx_queue
 
struct net_buftx_buf
 
struct k_work tx_work
 
struct k_work rx_work
 
struct k_fifo rx_queue
 

Detailed Description

LE L2CAP Channel structure.

Field Documentation

◆ chan

struct bt_l2cap_chan bt_l2cap_le_chan::chan

Common L2CAP channel reference object

◆ rx

struct bt_l2cap_le_endpoint bt_l2cap_le_chan::rx

Channel Receiving Endpoint.

If the application has set an alloc_buf channel callback for the channel to support receiving segmented L2CAP SDUs the application should inititalize the MTU of the Receiving Endpoint. Otherwise the MTU of the receiving endpoint will be initialized to BT_L2CAP_SDU_RX_MTU by the stack.

◆ rx_queue

struct k_fifo bt_l2cap_le_chan::rx_queue

◆ rx_work

struct k_work bt_l2cap_le_chan::rx_work

◆ tx

struct bt_l2cap_le_endpoint bt_l2cap_le_chan::tx

Channel Transmission Endpoint

◆ tx_buf

struct net_buf* bt_l2cap_le_chan::tx_buf

Channel Pending Transmission buffer

◆ tx_queue

struct k_fifo bt_l2cap_le_chan::tx_queue

Channel Transmission queue

◆ tx_work

struct k_work bt_l2cap_le_chan::tx_work

Channel Transmission work


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