DeuxVis/Lora-TTNMapper-T-Beam

AS923 frequency

Opened this issue · 0 comments

Hye, I'm new to this t-beam and LoraWan..

I have some problem regarding the frequency plan that can be used, currently I'm in Malaysia which require to use 923mhz to function and while compiling your code as an example, I got an issue which is:

C:\Users\u\Documents\Arduino\libraries\MCCI_LoRaWAN_LMIC_library\src\hal\getpinmap_thisboard.cpp: In function 'const Arduino_LMIC::HalPinmap_t* Arduino_LMIC::GetPinmap_ThisBoard()':
C:\Users\u\Documents\Arduino\libraries\MCCI_LoRaWAN_LMIC_library\src\hal\getpinmap_thisboard.cpp:71:72: note: #pragma message: Board not supported -- use an explicit pinmap
#pragma message("Board not supported -- use an explicit pinmap")
^

Also, after compiling, i receive "no gps fix" as the result, i have try to change some of the code according to others problem, but it still dosnt fix my problem

i also try to change the frequency from eu868 to as 923 according to my country but still not working. and if i change to other option which have "LMIC_selectSubBand(1);" below, i will get an error where its dosnt detect the selectSubBand option.

#ifdef CFG_as923
LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI); // g-band
LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band
LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI); // g2-band
#endif

#ifdef CFG_eu868
LMIC_selectSubBand(1);

sorry if its quite long, but i really need help regarding my problem, especially because im using as923
please help me..thanks!