nRF5 SDK v17.1.0
Public Types | Data Fields
ble_ots_l2cap_s Struct Reference

The structure holding the l2cap connection oriented channels state. More...

#include <ble_ots.h>

Public Types

enum  {
  NOT_CONNECTED,
  CONNECTED,
  SENDING,
  RECEIVING
}
 

Data Fields

ble_ots_l2cap_evt_handler_t evt_handler
 
ble_ots_oacp_tp_ots_oacp
 
enum ble_ots_l2cap_s:: { ... }  state
 
ble_data_t tx_transfer_buffer
 
ble_l2cap_ch_rx_params_t rx_params
 
ble_l2cap_ch_tx_params_t tx_params
 
uint16_t remaining_bytes
 
uint16_t transmitted_bytes
 
uint16_t received_bytes
 
uint16_t transfer_len
 
uint16_t local_cid
 
uint16_t conn_mtu
 
uint16_t conn_mps
 

Detailed Description

The structure holding the l2cap connection oriented channels state.

Field Documentation

uint16_t ble_ots_l2cap_s::conn_mps

MPS defines the maximum payload size in bytes.

uint16_t ble_ots_l2cap_s::conn_mtu

The maximum transmission unit, that is the number of packets that can be sent or received.

uint16_t ble_ots_l2cap_s::local_cid

Connection ID of the current connection.

uint16_t ble_ots_l2cap_s::remaining_bytes

The number of remaining bytes in the current transfer.

uint16_t ble_ots_l2cap_s::transfer_len

The total number of bytes in the current transfer.


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

Documentation feedback | Developer Zone | Subscribe | Updated