Hello!
I'm trying to send a mcumgr packet over uart between the nrf9160dk_nrf9160 and the nrf9160dk_nrf5284.
To do this I have a SMP srv and a shell on both MCUs.
The echo is sent from 9160 using the code below. It seems like the packet is fully recieved on the 52840 however the when calling smp_shell_process
the packet is not correctly processed. It always stops with the comment (in seial_util.c)
The payload is consistently 2 bytes longer than indicated in the header.
What am I missing?
the sending looks like this:
receiving looks like this: