Zephyr API 3.6.99
|
Descriptor for OTS created object. More...
#include <ots.h>
Data Fields | |
char * | name |
Object name. | |
struct bt_ots_obj_size | size |
Object size. | |
uint32_t | props |
Object properties. | |
Descriptor for OTS created object.
Descriptor for OTS object created by the application. This descriptor is returned by bt_ots_cb::obj_created callback which contains further documentation on distinguishing between server and client object creation.
char* bt_ots_obj_created_desc::name |
Object name.
The object name as a NULL terminated string.
When the server creates a new object the name shall be > 0 and <= BT_OTS_OBJ_MAX_NAME_LEN When the client creates a new object the name shall be an empty string
uint32_t bt_ots_obj_created_desc::props |
Object properties.
struct bt_ots_obj_size bt_ots_obj_created_desc::size |
Object size.
bt_ots_obj_size::alloc shall be >= bt_ots_obj_add_param::size
When the server creates a new object bt_ots_obj_size::cur shall be <= bt_ots_obj_add_param::size When the client creates a new object bt_ots_obj_size::cur shall be 0