pySX127x icon indicating copy to clipboard operation
pySX127x copied to clipboard

size of the received payload fixed ?

Open lalmiAhmed opened this issue 2 years ago • 1 comments

I am using RBPI3 with Ra_02 I am testing the rx_cont.py example, I have successfully get it to work with my board, however I am only receiving 5 characters payloads I notice that rx_nb_bytes (which is equal to spi.xfer([REG.LORA.RX_NB_BYTES, 0])) is always returning the same value 9. so the payload size is fixed to 9 bytes. in the following example I tried to send the string "hello": I got: payload = [255, 255, 0, 0, 104, 101, 108, 108, 111] first 4 elements are fixed no matter what message I sent. the next 5 element are the byte representation of the characters that I have sent. ** THE PROBLEM ** why I can't receive more bytes ?

lalmiAhmed avatar Dec 08 '22 22:12 lalmiAhmed

I can say this much: There is no 9 bytes limit to the payload.

mayeranalytics avatar Jan 01 '23 07:01 mayeranalytics