Hello All,
I am just starting to play with LMIC for the esp32 (I really hope it works)
I am trying to connect in the AS923.
So far, I updated the lmic_project_config.h
file to look like so:
#define LMIC_LORAWAN_SPEC_VERSION LMIC_LORAWAN_SPEC_VERSION_1_0_3
#define CFG_as923 1
#define LMIC_COUNTRY_CODE LMIC_COUNTRY_CODE_JP
#define CFG_sx1276_radio 1
This I believe to be correct. But setting LMIC_setupBand()
in this file fails, and setting it right after the pin coniguration in the OTAA example of the arduino file results in the error:
ttn-otaa-Test:41:17: error: expected constructor, destructor, or type conversion before ';' token
LMIC_setupBand();
any help at all would be greatly appreciated.
Thanks all!