Lora-net/sx126x_driver

strange behavior in the RX buffer

Opened this issue · 1 comments

when reading the buffer RX ( sx126x_read_buffer ) , if I read as many bytes as the sx126x_get_rx_buffer_status function says, there is random data. In order to retrieve my frame is to read 255 B and my received frame is there, with 4 bytes offset. If I read a different amount of bytes from the RX buffer, I get random data.

Hi,
In https://github.com/Lora-net/SWSD003/blob/master/sx126x/common/apps_common.c (starting from line 478), you can find an example of reading received payload.
Many thanks,
Best regards,