Home
last modified time | relevance | path

Searched refs:obj_name_len (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_dir_list.c28 size_t obj_name_len; in dir_list_object_record_size() local
40 obj_name_len = strlen(obj->metadata.name); in dir_list_object_record_size()
41 __ASSERT(obj_name_len > 0 && obj_name_len <= CONFIG_BT_OTS_OBJ_MAX_NAME_LEN, in dir_list_object_record_size()
42 "Dir list object len is incorrect %zu", obj_name_len); in dir_list_object_record_size()
43 len += obj_name_len; in dir_list_object_record_size()
75 size_t obj_name_len; in dir_list_object_encode() local
90 obj_name_len = strlen(obj->metadata.name); in dir_list_object_encode()
91 __ASSERT(obj_name_len > 0 && obj_name_len <= CONFIG_BT_OTS_OBJ_MAX_NAME_LEN, in dir_list_object_encode()
92 "Dir list object len is incorrect %zu", obj_name_len); in dir_list_object_encode()
93 net_buf_simple_add_u8(net_buf, obj_name_len); in dir_list_object_encode()
[all …]