Issue about DFU of NCS use UART

Dear Nordic Engineers

I used NCS2.9.0 to develop a device based on nRF52840 and I would like to use UART to DFU the device based on SMP. 

Now, I test SMP samples and use the MCUmgr command line to succeed in DFU the device on Windows. I want to achieve the function of upgrading the firmware of the device through the serial port on my MCU side.

I read this documentation but I didn't understand the SMP transport specification, for example: when decoded with a base64 decoding tool, 41 58 55 43 yields 01 75 02. According to the provided document, the first two data points represent length information. The decimal equivalent of 01 75 is 373, which does not match the actual length of the data.

Does have detailed samples on MCU?

Best regards,

Hannibal

Related