pySX127x
pySX127x copied to clipboard
size of the received payload fixed ?
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 ?
I can say this much: There is no 9 bytes limit to the payload.