Home
last modified time | relevance | path

Searched refs:rsn (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/include/zephyr/mgmt/mcumgr/mgmt/
Dmgmt.h52 #define MGMT_CTXT_SET_RC_RSN(mc, rsn) ((mc->rc_rsn) = (rsn)) argument
55 #define MGMT_CTXT_SET_RC_RSN(mc, rsn) argument
/Zephyr-latest/include/zephyr/mgmt/mcumgr/grp/img_mgmt/
Dimg_mgmt.h359 #define IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, rsn) ((action)->rc_rsn = (rsn)) argument
361 int img_mgmt_error_rsp(struct smp_streamer *ctxt, int rc, const char *rsn);
374 #define IMG_MGMT_UPLOAD_ACTION_SET_RC_RSN(action, rsn) argument
/Zephyr-latest/subsys/mgmt/mcumgr/smp/src/
Dsmp.c275 const char **rsn) in smp_handle_single_req() argument
300 *rsn = MGMT_CTXT_RC_RSN(streamer); in smp_handle_single_req()
308 *rsn = MGMT_CTXT_RC_RSN(streamer); in smp_handle_single_req()
334 void *req, void *rsp, int status, const char *rsn) in smp_on_err() argument
350 rc = smp_build_err_rsp(streamer, req_hdr, status, rsn); in smp_on_err()
389 const char *rsn = NULL; in smp_process_request_packet() local
430 rc = smp_handle_single_req(streamer, &req_hdr, &rsn); in smp_process_request_packet()
471 smp_on_err(streamer, &req_hdr, req, rsp, rc, rsn); in smp_process_request_packet()
/Zephyr-latest/subsys/mgmt/mcumgr/smp/
DKconfig156 Support for encoding "rc" code explanation in form of "rsn"
159 Note that the "rsn" is string additional to "rc" code,
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_1.rst151 (str,opt)"rsn" : (str)
208 | "rsn" | optional string that clarifies reason for an error; specifically useful |
387 (str,opt)"rsn" : (str)
411 | "rsn" | optional string that clarifies reason for an error; specifically useful |
495 (str,opt)"rsn" : (str)
513 | "rsn" | optional string that clarifies reason for an error; specifically useful |
/Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/
DKconfig62 Add additional "rsn" key to SMP responses, where provided, explaining