Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/include/zephyr/mgmt/mcumgr/mgmt/
Dmgmt.h68 typedef int (*mgmt_handler_fn)(struct smp_streamer *ctxt);
/Zephyr-Core-3.7.0/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()
445 os_mgmt_bootloader_info(struct smp_streamer *ctxt) in os_mgmt_bootloader_info()
488 static int os_mgmt_info(struct smp_streamer *ctxt) in os_mgmt_info()
799 static int os_mgmt_datetime_read(struct smp_streamer *ctxt) in os_mgmt_datetime_read()
860 static int os_mgmt_datetime_write(struct smp_streamer *ctxt) in os_mgmt_datetime_write()
/Zephyr-Core-3.7.0/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-Core-3.7.0/subsys/mgmt/mcumgr/grp/zephyr_basic/src/
Dbasic_mgmt.c48 static int storage_erase_handler(struct smp_streamer *ctxt) in storage_erase_handler()
/Zephyr-Core-3.7.0/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-Core-3.7.0/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-Core-3.7.0/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt.h360 int img_mgmt_error_rsp(struct smp_streamer *ctxt, int rc, const char *rsn);
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/grp/shell_mgmt/src/
Dshell_mgmt.c45 shell_mgmt_exec(struct smp_streamer *ctxt) in shell_mgmt_exec()
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dimg_mgmt.c324 img_mgmt_erase(struct smp_streamer *ctxt) in img_mgmt_erase()
392 img_mgmt_upload_good_rsp(struct smp_streamer *ctxt) in img_mgmt_upload_good_rsp()
441 img_mgmt_upload(struct smp_streamer *ctxt) in img_mgmt_upload()
Dimg_mgmt_state.c465 img_mgmt_state_read(struct smp_streamer *ctxt) in img_mgmt_state_read()
664 img_mgmt_state_write(struct smp_streamer *ctxt) in img_mgmt_state_write()
/Zephyr-Core-3.7.0/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