Closed RaghavRao closed 3 years ago
Sorry to see no-one has replied to this, so here goes.
The Dragino I have has a Hope RFM95 pcb soldered on it so it should work. The W postfix simply means Worldwide distribution IIRC.
You should check the Dragino schematic to see what RPi pin/wiring is used.
The keyerror simply says that the value of 'mode' in MODE.lookup[mode] in the function set_mode() does not exist. Which I think is odd since there are two mode changes earlier.
I don't have time to look through LoRa.py today to see if I can work out what the problem is. Check your wiring first because this code works just fine on the Pi Dragino HAT.
Hi thanks for your response. I found this library which does exactly what I was looking for:
https://github.com/ryanzav/LoRaWAN
On Fri, May 28, 2021, 03:38 Brian @.***> wrote:
Sorry to see no-one has replied to this, so here goes.
The Dragino I have has a Hope RFM95 pcb soldered on it so it should work. The W postfix simply means Worldwide distribution IIRC.
You should check the Dragino schematic to see what RPi pin/wiring is used.
The keyerror simply says that the value of 'mode' in MODE.lookup[mode] in the function set_mode() does not exist. Which I think is odd since there are two mode changes earlier.
I don't have time to look through LoRa.py today to see if I can work out what the problem is. Check your wiring first because this code works just fine on the Pi Dragino HAT.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/computenodes/dragino/issues/8#issuecomment-850217195, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUBDUYP3OT53ZXRSEYM4JTTP5B6DANCNFSM42RLATPQ .
Hey,
The original project claimed this worked with an RFM95, is there any way this code might work too?
When running test.py I get:
I'm guessing this is due to using a different hat?