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

Data length and Invalid Parameter problem #57

Open
AntoineGirafe opened this issue Sep 28, 2018 · 0 comments
Open

Data length and Invalid Parameter problem #57

AntoineGirafe opened this issue Sep 28, 2018 · 0 comments

Comments

@AntoineGirafe
Copy link

AntoineGirafe commented Sep 28, 2018

Hello there !

I'm using an RN2483 module with a board I made around an ATmega 328p with your LoRaWAN Library.

I would like to know is there any payload limit ?
When I use a small payload, everything is working fine (like 70 bytes for instance) but when I tried to reach an higher payload ( 100 to 200 bytes) it's not working anymore.
I know this problem is probably not related to your library but maby do you have an idea to help me.

I learned from your library that I got an "invalid parameter" error from the module when I tried to send this value.

I looked up to the LoRaWAN datasheets (7.1.6 of LoRaWAN™ Specification document) about the payload but I'm normaly at the right value :

  • For a DataRate=5 (I guessed it from your library), the value of the payload max is of 230 bytes or 222 bytes (depending of the FOpt field, I don't know what it is but anyway I'm below this value so I don't think it's the problem here).
  • Moreover, why did I get an invalid parameter error instead of an invalid data length ?

If you have any idea or advice, I will be glad to hear it
Thank you,
Regards,
AntoineGirafe

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

1 participant