Home
last modified time | relevance | path

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

/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c25 #define OBJ_MAX_SIZE 1024 macro
35 static unsigned char obj_data_buf[OBJ_MAX_SIZE];
135 size_to_write = MIN(OBJ_MAX_SIZE, otc.cur_object.size.alloc); in otc_btn_work_fn()
568 (void)memset(obj_data_buf, 0, OBJ_MAX_SIZE); in on_obj_selected()
578 if ((offset + len) > OBJ_MAX_SIZE) { in on_obj_data_read()
581 (void)memcpy((obj_data_buf + offset), data_p, MIN((OBJ_MAX_SIZE - offset), len)); in on_obj_data_read()
587 (void)memset(obj_data_buf, 0, OBJ_MAX_SIZE); in on_obj_data_read()
604 if (ots_inst->cur_object.size.cur > OBJ_MAX_SIZE) { in on_obj_metadata_read()
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_ots.c20 #define OBJ_MAX_SIZE 100 macro
23 uint8_t data[OBJ_MAX_SIZE];
160 if (add_param->size > OBJ_MAX_SIZE) { in ots_obj_created()
178 created_desc->size.alloc = OBJ_MAX_SIZE; in ots_obj_created()
/Zephyr-latest/samples/bluetooth/peripheral_ots/src/
Dmain.c24 #define OBJ_MAX_SIZE 100 macro
36 uint8_t data[OBJ_MAX_SIZE];
86 if (add_param->size > OBJ_MAX_SIZE) { in ots_obj_created()
101 created_desc->size.alloc = OBJ_MAX_SIZE; in ots_obj_created()