You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm an undergraduate student diving into the LoRaWAN protocol, and as part of my research, I'm essentially reinventing the wheel by trying to implement LoRaWAN "by hand" using this library. My setup involves devices running the Arduino LMIC library alongside devices using this LoRa library.
Here's what I've been working on:
Scenario 1:
Device (running LMIC) → LoRaWAN gateway → ChirpStack server
Scenario 2:
Device (running LMIC) → Device (using this LoRa library in receive mode) → Serial print + Manual decoding of LoRaWAN packet
Scenario 3:
Device (using this LoRa library and manually built LoRaWAN packets) → Device (using this LoRa library in receive mode) → Serial print + Manual decoding of LoRaWAN packet
Scenario 4:
Device (using this LoRa library and manually built LoRaWAN packets) → Device (using this LoRa library in receive mode) → MQTT → Convert packet to semtech gwmp udp → ChirpStack decoding of packet
Scenario 5:
Device (using this LoRa library and manually built LoRaWAN packets) → LoRaWAN gateway → ChirpStack server
The first four scenarios work perfectly, but in Scenario 5, while a device acting as a "gateway" registers the packets correctly on Scenario 3 and 4, a real Mikrotik LR9 LoRaWAN gateway doesn't accept these hand-built packets.
Is there any additional configuration or parameter needed to get a real LoRaWAN gateway to accept these packets? Any guidance would be greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I'm an undergraduate student diving into the LoRaWAN protocol, and as part of my research, I'm essentially reinventing the wheel by trying to implement LoRaWAN "by hand" using this library. My setup involves devices running the Arduino LMIC library alongside devices using this LoRa library.
Here's what I've been working on:
The first four scenarios work perfectly, but in Scenario 5, while a device acting as a "gateway" registers the packets correctly on Scenario 3 and 4, a real Mikrotik LR9 LoRaWAN gateway doesn't accept these hand-built packets.
So far, I've configured:
LoRa.begin(916000000);
LoRa.setTxPower(20);
LoRa.setSpreadingFactor(12);
LoRa.setSignalBandwidth(125E3);
LoRa.setCodingRate4(5);
LoRa.setPreambleLength(8);
LoRa.setSyncWord(0x34);
LoRa.setLdoFlagForced(1);
Is there any additional configuration or parameter needed to get a real LoRaWAN gateway to accept these packets? Any guidance would be greatly appreciated!
Thanks for your time and help!
Beta Was this translation helpful? Give feedback.
All reactions