Hello!
My name is Tiago Morais.
I've started to work with nrf52840 and now I'm having some problems with its CLI.
I'm trying to use the nrf52840 dk with openthread and mqtt-sn
the examples work fine, but actually I don't want to keep the mqtt-sn client inside the nrf52840, I'd like to put it in a microcontroler.
So, i'm using the CLI interface via uart between them to send the UDP messages.
(udp send ....)
The problem is that when I'm sending the 'REGISTER' (register topic) message which msgType is equal to 0x0A, it is equal to '\n' in ascii, that said, the CLI breaks the message and sends only the part before the msgType, which is not enough :D
Is there a way to configure the nrf52840 CLI to interpret the linebreak ONLY with a \r\n instead of only \n (I've tested sending only \r, as well and it responds the same way, by starting a new line) ??
I saw that the CLI example code in those examples are .a file, so I cannot change it :(
I'm sending together a word file with some pictures of the CLI
I used a sniffer in the raspberry to (tshark) to see the udp message from the example and replicated it via uart with my stm32
I really could use someone's help :)
Thank you very much!