LacunaSpace / basicmac

BasicMAC LoRaWAN stack that supports (but is not limited to) Arduino
Other
79 stars 18 forks source link

Missing Region - RU864 #19

Open lightaprs opened 4 years ago

lightaprs commented 4 years ago

Hi,

Is there any plan to add RU864 to regions: https://github.com/LacunaSpace/basicmac/blob/master/lmic/region.h

Only following regions supported:

// public region codes - DO NOT CHANGE! enum { REGCODE_UNDEF = 0, REGCODE_EU868 = 1, REGCODE_AS923 = 2, REGCODE_US915 = 3, REGCODE_AU915 = 4, REGCODE_CN470 = 5, REGCODE_IN865 = 6, };

But in the https://github.com/LacunaSpace/basicmac/blob/master/tools/pylora/loradefs.py file, RU864 is supported:

REGIONS = { 'EU868' : EU868, 'EU863' : EU868, # alias 'EU433' : EU433, 'US915' : US915, 'US902' : US915, # alias 'AU915' : AU915, 'CN470' : CN470, 'CN779' : CN779, 'AS923' : AS923, 'KR920' : KR920, 'IN865' : IN865, 'IL915' : IL915, 'RU864' : RU864, }