Do you know the data protocol for the confirmation procedure when updating wired firmware using the smp protocol using the mcumgr library?

Hi, I am making code in ncs environment in vscode using nrf52840 chip.

I have now updated the program with uart through the Auterm program.

I need to update the firmware on the custom board I made using the udp to uart module.

The first thing I tried was github.com/.../releases and tried modifying the Auterm source code provided by this site.
However, in the udp code here, the send IP and port values exist, but the receive side IP and port do not exist.


In this picture, there is only the host IP and port (the object I will transmit), and there is no IP or port for me to receive.

I think there's a part where IP and port are hard-coded in the source code or somewhere else, but I can't find it. Can you tell me about this?

second

If it doesn't exist, I have to customize it and implement it in Python.
As a result of extracting data from UART, I confirmed that a binary file was pushed in after three communication processes.
Can I know if there is a set protocol or related document regarding what data is pushed during the three communications?

Help me! thank you!

Related