Hello @Community member ,
The chain of characters looks like an ASCIIZ string. You can ignore all the rest after the 0 character (\0).
Just using the UART won't let you know in advance the data size to be expected (OSI layer 1 protocol). The protocol over the UART (OSI layer 2 protocol, like HDLC for example) should provide the data size if necessary. Please check the LoRaWAN module's documentation for more information about the subject.
Otherwise, I recommend you to use the flow control. Take a look at this reference : https://en.wikipedia.org/wiki/Flow_control_(data)#Hardware_flow_control
To use it, you need to configure your module and enable the CTS and RTS pins.
As well, we provide some LoRaWAN applications under our WL Firmware Package.
These applications are provided under ( Path : STM32Cube_FW_WL_V1.0.0\Projects\NUCLEO-WL55JC\Applications\LoRaWAN )
I hope this help you.
BeST Regards,
Walid
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
