-
Notifications
You must be signed in to change notification settings - Fork 20
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
Corrupted Data on receive #3
Comments
There are two issues, once is addressed in the pull request, the setting of the modem is done too soon, before switching the modem to the LoRa mode. So in the SetupLoRa() function, they setup all the things, but they have no effect. The solution of this part is to set the LoRA mode early, before setting all the settings:
|
The second trick to get the CRC check failure detected, is to fix their packet reading function. I'll create another issue describing the problem, but it seems that they try to reset the flag saying that the Rx has been done, but the effect is that they clean all the IRQ flags, including the one for CRC check fail. To fix this issue, you have to change the order of calls in the beginning of this function:
|
the transmission is working perfectly
but i'm having issues on receiving packets i'm sending123456
either i receive them corrupted or i receive them scrambled like 142356
but sometimes and rarely i receive them correctly
The text was updated successfully, but these errors were encountered: