Custom command in MCUMGR

Hello,

My goal is to read out UICR address 0x10001080UL from command line / MCUMGR.

mcumgr --conntype serial --connstring COM8,baud=115200

How to acheive that?

I have tried and successfully compiled ran these mcumgr handler examples:

https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr_handlers.html

https://github.com/zephyrproject-rtos/zephyr/tree/main/tests/subsys/mgmt/mcumgr/handler_demo

But I don't see the new commands anywhere, not a new shell command, not a new run routine, please explain how to achieve this.

Related