Home
last modified time | relevance | path

Searched refs:smp_streamer (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/include/zephyr/mgmt/mcumgr/smp/
Dsmp.h83 struct smp_streamer { struct
107 int smp_process_request_packet(struct smp_streamer *streamer, void *req); argument
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/include/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt_priv.h209 int img_mgmt_state_read(struct smp_streamer *ctxt);
210 int img_mgmt_state_write(struct smp_streamer *njb);
/Zephyr-latest/subsys/mgmt/mcumgr/grp/settings_mgmt/src/
Dsettings_mgmt.c32 static int settings_mgmt_read(struct smp_streamer *ctxt) in settings_mgmt_read()
156 static int settings_mgmt_write(struct smp_streamer *ctxt) in settings_mgmt_write()
259 static int settings_mgmt_delete(struct smp_streamer *ctxt) in settings_mgmt_delete()
358 static int settings_mgmt_commit(struct smp_streamer *ctxt) in settings_mgmt_commit()
396 static int settings_mgmt_load(struct smp_streamer *ctxt) in settings_mgmt_load()
434 static int settings_mgmt_save(struct smp_streamer *ctxt) in settings_mgmt_save()
/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/
Dsmp.c107 static inline int smp_write_hdr(struct smp_streamer *streamer, const struct smp_hdr *src_hdr) in smp_write_hdr()
113 static int smp_build_err_rsp(struct smp_streamer *streamer, const struct smp_hdr *req_hdr, in smp_build_err_rsp()
159 static int smp_handle_single_payload(struct smp_streamer *cbuf, const struct smp_hdr *req_hdr) in smp_handle_single_payload()
274 static int smp_handle_single_req(struct smp_streamer *streamer, const struct smp_hdr *req_hdr, in smp_handle_single_req()
333 static void smp_on_err(struct smp_streamer *streamer, const struct smp_hdr *req_hdr, in smp_on_err()
381 int smp_process_request_packet(struct smp_streamer *streamer, void *vreq) in smp_process_request_packet()
/Zephyr-latest/tests/subsys/mgmt/mcumgr/handler_demo/example_as_module/src/
Dexample_mgmt.c32 static int example_mgmt_test(struct smp_streamer *ctxt) in example_mgmt_test()
75 static int example_mgmt_other(struct smp_streamer *ctxt) in example_mgmt_other()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/enum_mgmt/src/
Denum_mgmt.c171 static int enum_mgmt_count(struct smp_streamer *ctxt) in enum_mgmt_count()
185 static int enum_mgmt_list(struct smp_streamer *ctxt) in enum_mgmt_list()
216 static int enum_mgmt_single(struct smp_streamer *ctxt) in enum_mgmt_single()
302 static int enum_mgmt_details(struct smp_streamer *ctxt) in enum_mgmt_details()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/os_mgmt/src/
Dos_mgmt.c147 static int os_mgmt_echo(struct smp_streamer *ctxt) in os_mgmt_echo()
325 static int os_mgmt_taskstat_read(struct smp_streamer *ctxt) in os_mgmt_taskstat_read()
364 static int os_mgmt_reset(struct smp_streamer *ctxt) in os_mgmt_reset()
410 os_mgmt_mcumgr_params(struct smp_streamer *ctxt) in os_mgmt_mcumgr_params()
447 os_mgmt_bootloader_info(struct smp_streamer *ctxt) in os_mgmt_bootloader_info()
526 static int os_mgmt_info(struct smp_streamer *ctxt) in os_mgmt_info()
837 static int os_mgmt_datetime_read(struct smp_streamer *ctxt) in os_mgmt_datetime_read()
898 static int os_mgmt_datetime_write(struct smp_streamer *ctxt) in os_mgmt_datetime_write()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dmgmt.h68 typedef int (*mgmt_handler_fn)(struct smp_streamer *ctxt);
/Zephyr-latest/subsys/mgmt/mcumgr/grp/zephyr_basic/src/
Dbasic_mgmt.c48 static int storage_erase_handler(struct smp_streamer *ctxt) in storage_erase_handler()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp.c114 struct smp_streamer streamer; in smp_process_packet()
117 streamer = (struct smp_streamer) { in smp_process_packet()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/stat_mgmt/src/
Dstat_mgmt.c123 stat_mgmt_show(struct smp_streamer *ctxt) in stat_mgmt_show()
189 stat_mgmt_list(struct smp_streamer *ctxt) in stat_mgmt_list()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/
Dfs_mgmt.c204 static int fs_mgmt_file_download(struct smp_streamer *ctxt) in fs_mgmt_file_download()
350 static int fs_mgmt_file_upload(struct smp_streamer *ctxt) in fs_mgmt_file_upload()
569 static int fs_mgmt_file_status(struct smp_streamer *ctxt) in fs_mgmt_file_status()
651 static int fs_mgmt_file_hash_checksum(struct smp_streamer *ctxt) in fs_mgmt_file_hash_checksum()
864 fs_mgmt_supported_hash_checksum(struct smp_streamer *ctxt) in fs_mgmt_supported_hash_checksum()
893 static int fs_mgmt_close_opened_file(struct smp_streamer *ctxt) in fs_mgmt_close_opened_file()
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt.h361 int img_mgmt_error_rsp(struct smp_streamer *ctxt, int rc, const char *rsn);
/Zephyr-latest/subsys/mgmt/mcumgr/grp/shell_mgmt/src/
Dshell_mgmt.c45 shell_mgmt_exec(struct smp_streamer *ctxt) in shell_mgmt_exec()
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c128 static bool img_mgmt_reset_zse(struct smp_streamer *ctxt) in img_mgmt_reset_zse()
409 img_mgmt_erase(struct smp_streamer *ctxt) in img_mgmt_erase()
480 static int img_mgmt_slot_info(struct smp_streamer *ctxt) in img_mgmt_slot_info()
665 img_mgmt_upload_good_rsp(struct smp_streamer *ctxt) in img_mgmt_upload_good_rsp()
714 img_mgmt_upload(struct smp_streamer *ctxt) in img_mgmt_upload()
Dimg_mgmt_state.c413 static bool img_mgmt_state_encode_slot(struct smp_streamer *ctxt, uint32_t slot, int state_flags) in img_mgmt_state_encode_slot()
487 img_mgmt_state_read(struct smp_streamer *ctxt) in img_mgmt_state_read()
686 img_mgmt_state_write(struct smp_streamer *ctxt) in img_mgmt_state_write()
/Zephyr-latest/doc/releases/
Drelease-notes-3.3.rst2148 has been replaced with the ``smp_streamer`` struct, the zcbor objects need
3291 * :github:`52021` - RFC: API Change: mgmt: mcumgr: Replace mgmt_ctxt struct with smp_streamer