This is an old revision of the document!
Table of Contents
LoRaWAN
This page is work-in-progress and parts do not belong here.
Arduino
Install
Program
Edit Arduino/libraries/MCCI_LoRaWAN_LMIC_library/project_config/lmic_project_config.h
#define LMIC_LORAWAN_SPEC_VERSION LMIC_LORAWAN_SPEC_VERSION_1_0_3 #define CFG_eu868 1 #define CFG_sx1276_radio 1 #define DISABLE_PING #define DISABLE_BEACONS #define LMIC_ENABLE_DeviceTimeReq 0 #ifdef Serial #define LMIC_PRINTF_TO Serial #define LMIC_DEBUG_LEVEL 0 #endif
Setting the debug level to 2 only works on larger memory devices such as the ATmega2560 and must be 0 for ATmega328P.
When testing with ChirpStack a MEGA2560 clone did not reliably register JoinAccept from the server but it did so eventually. This issue is not present on an Arduino UNO clone nor an ARM based Seeeduino Zero.
NB Enabling debug output will fail to compile on an ARM based board with SerialUSB.