Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_ots_obj_created_desc Struct Reference

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.
 

Detailed Description

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.

Field Documentation

◆ name

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

◆ props

uint32_t bt_ots_obj_created_desc::props

Object properties.

◆ size

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


The documentation for this struct was generated from the following file: