/Zephyr-latest/tests/subsys/mgmt/mcumgr/zcbor_bulk/src/ |
D | main.c | 19 ZCBOR_MAP_DECODE_KEY_DECODER("hello", zcbor_tstr_decode, &world), in ZTEST() 47 ZCBOR_MAP_DECODE_KEY_DECODER("hello", zcbor_tstr_decode, &world), in ZTEST() 48 ZCBOR_MAP_DECODE_KEY_DECODER("one", zcbor_uint32_decode, &one), in ZTEST() 49 ZCBOR_MAP_DECODE_KEY_DECODER("bool val", zcbor_bool_decode, &bool_val) in ZTEST() 88 ZCBOR_MAP_DECODE_KEY_DECODER("hello", zcbor_tstr_decode, &world), in ZTEST() 89 ZCBOR_MAP_DECODE_KEY_DECODER("one", zcbor_uint32_decode, &one), in ZTEST() 90 ZCBOR_MAP_DECODE_KEY_DECODER("bool val", zcbor_bool_decode, &bool_val) in ZTEST() 129 ZCBOR_MAP_DECODE_KEY_DECODER("hello", zcbor_tstr_decode, &world), in ZTEST() 130 ZCBOR_MAP_DECODE_KEY_DECODER("one", zcbor_uint32_decode, &one), in ZTEST() 131 ZCBOR_MAP_DECODE_KEY_DECODER("bool val", zcbor_bool_decode, &bool_val) in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/smp_version/src/ |
D | main.c | 81 ZCBOR_MAP_DECODE_KEY_DECODER("group", zcbor_uint32_decode, &tmp_group), in mcumgr_ret_decode() 82 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_uint32_decode, &tmp_rc), in mcumgr_ret_decode() 116 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 117 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_int32_decode, &rc), in ZTEST() 118 ZCBOR_MAP_DECODE_KEY_DECODER("err", mcumgr_ret_decode, &group_error), in ZTEST() 203 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 204 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_int32_decode, &rc), in ZTEST() 205 ZCBOR_MAP_DECODE_KEY_DECODER("err", mcumgr_ret_decode, &group_error), in ZTEST() 289 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 290 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_int32_decode, &rc), in ZTEST() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/util/include/mgmt/mcumgr/util/ |
D | zcbor_bulk.h | 35 #define ZCBOR_MAP_DECODE_KEY_DECODER(k, dec, vp) \ macro 63 ZCBOR_MAP_DECODE_KEY_DECODER(STRINGIFY(k), dec, vp)
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
D | main.c | 97 ZCBOR_MAP_DECODE_KEY_DECODER("group", zcbor_uint32_decode, &tmp_group), in mcumgr_ret_decode() 98 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_uint32_decode, &tmp_rc), in mcumgr_ret_decode() 161 ZCBOR_MAP_DECODE_KEY_DECODER("datetime", zcbor_tstr_decode, &output), in ZTEST() 162 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_int32_decode, &rc), in ZTEST() 163 ZCBOR_MAP_DECODE_KEY_DECODER("err", mcumgr_ret_decode, &group_error), in ZTEST() 223 ZCBOR_MAP_DECODE_KEY_DECODER("datetime", zcbor_tstr_decode, &output), in ZTEST() 224 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_int32_decode, &rc), in ZTEST() 225 ZCBOR_MAP_DECODE_KEY_DECODER("err", mcumgr_ret_decode, &group_error), in ZTEST() 287 ZCBOR_MAP_DECODE_KEY_DECODER("datetime", zcbor_tstr_decode, &output), in ZTEST() 288 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_int32_decode, &rc), in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/mcumgr_client/src/ |
D | img_gr_stub.c | 180 ZCBOR_MAP_DECODE_KEY_DECODER("confirm", zcbor_bool_decode, &confirm), in img_state_write_verify() 181 ZCBOR_MAP_DECODE_KEY_DECODER("hash", zcbor_bstr_decode, &hash) in img_state_write_verify() 229 ZCBOR_MAP_DECODE_KEY_DECODER("image", zcbor_uint32_decode, &image), in img_upload_init_verify() 230 ZCBOR_MAP_DECODE_KEY_DECODER("data", zcbor_bstr_decode, &data), in img_upload_init_verify() 231 ZCBOR_MAP_DECODE_KEY_DECODER("len", zcbor_size_decode, &length), in img_upload_init_verify() 232 ZCBOR_MAP_DECODE_KEY_DECODER("off", zcbor_size_decode, &offset), in img_upload_init_verify() 233 ZCBOR_MAP_DECODE_KEY_DECODER("sha", zcbor_bstr_decode, &sha) in img_upload_init_verify()
|
D | os_gr_stub.c | 81 ZCBOR_MAP_DECODE_KEY_DECODER("d", zcbor_tstr_decode, &echo_data) in os_echo_verify()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/img_mgmt_slot_info/src/ |
D | main.c | 107 ZCBOR_MAP_DECODE_KEY_DECODER("slot", zcbor_uint32_decode, in parse_slot_entries() 109 ZCBOR_MAP_DECODE_KEY_DECODER("size", zcbor_uint32_decode, in parse_slot_entries() 111 ZCBOR_MAP_DECODE_KEY_DECODER("upload_image_id", zcbor_uint32_decode, in parse_slot_entries() 113 ZCBOR_MAP_DECODE_KEY_DECODER("test2", zcbor_uint32_decode, in parse_slot_entries() 161 ZCBOR_MAP_DECODE_KEY_DECODER("image", zcbor_uint32_decode, in parse_images_entries() 163 ZCBOR_MAP_DECODE_KEY_DECODER("slots", parse_slot_entries, image_data), in parse_images_entries() 164 ZCBOR_MAP_DECODE_KEY_DECODER("max_image_size", zcbor_uint32_decode, in parse_images_entries() 166 ZCBOR_MAP_DECODE_KEY_DECODER("test1", zcbor_uint32_decode, in parse_images_entries() 210 ZCBOR_MAP_DECODE_KEY_DECODER("images", parse_images_entries, &receive_response), in ZTEST() 336 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_uint32_decode, &rc), in ZTEST() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/ |
D | example_mgmt.c | 41 ZCBOR_MAP_DECODE_KEY_DECODER("uint_key", zcbor_uint32_decode, &uint_value), in example_mgmt_test() 42 ZCBOR_MAP_DECODE_KEY_DECODER("string_key", zcbor_tstr_decode, &string_value), in example_mgmt_test() 83 ZCBOR_MAP_DECODE_KEY_DECODER("user_value", zcbor_uint32_decode, &user_value), in example_mgmt_other()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt_client/src/ |
D | img_mgmt_client.c | 58 ZCBOR_MAP_DECODE_KEY_DECODER("version", zcbor_tstr_decode, &version), in image_state_res_fn() 59 ZCBOR_MAP_DECODE_KEY_DECODER("hash", zcbor_bstr_decode, &hash), in image_state_res_fn() 60 ZCBOR_MAP_DECODE_KEY_DECODER("slot", zcbor_uint32_decode, &slot_num), in image_state_res_fn() 62 ZCBOR_MAP_DECODE_KEY_DECODER("image", zcbor_uint32_decode, &img_num), in image_state_res_fn() 63 ZCBOR_MAP_DECODE_KEY_DECODER("bootable", zcbor_bool_decode, &bootable), in image_state_res_fn() 64 ZCBOR_MAP_DECODE_KEY_DECODER("pending", zcbor_bool_decode, &pending), in image_state_res_fn() 65 ZCBOR_MAP_DECODE_KEY_DECODER("confirmed", zcbor_bool_decode, &confirmed), in image_state_res_fn() 66 ZCBOR_MAP_DECODE_KEY_DECODER("active", zcbor_bool_decode, &active), in image_state_res_fn() 67 ZCBOR_MAP_DECODE_KEY_DECODER("permanent", zcbor_bool_decode, &permanent) in image_state_res_fn() 195 ZCBOR_MAP_DECODE_KEY_DECODER("off", zcbor_size_decode, in image_upload_res_fn() [all …]
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_info/src/ |
D | main.c | 308 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 369 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 430 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 492 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 554 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 615 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 676 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 748 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 809 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 882 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() [all …]
|
D | limited.c | 51 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 113 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 117 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_int32_decode, &rc), in ZTEST()
|
D | build_date.c | 91 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST() 167 ZCBOR_MAP_DECODE_KEY_DECODER("output", zcbor_tstr_decode, &output), in ZTEST()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/enum_mgmt/src/ |
D | main.c | 119 ZCBOR_MAP_DECODE_KEY_DECODER("count", zcbor_uint32_decode, &count_response), in ZTEST() 220 ZCBOR_MAP_DECODE_KEY_DECODER("groups", parse_list_entries, &list_response), in ZTEST() 326 ZCBOR_MAP_DECODE_KEY_DECODER("group", zcbor_uint32_decode, &received_group), in ZTEST() 327 ZCBOR_MAP_DECODE_KEY_DECODER("end", zcbor_bool_decode, &received_end), in ZTEST() 415 ZCBOR_MAP_DECODE_KEY_DECODER("group", zcbor_uint32_decode, &group), in parse_details_entries() 416 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &name), in parse_details_entries() 417 ZCBOR_MAP_DECODE_KEY_DECODER("handlers", zcbor_uint32_decode, &handlers), in parse_details_entries() 418 ZCBOR_MAP_DECODE_KEY_DECODER("test", zcbor_uint32_decode, &test), in parse_details_entries() 532 ZCBOR_MAP_DECODE_KEY_DECODER("groups", parse_details_entries, &details_response), in ZTEST() 613 ZCBOR_MAP_DECODE_KEY_DECODER("rc", zcbor_uint32_decode, &rc), in ZTEST() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt.c | 218 ZCBOR_MAP_DECODE_KEY_DECODER("off", zcbor_uint64_decode, &off), in fs_mgmt_file_download() 219 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &name), in fs_mgmt_file_download() 365 ZCBOR_MAP_DECODE_KEY_DECODER("off", zcbor_uint64_decode, &off), in fs_mgmt_file_upload() 366 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &name), in fs_mgmt_file_upload() 367 ZCBOR_MAP_DECODE_KEY_DECODER("data", zcbor_bstr_decode, &file_data), in fs_mgmt_file_upload() 368 ZCBOR_MAP_DECODE_KEY_DECODER("len", zcbor_uint64_decode, &len), in fs_mgmt_file_upload() 581 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &name), in fs_mgmt_file_status() 670 ZCBOR_MAP_DECODE_KEY_DECODER("type", zcbor_tstr_decode, &type), in fs_mgmt_file_hash_checksum() 671 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &name), in fs_mgmt_file_hash_checksum() 672 ZCBOR_MAP_DECODE_KEY_DECODER("off", zcbor_uint64_decode, &off), in fs_mgmt_file_hash_checksum() [all …]
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/settings_mgmt/src/ |
D | settings_mgmt.c | 52 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &key), in settings_mgmt_read() 53 ZCBOR_MAP_DECODE_KEY_DECODER("max_size", zcbor_uint32_decode, &max_size), in settings_mgmt_read() 173 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &key), in settings_mgmt_write() 174 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &data), in settings_mgmt_write() 275 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &key), in settings_mgmt_delete()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ |
D | img_mgmt.c | 420 ZCBOR_MAP_DECODE_KEY_DECODER("slot", zcbor_uint32_decode, &slot), in img_mgmt_erase() 749 ZCBOR_MAP_DECODE_KEY_DECODER("image", zcbor_uint32_decode, &req.image), in img_mgmt_upload() 750 ZCBOR_MAP_DECODE_KEY_DECODER("data", zcbor_bstr_decode, &req.img_data), in img_mgmt_upload() 751 ZCBOR_MAP_DECODE_KEY_DECODER("len", zcbor_size_decode, &req.size), in img_mgmt_upload() 752 ZCBOR_MAP_DECODE_KEY_DECODER("off", zcbor_size_decode, &req.off), in img_mgmt_upload() 753 ZCBOR_MAP_DECODE_KEY_DECODER("sha", zcbor_bstr_decode, &req.data_sha), in img_mgmt_upload() 754 ZCBOR_MAP_DECODE_KEY_DECODER("upgrade", zcbor_bool_decode, &req.upgrade) in img_mgmt_upload()
|
D | img_mgmt_state.c | 696 ZCBOR_MAP_DECODE_KEY_DECODER("hash", zcbor_bstr_decode, &zhash), in img_mgmt_state_write() 697 ZCBOR_MAP_DECODE_KEY_DECODER("confirm", zcbor_bool_decode, &confirm) in img_mgmt_state_write()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/ |
D | os_mgmt.c | 156 ZCBOR_MAP_DECODE_KEY_DECODER("d", zcbor_tstr_decode, &data), in os_mgmt_echo() 379 ZCBOR_MAP_DECODE_KEY_DECODER("force", zcbor_bool_decode, &reboot_data.force), in os_mgmt_reset() 469 ZCBOR_MAP_DECODE_KEY_DECODER("query", zcbor_tstr_decode, &query), in os_mgmt_bootloader_info() 542 ZCBOR_MAP_DECODE_KEY_DECODER("format", zcbor_tstr_decode, &format), in os_mgmt_info() 958 ZCBOR_MAP_DECODE_KEY_DECODER("datetime", zcbor_tstr_decode, &datetime), in os_mgmt_datetime_write()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt_client/src/ |
D | os_mgmt_client.c | 97 ZCBOR_MAP_DECODE_KEY_DECODER("r", zcbor_tstr_decode, &val) in echo_res_fn()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/enum_mgmt/src/ |
D | enum_mgmt.c | 231 ZCBOR_MAP_DECODE_KEY_DECODER("index", zcbor_uint32_decode, &arguments.index), in enum_mgmt_single() 327 ZCBOR_MAP_DECODE_KEY_DECODER("groups", enum_mgmt_cb_count_entries, &entries), in enum_mgmt_details()
|
/Zephyr-latest/subsys/mgmt/mcumgr/grp/stat_mgmt/src/ |
D | stat_mgmt.c | 134 ZCBOR_MAP_DECODE_KEY_DECODER("name", zcbor_tstr_decode, &name), in stat_mgmt_show()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | main.c | 378 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &tmp_data), in ZTEST() 543 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &tmp_data), in ZTEST() 544 ZCBOR_MAP_DECODE_KEY_DECODER("max_size", zcbor_uint32_decode, &max_size_response), in ZTEST() 636 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &tmp_data), in ZTEST() 923 ZCBOR_MAP_DECODE_KEY_DECODER("val", zcbor_bstr_decode, &tmp_data), in ZTEST()
|