Home
last modified time | relevance | path

Searched refs:image_list (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/fixtures/
Dmcumgr_fixture_test.py71 image_list = mcumgr.get_image_list()
72 assert image_list[0].image == 0
73 assert image_list[0].slot == 0
74 assert image_list[0].version == '0.0.0'
75 assert image_list[0].flags == 'active confirmed'
76 assert image_list[0].hash == '0000'
77 assert image_list[1].image == 0
78 assert image_list[1].slot == 1
79 assert image_list[1].version == '1.1.1'
80 assert image_list[1].flags == ''
[all …]
/Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/helpers/
Dmcumgr.py69 image_list = []
76 image_list.append(
82 elif image_list:
84 image_list[-1].version = m.group(1)
86 image_list[-1].flags = m.group(1)
88 image_list[-1].hash = m.group(1)
89 return image_list
92 image_list = self.get_image_list()
93 for image in image_list:
100 image_list = self.get_image_list()
[all …]
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt_client.h66 struct mcumgr_image_data *image_list; member
110 struct mcumgr_image_data *image_list; member
127 int image_list_size, struct mcumgr_image_data *image_list);
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/
Dimg_mgmt_client.c138 image_info->image_list[image_info->image_list_length].img_num = img_num; in image_state_res_fn()
139 image_info->image_list[image_info->image_list_length].slot_num = slot_num; in image_state_res_fn()
140 memcpy(image_info->image_list[image_info->image_list_length].hash, in image_state_res_fn()
147 memcpy(image_info->image_list[image_info->image_list_length].version, in image_state_res_fn()
149 image_info->image_list[image_info->image_list_length].version[version.len] = in image_state_res_fn()
152 image_info->image_list[image_info->image_list_length].flags.bootable = in image_state_res_fn()
154 image_info->image_list[image_info->image_list_length].flags.pending = in image_state_res_fn()
156 image_info->image_list[image_info->image_list_length].flags.confirmed = in image_state_res_fn()
158 image_info->image_list[image_info->image_list_length].flags.active = active; in image_state_res_fn()
159 image_info->image_list[image_info->image_list_length].flags.permanent = in image_state_res_fn()
[all …]
/Zephyr-latest/tests/boot/with_mcumgr/pytest/
Dutils.py22 image_list = mcumgr.get_image_list()
24 assert image_list[0].version == version.replace('+0', '').replace('+', '.')