ble_l2cap_evt_t

S132 SoftDevice v6.1.1 API

L2CAP event structure. More...

#include <ble_l2cap.h>

Detailed Description

L2CAP event structure.

Field Documentation

ble_l2cap_evt_ch_sdu_buf_released_t ble_l2cap_evt_t::ch_sdu_buf_released

L2CAP Channel SDU Data Buffer Released Event Parameters.

ble_l2cap_evt_ch_setup_t ble_l2cap_evt_t::ch_setup

L2CAP Channel Setup Completed Event Parameters.

ble_l2cap_evt_ch_setup_refused_t ble_l2cap_evt_t::ch_setup_refused

L2CAP Channel Setup Refused Event Parameters.

ble_l2cap_evt_ch_setup_request_t ble_l2cap_evt_t::ch_setup_request

L2CAP Channel Setup Request Event Parameters.

uint16_t ble_l2cap_evt_t::conn_handle

Connection Handle on which the event occured.

ble_l2cap_evt_ch_credit_t ble_l2cap_evt_t::credit

L2CAP Channel Credit Received Event Parameters.

uint16_t ble_l2cap_evt_t::local_cid
                                       Local Channel ID of the L2CAP channel, or

BLE_L2CAP_CID_INVALID if not present.

union { ... } ble_l2cap_evt_t::params

Event Parameters.

ble_l2cap_evt_ch_rx_t ble_l2cap_evt_t::rx

L2CAP Channel SDU Received Event Parameters.

ble_l2cap_evt_ch_tx_t ble_l2cap_evt_t::tx

L2CAP Channel SDU Transmitted Event Parameters.