-
-
Notifications
You must be signed in to change notification settings - Fork 652
Single packet is shown as received twice #463
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
Comments
You should try the default examples first. |
@IoTThinks, yes I did thanks, they don't work either. It turns out (after spending a lot of time studying how this library works and looking at many ofl the changes over time) that there is an issue with the MKNBR boards that I have worked out also seems to affect the MKRZero as well. |
@gjt211 How did you fix the lirary for your board? |
Hi @IoTThinks My version of the library has a few small changes to suit our hardware, but basically the following is the library changes I made. in LoRa.h I have added (for our hardware - we use SPI1, not SPI)
And in two places in LoRa.cpp
I added
and in int LoRaClass::parsePacket(int size) after
I added
|
Thanks a lot. (y) |
…thod in a loop. I found this workaround here: sandeepmistry/arduino-LoRa#463 (comment)
Board: MKRZero
LoRa Module: NiceRF SX1276-915Mhz
I have a custom board and have the following code that works except that is shows the same packet twice.
I have reduced the code to the bare minimum needed for a test.
And here is some data that is being received, it clearly shows the same data packet twice. I have now tried for quite some time to identify the cause of the problem but am stuck.
Example output in Arduino serial monitor.
Does anyone have any suggestions about how to identify or fix this problem?
Thanks
The text was updated successfully, but these errors were encountered: