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

Setting spreading factor #203

Open
SmolBumblebee opened this issue Jul 18, 2022 · 2 comments
Open

Setting spreading factor #203

SmolBumblebee opened this issue Jul 18, 2022 · 2 comments

Comments

@SmolBumblebee
Copy link

SmolBumblebee commented Jul 18, 2022

Hi, is there a way for me to set the spreading factor?

I hope to get 125 bytes for the max payload; my region is AS923. I've also noticed that whenever I set the data rate, no matter what value I put, it will always print two on the serial monitor, and my max payload size remains 11. If the data rate is 2, shouldn't the max payload be 125? How do I make the max payload to be 125 bytes?

Thank you

@GrumpyOldPizza
Copy link
Owner

GrumpyOldPizza commented Jul 18, 2022 via email

@SmolBumblebee
Copy link
Author

Thank you so much for your fast reply; I feel so honored to get a response from GrumpyOldPizza ^_^

It turns out that I need to set ADR(false) for the setDataRate() to affect the max payload size.

Is there documentation for the code by chance?
I'm a new-bee

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