nrf_ble_ots_c_t

nRF5 SDK v16.0.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

Parameters of the L2CAP Channel Setup Completed event.

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.

nrf_ble_gq_req_error_cb_t nrf_ble_ots_c_t::gatt_err_handler

Error handler to be called in case of an error from the SoftDevice.

bool nrf_ble_ots_c_t::initialized

Boolean telling whether the context was initialized or not.

uint16_t nrf_ble_ots_c_t::local_cid

Connection ID of the current connection.

nrf_ble_gq_t * nrf_ble_ots_c_t::p_gatt_queue

Pointer to the BLE GATT Queue instance.

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