/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_obj_server.c | 97 static int disable_cb(uint16_t obj_inst_id, uint8_t *args, uint16_t args_len) in disable_cb() 120 static int update_trigger_cb(uint16_t obj_inst_id, in update_trigger_cb() 127 static int bootstrap_trigger_cb(uint16_t obj_inst_id, in bootstrap_trigger_cb() 133 bool lwm2m_server_get_mute_send(uint16_t obj_inst_id) in lwm2m_server_get_mute_send() 146 static int lifetime_write_cb(uint16_t obj_inst_id, uint16_t res_id, in lifetime_write_cb() 163 static int32_t server_get_instance_s32(uint16_t obj_inst_id, int32_t *data, in server_get_instance_s32() 177 int32_t lwm2m_server_get_pmin(uint16_t obj_inst_id) in lwm2m_server_get_pmin() 183 int32_t lwm2m_server_get_pmax(uint16_t obj_inst_id) in lwm2m_server_get_pmax() 189 int lwm2m_server_get_ssid(uint16_t obj_inst_id) in lwm2m_server_get_ssid() 215 static int lwm2m_server_inst_id_to_index(uint16_t obj_inst_id) in lwm2m_server_inst_id_to_index() [all …]
|
D | lwm2m_obj_firmware.c | 88 uint8_t lwm2m_firmware_get_update_state_inst(uint16_t obj_inst_id) in lwm2m_firmware_get_update_state_inst() 98 void lwm2m_firmware_set_update_state_inst(uint16_t obj_inst_id, uint8_t state) in lwm2m_firmware_set_update_state_inst() 154 uint8_t lwm2m_firmware_get_update_result_inst(uint16_t obj_inst_id) in lwm2m_firmware_get_update_result_inst() 164 void lwm2m_firmware_set_update_result_inst(uint16_t obj_inst_id, uint8_t result) in lwm2m_firmware_set_update_result_inst() 237 static int package_write_cb(uint16_t obj_inst_id, uint16_t res_id, in package_write_cb() 301 static int package_uri_write_cb(uint16_t obj_inst_id, uint16_t res_id, in package_uri_write_cb() 358 void lwm2m_firmware_set_write_cb_inst(uint16_t obj_inst_id, lwm2m_engine_set_data_cb_t cb) in lwm2m_firmware_set_write_cb_inst() 363 lwm2m_engine_set_data_cb_t lwm2m_firmware_get_write_cb_inst(uint16_t obj_inst_id) in lwm2m_firmware_get_write_cb_inst() 368 void lwm2m_firmware_set_update_cb_inst(uint16_t obj_inst_id, lwm2m_engine_execute_cb_t cb) in lwm2m_firmware_set_update_cb_inst() 373 lwm2m_engine_execute_cb_t lwm2m_firmware_get_update_cb_inst(uint16_t obj_inst_id) in lwm2m_firmware_get_update_cb_inst() [all …]
|
D | lwm2m_obj_swmgmt.c | 154 uint16_t obj_inst_id; member 184 static int callback_execute_not_defined(uint16_t obj_inst_id, uint8_t *args, uint16_t args_len) in callback_execute_not_defined() 190 static int callback_write_not_defined(uint16_t obj_inst_id, uint16_t res_id, in callback_write_not_defined() 199 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() 247 static struct lwm2m_swmgmt_data *find_index(uint16_t obj_inst_id) in find_index() 261 int lwm2m_swmgmt_set_activate_cb(uint16_t obj_inst_id, lwm2m_engine_execute_cb_t cb) in lwm2m_swmgmt_set_activate_cb() 278 int lwm2m_swmgmt_set_deactivate_cb(uint16_t obj_inst_id, lwm2m_engine_execute_cb_t cb) in lwm2m_swmgmt_set_deactivate_cb() 295 int lwm2m_swmgmt_set_install_package_cb(uint16_t obj_inst_id, lwm2m_engine_execute_cb_t cb) in lwm2m_swmgmt_set_install_package_cb() 312 int lwm2m_swmgmt_set_delete_package_cb(uint16_t obj_inst_id, lwm2m_engine_execute_cb_t cb) in lwm2m_swmgmt_set_delete_package_cb() 329 int lwm2m_swmgmt_set_write_package_cb(uint16_t obj_inst_id, lwm2m_engine_set_data_cb_t cb) in lwm2m_swmgmt_set_write_package_cb() [all …]
|
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, uint16_t res_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, uint16_t res_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() 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() 133 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() 84 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 90 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 107 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() 131 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() 85 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 91 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 108 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() 132 pressure_sensor_create(uint16_t obj_inst_id) in pressure_sensor_create()
|
D | lwm2m_obj_access_control.c | 73 uint16_t obj_inst_id; member 98 static int obj_inst_to_index(uint16_t obj_id, uint16_t obj_inst_id) in obj_inst_to_index() 112 static bool available_obj_inst_id(int obj_inst_id) in available_obj_inst_id() 122 void access_control_add(uint16_t obj_id, uint16_t obj_inst_id, int server_obj_inst_id) in access_control_add() 183 void access_control_remove(uint16_t obj_id, uint16_t obj_inst_id) in access_control_remove() 215 static bool check_acl_table(uint16_t obj_id, uint16_t obj_inst_id, uint16_t short_server_id, in check_acl_table() 254 int access_control_check_access(uint16_t obj_id, uint16_t obj_inst_id, uint16_t server_obj_inst, in access_control_check_access() 338 static int write_validate_cb(uint16_t obj_inst_id, uint16_t res_id, in write_validate_cb() 379 static struct lwm2m_engine_obj_inst *ac_create(uint16_t obj_inst_id) in ac_create()
|
D | ipso_current_sensor.c | 83 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() 89 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, uint16_t res_id, in sensor_value_write_cb() 137 static struct lwm2m_engine_obj_inst *current_sensor_create(uint16_t obj_inst_id) in current_sensor_create()
|
D | ipso_voltage_sensor.c | 84 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() 90 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 96 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 113 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() 138 static struct lwm2m_engine_obj_inst *voltage_sensor_create(uint16_t obj_inst_id) in voltage_sensor_create()
|
D | lwm2m_obj_firmware_pull.c | 19 static void set_update_result(uint16_t obj_inst_id, int error_code) in set_update_result() 68 int lwm2m_firmware_start_transfer(uint16_t obj_inst_id, char *package_uri) in lwm2m_firmware_start_transfer()
|
D | ipso_generic_sensor.c | 92 static void update_min_measured(uint16_t obj_inst_id, int index) in update_min_measured() 98 static void update_max_measured(uint16_t obj_inst_id, int index) in update_max_measured() 104 static int reset_min_max_measured_values_cb(uint16_t obj_inst_id, in reset_min_max_measured_values_cb() 121 static int sensor_value_write_cb(uint16_t obj_inst_id, uint16_t res_id, in sensor_value_write_cb() 144 static struct lwm2m_engine_obj_inst *generic_sensor_create(uint16_t obj_inst_id) in generic_sensor_create()
|
D | ipso_timer.c | 60 uint16_t obj_inst_id; member 88 static int get_timer_index(uint16_t obj_inst_id) in get_timer_index() 155 static void *remaining_time_read_cb(uint16_t obj_inst_id, in remaining_time_read_cb() 179 static void *cumulative_time_read_cb(uint16_t obj_inst_id, in cumulative_time_read_cb() 202 static int cumulative_time_post_write_cb(uint16_t obj_inst_id, in cumulative_time_post_write_cb() 219 static int enabled_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in enabled_post_write_cb() 239 static int trigger_counter_post_write_cb(uint16_t obj_inst_id, in trigger_counter_post_write_cb() 265 static int timer_trigger_cb(uint16_t obj_inst_id, in timer_trigger_cb() 278 static struct lwm2m_engine_obj_inst *timer_inst_create(uint16_t obj_inst_id) in timer_inst_create()
|
D | ucifi_battery.c | 60 static void clear_supply_loss_counter(uint16_t obj_inst_id, int index) in clear_supply_loss_counter() 67 static int supply_loss_counter_reset_cb(uint16_t obj_inst_id, uint8_t *args, uint16_t args_len) in supply_loss_counter_reset_cb() 82 static struct lwm2m_engine_obj_inst *battery_create(uint16_t obj_inst_id) in battery_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, uint16_t res_id, in state_post_write_cb() 117 static struct lwm2m_engine_obj_inst *button_create(uint16_t obj_inst_id) in button_create()
|
D | ipso_filling_sensor.c | 83 static int reset_average_fill_speed_cb(uint16_t obj_inst_id, uint8_t *args, in reset_average_fill_speed_cb() 102 static void update(uint16_t obj_inst_id, uint16_t res_id, int index) in update() 122 static int update_cb(uint16_t obj_inst_id, uint16_t res_id, in update_cb() 137 static struct lwm2m_engine_obj_inst *filling_sensor_create(uint16_t obj_inst_id) in filling_sensor_create()
|
D | ipso_buzzer.c | 54 uint16_t obj_inst_id; member 84 static int get_buzzer_index(uint16_t obj_inst_id) in get_buzzer_index() 147 static int onoff_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in onoff_post_write_cb() 177 static struct lwm2m_engine_obj_inst *buzzer_create(uint16_t obj_inst_id) in buzzer_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() 91 static int on_time_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in on_time_post_write_cb() 120 static struct lwm2m_engine_obj_inst *light_control_create(uint16_t obj_inst_id) in light_control_create()
|
D | lwm2m_obj_gateway.c | 64 static int prefix_validation_cb(uint16_t obj_inst_id, uint16_t res_id, in prefix_validation_cb() 94 static struct lwm2m_engine_obj_inst *lwm2m_gw_create(uint16_t obj_inst_id) in lwm2m_gw_create() 191 int lwm2m_register_gw_callback(uint16_t obj_inst_id, lwm2m_engine_gateway_msg_cb cb) in lwm2m_register_gw_callback()
|
D | lwm2m_obj_device.c | 153 static int reset_error_list_cb(uint16_t obj_inst_id, in reset_error_list_cb() 176 static void *current_time_read_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_read_cb() 185 static void *current_time_pre_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_pre_write_cb() 192 static int current_time_post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in current_time_post_write_cb() 301 static struct lwm2m_engine_obj_inst *device_create(uint16_t obj_inst_id) in device_create()
|
D | lwm2m_pull_context.h | 15 uint8_t obj_inst_id; member
|
/Zephyr-latest/samples/net/lwm2m_client/src/ |
D | firmware_update.c | 19 static int firmware_update_cb(uint16_t obj_inst_id, in firmware_update_cb() 34 static void *firmware_get_buf(uint16_t obj_inst_id, uint16_t res_id, in firmware_get_buf() 41 static int firmware_block_received_cb(uint16_t obj_inst_id, uint16_t res_id, in firmware_block_received_cb() 51 static int firmware_cancel_cb(const uint16_t obj_inst_id) in firmware_cancel_cb()
|
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() 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()
|
/Zephyr-latest/tests/net/lib/lwm2m/interop/src/ |
D | firmware_update.c | 22 static int firmware_update_cb(uint16_t obj_inst_id, in firmware_update_cb() 32 static void *firmware_get_buf(uint16_t obj_inst_id, uint16_t res_id, in firmware_get_buf() 39 static int firmware_block_received_cb(uint16_t obj_inst_id, uint16_t res_id, in firmware_block_received_cb() 57 static int firmware_cancel_cb(const uint16_t obj_inst_id) in firmware_cancel_cb()
|
/Zephyr-latest/tests/net/lib/lwm2m/lwm2m_registry/src/ |
D | lwm2m_registry.c | 17 static void *pre_write_cb(uint16_t obj_inst_id, in pre_write_cb() 26 static int post_write_cb(uint16_t obj_inst_id, uint16_t res_id, in post_write_cb() 35 static void *read_cb(uint16_t obj_inst_id, in read_cb() 44 static int validate_cb(uint16_t obj_inst_id, uint16_t res_id, in validate_cb() 52 static int obj_create_cb(uint16_t obj_inst_id) in obj_create_cb() 58 static int obj_delete_cb(uint16_t obj_inst_id) in obj_delete_cb() 64 static int exec_cb(uint16_t obj_inst_id, uint8_t *args, uint16_t args_len) in exec_cb()
|