nrf_ble_ots_c_t

nRF5 SDK v14.2.0

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 current_credits
uint32_t remaining_bytes
uint32_t transmitted_bytes
uint32_t received_bytes
ble_data_t * current_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_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.

nrf_ble_ots_c_service_t nrf_ble_ots_c_t::service

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

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