ble_ots_object_t

nRF5 SDK v14.2.0

The structure representing one Object Transfer Service object. More...

#include <ble_ots.h>

Data Fields

uint8_t name [128]
uint8_t data [1028]
ble_ots_obj_type_t type
ble_ots_obj_properties_t properties
uint32_t current_size
uint32_t alloc_len
bool is_valid
bool is_locked

Detailed Description

The structure representing one Object Transfer Service object.

Field Documentation

bool ble_ots_object_t::is_locked

When an object is written or read, the object will be locked.

bool ble_ots_object_t::is_valid

States if the object will be shown in a list.

uint8_t ble_ots_object_t::name[128]

The name of the object. If the name is "", the object will be invalidated on disconnect.

  • components/ble/ble_services/experimental_ble_ots/ble_ots.h