nrf_ble_ots_c_t

nRF5 SDK v15.3.0

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

#include <nrf_ble_ots_c.h>

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.

  • components/ble/ble_services/experimental_nrf_ble_ots_c/nrf_ble_ots_c.h