Structure containing the event from the Object Transfer client module to the application. More...
#include <nrf_ble_ots_c.h>
Data Fields |
|
| nrf_ble_ots_c_evt_type_t | evt_type |
| uint16_t | conn_handle |
| union { | |
| nrf_ble_ots_c_feature_t feature | |
| nrf_ble_ots_c_service_t handles | |
| nrf_ble_ots_c_oacp_response_t response | |
| ble_data_t object | |
| nrf_ble_ots_c_obj_size size | |
| } | params |
Detailed Description
Structure containing the event from the Object Transfer client module to the application.
Field Documentation
| uint16_t nrf_ble_ots_c_evt_t::conn_handle |
Handle of the connection for which this event has occurred.
| nrf_ble_ots_c_evt_type_t nrf_ble_ots_c_evt_t::evt_type |
Type of event. See nrf_ble_ots_c_evt_type_t .
| nrf_ble_ots_c_feature_t nrf_ble_ots_c_evt_t::feature |
Will be provided if the event type is NRF_BLE_OTS_C_EVT_FEATURE_READ_RESP .
| nrf_ble_ots_c_service_t nrf_ble_ots_c_evt_t::handles |
Handles that the Object Transfer service occupies in the peer device. Will be filled if the event type is NRF_BLE_OTS_C_EVT_DISCOVERY_COMPLETE .
| ble_data_t nrf_ble_ots_c_evt_t::object |
Will be provided if the event type is NRF_BLE_OTS_C_EVT_OBJ_READ .
| nrf_ble_ots_c_oacp_response_t nrf_ble_ots_c_evt_t::response |
Will be provided if the event type is NRF_BLE_OTS_C_EVT_OACP_RESP .
| nrf_ble_ots_c_obj_size nrf_ble_ots_c_evt_t::size |
Will be provided if the event type is NRF_BLE_OTS_C_EVT_SIZE_READ_RESP .
- components/ble/ble_services/experimental_nrf_ble_ots_c/nrf_ble_ots_c.h