Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/
Dlwm2m_engine.c138 static struct lwm2m_engine_obj *get_engine_obj(int obj_id);
139 static struct lwm2m_engine_obj_inst *get_engine_obj_inst(int obj_id,
346 int lwm2m_notify_observer(uint16_t obj_id, uint16_t obj_inst_id, uint16_t res_id) in lwm2m_notify_observer() argument
355 if (obs->path.obj_id == obj_id && in lwm2m_notify_observer()
363 obj_id, obj_inst_id, res_id); in lwm2m_notify_observer()
375 return lwm2m_notify_observer(path->obj_id, path->obj_inst_id, in lwm2m_notify_observer_path()
418 msg->path.obj_id, msg->path.obj_inst_id, in engine_add_observer()
428 obj = get_engine_obj(msg->path.obj_id); in engine_add_observer()
430 LOG_ERR("unable to find obj: %u", msg->path.obj_id); in engine_add_observer()
441 obj_inst = get_engine_obj_inst(msg->path.obj_id, in engine_add_observer()
[all …]
Dlwm2m_rw_link_format.c214 switch (path->obj_id) { in put_corelink_ssid()
265 path->obj_id); in put_corelink_ssid()
291 ret = snprintk(obj_buf, sizeof(obj_buf), "</%u>", path->obj_id); in put_obj_corelink()
342 path->obj_id, path->obj_inst_id); in put_obj_inst_corelink()
362 if (path->obj_id == LWM2M_OBJECT_SECURITY_ID || in put_obj_inst_corelink()
363 path->obj_id == LWM2M_OBJECT_SERVER_ID) { in put_obj_inst_corelink()
412 ret = snprintk(obj_buf, sizeof(obj_buf), "</%u/%u/%u>", path->obj_id, in put_res_corelink()
Dlwm2m_engine.h59 int lwm2m_notify_observer(uint16_t obj_id, uint16_t obj_inst_id, uint16_t res_id);
66 int lwm2m_create_obj_inst(uint16_t obj_id, uint16_t obj_inst_id,
68 int lwm2m_delete_obj_inst(uint16_t obj_id, uint16_t obj_inst_id);
Dlwm2m_rw_json.c263 path->obj_id, path->obj_inst_id); in put_begin()
267 path->obj_id); in put_begin()
525 len += plain_text_put_format(out, "\"%u:%u\"", value->obj_id, in put_objlnk()
708 value->obj_id = (uint16_t)tmp; in get_objlnk()
787 path->obj_id = val; in parse_path()
Dlwm2m_obj_location.c101 location.obj_id = LWM2M_OBJECT_LOCATION_ID; in ipso_location_init()
Dlwm2m_rw_plain_text.c176 return plain_text_put_format(out, "%u:%u", value->obj_id, in put_objlnk()
365 value->obj_id = (uint16_t)tmp; in get_objlnk()
Dlwm2m_obj_connmon.c153 connmon.obj_id = LWM2M_OBJECT_CONNECTIVITY_MONITORING_ID; in lwm2m_connmon_init()
Dipso_push_button.c178 onoff_switch.obj_id = IPSO_OBJECT_PUSH_BUTTON_ID; in ipso_button_init()
Dipso_accelerometer.c147 accel.obj_id = IPSO_OBJECT_ACCELEROMETER_ID; in ipso_accel_init()
Dlwm2m_obj_security.c181 security.obj_id = LWM2M_OBJECT_SECURITY_ID; in lwm2m_security_init()
Dipso_light_control.c193 light_control.obj_id = IPSO_OBJECT_LIGHT_CONTROL_ID; in ipso_light_control_init()
Dlwm2m_rw_oma_tlv.c559 int32_t value_s32 = (value->obj_id << 16) | value->obj_inst; in put_objlnk()
739 value->obj_id = (value_s32 >> 16) & 0xFFFF; in get_objlnk()
943 msg->path.obj_id, in do_write_op_tlv()
Dipso_onoff_switch.c239 onoff_switch.obj_id = IPSO_OBJECT_ONOFF_SWITCH_ID; in ipso_switch_init()
Dipso_buzzer.c258 buzzer.obj_id = IPSO_OBJECT_BUZZER_ID; in ipso_buzzer_init()
Dlwm2m_obj_firmware.c362 firmware.obj_id = LWM2M_OBJECT_FIRMWARE_ID; in lwm2m_firmware_init()
Dlwm2m_obj_server.c255 server.obj_id = LWM2M_OBJECT_SERVER_ID; in lwm2m_server_init()
Dipso_humidity_sensor.c235 sensor.obj_id = IPSO_OBJECT_ID; in ipso_humidity_sensor_init()
Dipso_pressure_sensor.c238 sensor.obj_id = IPSO_OBJECT_ID; in ipso_pressure_sensor_init()
Dipso_temp_sensor.c238 temp_sensor.obj_id = IPSO_OBJECT_TEMP_SENSOR_ID; in ipso_temp_sensor_init()
Dlwm2m_obj_device.c270 device.obj_id = LWM2M_OBJECT_DEVICE_ID; in lwm2m_device_init()
Dipso_generic_sensor.c254 sensor.obj_id = IPSO_OBJECT_ID; in ipso_generic_sensor_init()
Dlwm2m_object.h149 uint16_t obj_id; member
194 uint16_t obj_id; member
Dipso_timer.c375 timer.obj_id = IPSO_OBJECT_TIMER_ID; in ipso_timer_init()
/Zephyr-Core-2.7.6/include/net/
Dlwm2m.h390 uint16_t obj_id; member
803 int lwm2m_engine_register_create_callback(uint16_t obj_id,
816 int lwm2m_engine_register_delete_callback(uint16_t obj_id,
/Zephyr-Core-2.7.6/include/bluetooth/services/
Dots.h681 static inline int bt_ots_obj_id_to_str(uint64_t obj_id, char *str, size_t len) in bt_ots_obj_id_to_str() argument
685 sys_put_le48(obj_id, id); in bt_ots_obj_id_to_str()