Public Attributes | List of all members
ble_l2cap_evt_sdu_recv_t Struct Reference
BLE » Logical Link Control and Adaptation Protocol (L2CAP) » Structures

L2cap SDU Receive event for BLE_L2CAP_EVT_SDU_RECV. More...

`#include <ble_l2cap.h>`

## Public Attributes
uint16_t | cid
uint16_t | credits
uint16_t | length
uint8_t * | data

## Detailed Description

L2cap SDU Receive event for BLE_L2CAP_EVT_SDU_RECV.

Definition at line 169 of file ble_l2cap.h.

## Member Data Documentation

## ◆ cid

uint16_t ble_l2cap_evt_sdu_recv_t::cid

The local source channel.

Definition at line 171 of file ble_l2cap.h.

## ◆ credits

uint16_t ble_l2cap_evt_sdu_recv_t::credits

The credits is 0 if this packet is being sent, otherwise it represents the number of credits consumed by the sdu.

Definition at line 172 of file ble_l2cap.h.

## ◆ data

uint8_t* ble_l2cap_evt_sdu_recv_t::data

The data of this sdu packet.

Definition at line 174 of file ble_l2cap.h.

## ◆ length

uint16_t ble_l2cap_evt_sdu_recv_t::length

The lenght of data.

Definition at line 173 of file ble_l2cap.h.

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

- ble_l2cap.h