RAKWireless / RAK2245-RAK831-LoRaGateway-RPi-Raspbian-OS

7 stars 2 forks source link

AU915 Sub Band Select #2

Open paulalting opened 5 years ago

paulalting commented 5 years ago

After installing on RAK831 Pilot Gateway and configuring via gateway-config I noticed there was no way to configure the sub band as is possible with LoRaServer-OS direct from Orne Brocaar.

To get this gateway to work correctly I had to manually edit the global.conf file for the required sub band used here in Australia.

From Orne Broccar github you will notice AU/US 915MHz sub band config files:

An update to the gateway-config scripts to allow this functionality would be helpful.

davidgmoscoso commented 5 years ago

Hi @paulalting i'm facing the same problem when trying to connect the gateway to TTN (which uses the 2nd sub band), what did you edit in the global.conf file, i'm a bit confused about it. Thanks.

paulalting commented 5 years ago

Hi David, if you go to the link I gave above and find the correct sub band file and then use this to edit your own global.conf file, then that should work. It is confusing for sure, as there are many differences between the way it works in different countries. Do you the US915 or AU915 band over there ?

davidgmoscoso commented 5 years ago

Ok i got it, very useful files to keep at hand. Here the recomended band is AU915 but i'm having problems using it, with the node fixed 3 meters away from the gateway some messages arrive with very low rssi, some are simply lost and just a few arrive with the suposed rssi values. I faced the same situation when testing US915 but masking the channels to the 8 used by the gateway, it worked as expected. Tried it for AU915 but the problem is still there. So i guess is a channel match bug i can not figure it out. I read some about that Australian ACMA regulation, maybe that is the answer.

image

paulalting commented 5 years ago

Hi @davidgmoscoso did you have any further success ? In my setup, I use a SAM21D as on Feather M0 and use the LMIC library from MCCI as it is actively being worked on and provides support for AU915, though I did still have issues, until I placed a LMIC_selectSubBand(x) just before the code sets the schedule for next transmission. With that small change, it appears to function as I would expect it too.

See here for details: https://github.com/mcci-catena/arduino-lmic/issues/340 Also some further reading for AU915: https://forum.loraserver.io/t/communication-end-node-au915-class-c/5021/7