Home
last modified time | relevance | path

Searched refs:update_state (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_obj_firmware.c57 static uint8_t update_state[MAX_INSTANCE_COUNT]; variable
90 return update_state[obj_inst_id]; in lwm2m_firmware_get_update_state_inst()
108 if (update_state[obj_inst_id] == STATE_IDLE) { in lwm2m_firmware_set_update_state_inst()
115 if (update_state[obj_inst_id] == STATE_DOWNLOADING) { in lwm2m_firmware_set_update_state_inst()
117 } else if (update_state[obj_inst_id] == STATE_UPDATING) { in lwm2m_firmware_set_update_state_inst()
124 if (update_state[obj_inst_id] != STATE_DOWNLOADED) { in lwm2m_firmware_set_update_state_inst()
138 update_state[obj_inst_id], state); in lwm2m_firmware_set_update_state_inst()
178 if (update_state[obj_inst_id] != STATE_UPDATING) { in lwm2m_firmware_set_update_result_inst()
180 state = update_state[obj_inst_id]; in lwm2m_firmware_set_update_result_inst()
191 if (update_state[obj_inst_id] != STATE_DOWNLOADING) { in lwm2m_firmware_set_update_result_inst()
[all …]
Dlwm2m_obj_swmgmt.c161 uint8_t update_state; member
389 switch (instance->update_state) { in handle_event()
717 instance->update_state = 0; in swmgmt_create()
761 res_inst_idx, &instance->update_state, sizeof(uint8_t)); in swmgmt_create()