sl_bt_evt_l2cap_le_channel_open_requestL2CAP Connection Oriented Channels

Indicates that an LE credit-based connection request on a Bluetooth connection is received.

Data Structures

struct  sl_bt_evt_l2cap_le_channel_open_request_s
 Data structure of the le_channel_open_request event.
 

Macros

#define sl_bt_evt_l2cap_le_channel_open_request_id   0x014300a0
 Identifier of the le_channel_open_request event.
 

Detailed Description

Indicates that an LE credit-based connection request on a Bluetooth connection is received.

The application must respond with the sl_bt_l2cap_send_le_channel_open_response command.


Data Structure Documentation

◆ sl_bt_evt_l2cap_le_channel_open_request_s

struct sl_bt_evt_l2cap_le_channel_open_request_s

Data structure of the le_channel_open_request event.

Data Fields
uint8_t connection

The connection handle

uint16_t spsm

The protocol/services implemented by the peer channel endpoint

uint16_t cid

The channel identifier

uint16_t max_sdu

The Maximum Service Data Unit size of the peer channel endpoint

uint16_t max_pdu

The maximum PDU payload size of the peer channel endpoint

uint16_t credit

The initial credit value of the peer channel endpoint, i.e., number of PDUs that the local channel endpoint can send