/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/content_json/src/ |
D | main.c | 105 #define TEST_PAYLOAD(res_id, type, value) \ argument 106 "{\"bn\":\"/65535/0/\",\"e\":[{\"n\":\"" STRINGIFY(res_id) \ 170 test_msg.path.res_id = TEST_RES_S8; in ZTEST() 194 test_msg.path.res_id = TEST_RES_S8; in ZTEST() 212 test_msg.path.res_id = TEST_RES_S16; in ZTEST() 236 test_msg.path.res_id = TEST_RES_S16; in ZTEST() 254 test_msg.path.res_id = TEST_RES_S32; in ZTEST() 278 test_msg.path.res_id = TEST_RES_S32; in ZTEST() 296 test_msg.path.res_id = TEST_RES_S64; in ZTEST() 320 test_msg.path.res_id = TEST_RES_S64; in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/content_senml_cbor/src/ |
D | main.c | 231 test_msg.path.res_id = TEST_RES_S8; in ZTEST() 256 test_msg.path.res_id = TEST_RES_S8; in ZTEST() 319 test_msg.path.res_id = TEST_RES_S16; in ZTEST() 344 test_msg.path.res_id = TEST_RES_S16; in ZTEST() 407 test_msg.path.res_id = TEST_RES_S32; in ZTEST() 432 test_msg.path.res_id = TEST_RES_S32; in ZTEST() 495 test_msg.path.res_id = TEST_RES_S64; in ZTEST() 520 test_msg.path.res_id = TEST_RES_S64; in ZTEST() 547 test_msg.path.res_id = TEST_RES_STRING; in ZTEST() 564 test_msg.path.res_id = TEST_RES_STRING; in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/engine/src/ |
D | lwm2m_observation.c | 34 if (level >= LWM2M_PATH_LEVEL_RESOURCE && path->res_id != compare_path->res_id) { in lwm2m_path_object_equal_upto() 78 is_after = entry->path.res_id >= prev->path.res_id; in assert_path_list_order() 83 entry->path.res_id == prev->path.res_id) { in assert_path_list_order() 123 entry->path.res_id >= res_id_max, in assert_path_list_order() 126 entry->path.res_id, res_id_max); in assert_path_list_order() 161 entry->path.res_id >= res_id_max, in assert_path_list_order() 164 entry->path.res_id, res_id_max); in assert_path_list_order() 199 res_id_max = entry->path.res_id; in assert_path_list_order() 207 (prev == NULL || entry->path.res_id == prev->path.res_id)) { in assert_path_list_order()
|
/Zephyr-Core-3.5.0/tests/net/lib/lwm2m/content_oma_tlv/src/ |
D | main.c | 89 uint16_t res_id[] = { in ZTEST() local 124 test_path.res_id = res_id[i]; in ZTEST() 153 uint16_t res_id[] = { in ZTEST() local 190 test_path.res_id = res_id[i]; in ZTEST() 219 uint16_t res_id[] = { in ZTEST() local 260 test_path.res_id = res_id[i]; in ZTEST() 289 uint16_t res_id[] = { in ZTEST() local 340 test_path.res_id = res_id[i]; in ZTEST() 379 test_path.res_id = TEST_RESOURCE_ID_SHORT; in ZTEST() 407 uint16_t res_id[] = { in ZTEST() local [all …]
|
/Zephyr-Core-3.5.0/samples/net/lwm2m_client/src/ |
D | timer.c | 18 static int timer_on_off_validate_cb(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in timer_on_off_validate_cb() argument 35 static int timer_digital_state_cb(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in timer_digital_state_cb() argument
|
D | firmware_update.c | 34 static void *firmware_get_buf(uint16_t obj_inst_id, uint16_t res_id, in firmware_get_buf() argument 42 uint16_t res_id, uint16_t res_inst_id, in firmware_block_received_cb() argument
|
D | led.c | 24 static int led_on_off_cb(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, uint8_t *data, in led_on_off_cb() argument
|
/Zephyr-Core-3.5.0/include/zephyr/net/ |
D | lwm2m_path.h | 87 {.obj_id = oi, .obj_inst_id = oii, .res_id = ri, .level = 3} 89 {.obj_id = oi, .obj_inst_id = oii, .res_id = ri, .res_inst_id = rii, .level = 4}
|
/Zephyr-Core-3.5.0/subsys/net/lib/lwm2m/ |
D | lwm2m_observation.c | 160 if (p->level >= LWM2M_PATH_LEVEL_RESOURCE && p->res_id != o_p->res_id) { in lwm2m_observer_path_compare() 188 int lwm2m_notify_observer(uint16_t obj_id, uint16_t obj_inst_id, uint16_t res_id) in lwm2m_notify_observer() argument 195 path.res_id = res_id; in lwm2m_notify_observer() 244 if (obj_inst->resources[i].res_id == path->res_id) { in engine_observe_get_attributes() 251 path->res_id); in engine_observe_get_attributes() 256 obj_field = lwm2m_get_engine_obj_field(obj, obj_inst->resources[i].res_id); in engine_observe_get_attributes() 259 path->obj_inst_id, path->res_id); in engine_observe_get_attributes() 374 path->res_id); in lwm2m_notify_observer_path() 448 tmp->path.res_id, tmp->path.res_inst_id, tmp->path.level); in engine_observe_node_init() 606 msg->path.obj_inst_id, msg->path.res_id, msg->path.level, in engine_add_observer() [all …]
|
D | ipso_onoff_switch.c | 91 uint16_t res_id, uint16_t res_inst_id, in state_post_write_cb() argument 123 uint16_t res_id, uint16_t res_inst_id, in on_time_read_cb() argument 142 uint16_t res_id, uint16_t res_inst_id, in off_time_read_cb() argument 161 uint16_t res_id, uint16_t res_inst_id, in time_post_write_cb() argument
|
D | ipso_timer.c | 156 uint16_t res_id, uint16_t res_inst_id, in remaining_time_read_cb() argument 180 uint16_t res_id, uint16_t res_inst_id, in cumulative_time_read_cb() argument 203 uint16_t res_id, uint16_t res_inst_id, in cumulative_time_post_write_cb() argument 219 uint16_t res_id, uint16_t res_inst_id, in enabled_post_write_cb() argument 239 uint16_t res_id, uint16_t res_inst_id, in trigger_counter_post_write_cb() argument
|
D | lwm2m_object.h | 168 { .res_id = _id, \ 173 #define OBJ_FIELD_DATA(res_id, perm, type) \ argument 174 OBJ_FIELD(res_id, perm, type) 176 #define OBJ_FIELD_EXECUTE(res_id) \ argument 177 OBJ_FIELD(res_id, X, NONE) 179 #define OBJ_FIELD_EXECUTE_OPT(res_id) \ argument 180 OBJ_FIELD(res_id, X_OPT, NONE) 183 uint16_t res_id; member 226 _r_ptr[_r_idx].res_id = _id; \ 238 _r_ptr[_r_idx].res_id = _id; \ [all …]
|
D | lwm2m_registry.c | 108 struct lwm2m_engine_obj_field *lwm2m_get_engine_obj_field(struct lwm2m_engine_obj *obj, int res_id) in lwm2m_get_engine_obj_field() argument 114 if (obj->fields[i].res_id == res_id) { in lwm2m_get_engine_obj_field() 389 of = lwm2m_get_engine_obj_field(oi->obj, path->res_id); in path_to_objs() 391 LOG_ERR("obj field %d not found", path->res_id); in path_to_objs() 396 if (oi->resources[i].res_id == path->res_id) { in path_to_objs() 404 LOG_DBG("resource %d not found", path->res_id); in path_to_objs() 406 LOG_ERR("resource %d not found", path->res_id); in path_to_objs() 580 path->res_id, value, len); in lwm2m_engine_set() 598 "[%u/%u/%u/%u:lvl%u]", path->obj_id, path->obj_inst_id, path->res_id, in lwm2m_engine_set() 610 data_ptr = res->pre_write_cb(obj_inst->obj_inst_id, res->res_id, in lwm2m_engine_set() [all …]
|
D | lwm2m_obj_swmgmt.c | 190 static int callback_write_not_defined(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in callback_write_not_defined() argument 198 static void *callback_read_not_defined(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in callback_read_not_defined() argument 362 void *state_read_pkg_version(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in state_read_pkg_version() argument 374 result = instance->read_package_cb(obj_inst_id, res_id, res_inst_id, data_len); in state_read_pkg_version() 561 static int package_write_cb(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in package_write_cb() argument 575 ret = instance->write_package_cb(obj_inst_id, res_id, res_inst_id, data, data_len, in package_write_cb() 646 static int package_uri_write_cb(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in package_uri_write_cb() argument
|
D | ipso_push_button.c | 86 uint16_t res_id, uint16_t res_inst_id, in state_post_write_cb() argument 109 path.obj_inst_id, path.res_id); in state_post_write_cb()
|
D | lwm2m_obj_device.c | 151 static void *current_time_read_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_read_cb() argument 160 static void *current_time_pre_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_pre_write_cb() argument 167 static int current_time_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_post_write_cb() argument
|
D | ipso_filling_sensor.c | 102 static void update(uint16_t obj_inst_id, uint16_t res_id, int index) in update() argument 122 static int update_cb(uint16_t obj_inst_id, uint16_t res_id, in update_cb() argument 130 update(obj_inst_id, res_id, i); in update_cb()
|
D | lwm2m_rw_oma_tlv.c | 110 path->res_inst_id : path->res_id; in tlv_calc_id() 400 OMA_TLV_TYPE_MULTI_RESOURCE, path->res_id); in put_end_ri() 888 msg->in.block_ctx->path.res_id = tlv->id; in write_tlv_resource() 891 msg->path.res_id = tlv->id; in write_tlv_resource() 919 msg->in.block_ctx->path.res_id = multi_resource_tlv->id; in lwm2m_multi_resource_tlv_parse() 935 msg->path.res_id = multi_resource_tlv->id; in lwm2m_multi_resource_tlv_parse() 967 msg->path.res_id = msg->in.block_ctx->path.res_id; in do_write_op_tlv()
|
D | lwm2m_obj_firmware.c | 141 path.res_id = FIRMWARE_STATE_ID; in lwm2m_firmware_set_update_state_inst() 237 static int package_write_cb(uint16_t obj_inst_id, uint16_t res_id, in package_write_cb() argument 272 ret = write_callback(obj_inst_id, res_id, res_inst_id, data, data_len, last_block, in package_write_cb() 300 static int package_uri_write_cb(uint16_t obj_inst_id, uint16_t res_id, in package_uri_write_cb() argument
|
D | ipso_light_control.c | 70 static void *on_time_read_cb(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in on_time_read_cb() argument 93 uint16_t res_id, uint16_t res_inst_id, in on_time_post_write_cb() argument
|
D | lwm2m_observation.h | 10 int lwm2m_notify_observer(uint16_t obj_id, uint16_t obj_inst_id, uint16_t res_id);
|
D | lwm2m_registry.h | 203 struct lwm2m_engine_obj_field *lwm2m_get_engine_obj_field(struct lwm2m_engine_obj *obj, int res_id);
|
/Zephyr-Core-3.5.0/drivers/entropy/ |
D | entropy_cc13xx_cc26xx.c | 245 int16_t res_id; in post_notify_fxn() local 249 res_id = PowerCC26XX_PERIPH_TRNG; in post_notify_fxn() 251 if (Power_getDependencyCount(res_id) != 0) { in post_notify_fxn()
|
/Zephyr-Core-3.5.0/drivers/serial/ |
D | uart_cc13xx_cc26xx.c | 407 int16_t res_id; in postNotifyFxn() local 412 res_id = PowerCC26XX_PERIPH_UART0; in postNotifyFxn() 414 res_id = PowerCC26X2_PERIPH_UART1; in postNotifyFxn() 417 if (Power_getDependencyCount(res_id) != 0) { in postNotifyFxn()
|
/Zephyr-Core-3.5.0/drivers/i2c/ |
D | i2c_cc13xx_cc26xx.c | 301 int16_t res_id; in postNotifyFxn() local 305 res_id = PowerCC26XX_PERIPH_I2C0; in postNotifyFxn() 307 if (Power_getDependencyCount(res_id) != 0) { in postNotifyFxn()
|