| 
    Zephyr Project API
    3.2.0
    
   A Scalable Open Source RTOS 
   | 
 
Descriptor for OTS created object. More...
#include <ots.h>
Data Fields | |
| char * | name | 
| Object name.  More... | |
| struct bt_ots_obj_size | size | 
| Object size.  More... | |
| uint32_t | props | 
| Object properties.  More... | |
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