nRF5 SDK v15.2.0
Data Fields
nrf_ble_ots_c_t Struct Reference

Structure for holding the information related to the Object Transfer Service. More...

#include <nrf_ble_ots_c.h>

Data Fields

bool initialized
 
uint16_t conn_handle
 
nrf_ble_ots_c_service_t service
 
nrf_ble_ots_c_evt_handler_t evt_handler
 
ble_srv_error_handler_t err_handler
 
uint16_t local_cid
 
ble_l2cap_evt_ch_setup_t ch_setup
 
uint32_t transmitted_bytes
 
uint32_t received_bytes
 
ble_data_tcurrent_obj
 

Detailed Description

Structure for holding the information related to the Object Transfer Service.

Warning
This structure must be zero-initialized.

Field Documentation

ble_l2cap_evt_ch_setup_t nrf_ble_ots_c_t::ch_setup

L2CAP Channel Setup Completed Event Parameters.

uint16_t nrf_ble_ots_c_t::conn_handle

Active connection handle

ble_data_t* nrf_ble_ots_c_t::current_obj

Pointer to the current object to be transferred.

ble_srv_error_handler_t nrf_ble_ots_c_t::err_handler

Pointer to error handler function.

nrf_ble_ots_c_evt_handler_t nrf_ble_ots_c_t::evt_handler

Pointer to event handler function.

bool nrf_ble_ots_c_t::initialized

Boolean telling whether the context has been initialized or not.

uint16_t nrf_ble_ots_c_t::local_cid

Connection ID of the current connection.

uint32_t nrf_ble_ots_c_t::received_bytes

Variable used when transferring an object from the peer.

nrf_ble_ots_c_service_t nrf_ble_ots_c_t::service

Structure to store the different handles and UUIDs related to the service.

uint32_t nrf_ble_ots_c_t::transmitted_bytes

Variable used when transferring an object to the peer.


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

Documentation feedback | Developer Zone | Subscribe | Updated