S140 SoftDevice v7.0.1
Data Fields
ble_l2cap_evt_t Struct Reference

L2CAP event structure. More...

#include <ble_l2cap.h>

Data Fields

uint16_t conn_handle
 
uint16_t local_cid
 
union {
   ble_l2cap_evt_ch_setup_request_t   ch_setup_request
 
   ble_l2cap_evt_ch_setup_refused_t   ch_setup_refused
 
   ble_l2cap_evt_ch_setup_t   ch_setup
 
   ble_l2cap_evt_ch_sdu_buf_released_t   ch_sdu_buf_released
 
   ble_l2cap_evt_ch_credit_t   credit
 
   ble_l2cap_evt_ch_rx_t   rx
 
   ble_l2cap_evt_ch_tx_t   tx
 
params
 

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.


Documentation feedback | Developer Zone | Subscribe | Updated