Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

size of the received payload fixed ? #44

Open
lalmiAhmed opened this issue Dec 8, 2022 · 1 comment
Open

size of the received payload fixed ? #44

lalmiAhmed opened this issue Dec 8, 2022 · 1 comment

Comments

@lalmiAhmed
Copy link

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 ?

@mayeranalytics
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants