/Zephyr-Core-2.7.6/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_server.c | 88 static int disable_cb(uint16_t obj_inst_id, uint8_t *args, uint16_t args_len) in disable_cb() 103 static int update_trigger_cb(uint16_t obj_inst_id, in update_trigger_cb() 114 static int lifetime_write_cb(uint16_t obj_inst_id, uint16_t res_id, in lifetime_write_cb() 135 static int32_t server_get_instance_s32(uint16_t obj_inst_id, int32_t *data, in server_get_instance_s32() 149 int32_t lwm2m_server_get_pmin(uint16_t obj_inst_id) in lwm2m_server_get_pmin() 155 int32_t lwm2m_server_get_pmax(uint16_t obj_inst_id) in lwm2m_server_get_pmax() 174 static struct lwm2m_engine_obj_inst *server_create(uint16_t obj_inst_id) in server_create()
|
D | ipso_onoff_switch.c | 49 uint16_t obj_inst_id; member 74 static int get_switch_index(uint16_t obj_inst_id) in get_switch_index() 90 static int state_post_write_cb(uint16_t obj_inst_id, in state_post_write_cb() 122 static void *on_time_read_cb(uint16_t obj_inst_id, in on_time_read_cb() 141 static void *off_time_read_cb(uint16_t obj_inst_id, in off_time_read_cb() 160 static int time_post_write_cb(uint16_t obj_inst_id, in time_post_write_cb() 175 static struct lwm2m_engine_obj_inst *switch_create(uint16_t obj_inst_id) in switch_create()
|
D | ipso_temp_sensor.c | 79 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() 87 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 95 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 112 static int sensor_value_write_cb(uint16_t obj_inst_id, in sensor_value_write_cb() 155 static struct lwm2m_engine_obj_inst *temp_sensor_create(uint16_t obj_inst_id) in temp_sensor_create()
|
D | ipso_humidity_sensor.c | 78 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() 85 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 92 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 109 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() 153 humidity_sensor_create(uint16_t obj_inst_id) in humidity_sensor_create()
|
D | ipso_pressure_sensor.c | 79 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() 86 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 93 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 110 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() 154 pressure_sensor_create(uint16_t obj_inst_id) in pressure_sensor_create()
|
D | ipso_generic_sensor.c | 92 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() 99 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 106 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 123 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() 166 static struct lwm2m_engine_obj_inst *generic_sensor_create(uint16_t obj_inst_id) in generic_sensor_create()
|
D | ipso_push_button.c | 46 uint16_t obj_inst_id; member 69 static int get_button_index(uint16_t obj_inst_id) in get_button_index() 85 static int state_post_write_cb(uint16_t obj_inst_id, in state_post_write_cb() 119 static struct lwm2m_engine_obj_inst *button_create(uint16_t obj_inst_id) in button_create()
|
D | ipso_timer.c | 60 uint16_t obj_inst_id; member 104 static int get_timer_index(uint16_t obj_inst_id) in get_timer_index() 173 static void *remaining_time_read_cb(uint16_t obj_inst_id, in remaining_time_read_cb() 198 static void *cumulative_time_read_cb(uint16_t obj_inst_id, in cumulative_time_read_cb() 221 static int cumulative_time_post_write_cb(uint16_t obj_inst_id, in cumulative_time_post_write_cb() 237 static int enabled_post_write_cb(uint16_t obj_inst_id, in enabled_post_write_cb() 257 static int trigger_counter_post_write_cb(uint16_t obj_inst_id, in trigger_counter_post_write_cb() 282 static int timer_trigger_cb(uint16_t obj_inst_id, in timer_trigger_cb() 295 static struct lwm2m_engine_obj_inst *timer_create(uint16_t obj_inst_id) in timer_create()
|
D | lwm2m_obj_device.c | 134 static int reset_error_list_cb(uint16_t obj_inst_id, in reset_error_list_cb() 148 static void *current_time_read_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_read_cb() 157 static void *current_time_pre_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_pre_write_cb() 164 static int current_time_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_post_write_cb() 211 static struct lwm2m_engine_obj_inst *device_create(uint16_t obj_inst_id) in device_create()
|
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() 92 static int on_time_post_write_cb(uint16_t obj_inst_id, in on_time_post_write_cb() 122 static struct lwm2m_engine_obj_inst *light_control_create(uint16_t obj_inst_id) in light_control_create()
|
D | ipso_buzzer.c | 54 uint16_t obj_inst_id; member 92 static int get_buzzer_index(uint16_t obj_inst_id) in get_buzzer_index() 157 static int onoff_post_write_cb(uint16_t obj_inst_id, in onoff_post_write_cb() 187 static struct lwm2m_engine_obj_inst *buzzer_create(uint16_t obj_inst_id) in buzzer_create()
|
D | lwm2m_obj_firmware.c | 193 static int package_write_cb(uint16_t obj_inst_id, uint16_t res_id, in package_write_cb() 242 static int package_uri_write_cb(uint16_t obj_inst_id, uint16_t res_id, in package_uri_write_cb() 288 static int firmware_update_cb(uint16_t obj_inst_id, in firmware_update_cb() 318 static struct lwm2m_engine_obj_inst *firmware_create(uint16_t obj_inst_id) in firmware_create()
|
D | lwm2m_obj_security.c | 83 static struct lwm2m_engine_obj_inst *security_create(uint16_t obj_inst_id) in security_create() 149 int lwm2m_security_inst_id_to_index(uint16_t obj_inst_id) in lwm2m_security_inst_id_to_index()
|
D | lwm2m_obj_location.c | 62 static struct lwm2m_engine_obj_inst *location_create(uint16_t obj_inst_id) in location_create()
|
D | ipso_accelerometer.c | 76 static struct lwm2m_engine_obj_inst *accel_create(uint16_t obj_inst_id) in accel_create()
|
D | lwm2m_obj_connmon.c | 105 static struct lwm2m_engine_obj_inst *connmon_create(uint16_t obj_inst_id) in connmon_create()
|
D | lwm2m_rd_client.c | 509 int ret, obj_inst_id; in sm_select_server_inst() local 532 int i, obj_inst_id = -1; in sm_select_security_inst() local
|
D | lwm2m_engine.c | 346 int lwm2m_notify_observer(uint16_t obj_id, uint16_t obj_inst_id, uint16_t res_id) in lwm2m_notify_observer() 610 static void engine_remove_observer_by_id(uint16_t obj_id, int32_t obj_inst_id) in engine_remove_observer_by_id() 689 int obj_inst_id) in get_engine_obj_inst() 705 next_engine_obj_inst(int obj_id, int obj_inst_id) in next_engine_obj_inst() 721 int lwm2m_create_obj_inst(uint16_t obj_id, uint16_t obj_inst_id, in lwm2m_create_obj_inst() 773 int lwm2m_delete_obj_inst(uint16_t obj_id, uint16_t obj_inst_id) in lwm2m_delete_obj_inst() 3470 static bool bootstrap_delete_allowed(int obj_id, int obj_inst_id) in bootstrap_delete_allowed()
|
D | lwm2m_object.h | 150 uint16_t obj_inst_id; member 385 uint16_t obj_inst_id; member
|
/Zephyr-Core-2.7.6/samples/net/lwm2m_client/src/ |
D | lwm2m-client.c | 100 static int led_on_off_cb(uint16_t obj_inst_id, uint16_t res_id, uint16_t res_inst_id, in led_on_off_cb() 147 static int device_reboot_cb(uint16_t obj_inst_id, in device_reboot_cb() 159 static int device_factory_default_cb(uint16_t obj_inst_id, in device_factory_default_cb() 172 static int firmware_update_cb(uint16_t obj_inst_id, in firmware_update_cb() 189 static void *temperature_get_buf(uint16_t obj_inst_id, uint16_t res_id, in temperature_get_buf() 218 static void *firmware_get_buf(uint16_t obj_inst_id, uint16_t res_id, in firmware_get_buf() 225 static int firmware_block_received_cb(uint16_t obj_inst_id, in firmware_block_received_cb() 237 static int timer_on_off_validate_cb(uint16_t obj_inst_id, uint16_t res_id, in timer_on_off_validate_cb() 255 static int timer_digital_state_cb(uint16_t obj_inst_id, in timer_digital_state_cb()
|