M5-ProductExampleCodes
M5-ProductExampleCodes copied to clipboard
LoRaWAN example unsupported commands
Hi
I tried out the LoRaWAN examples with the M5 COM.X LoRaWAN module. It doesn't work and after some troubleshooting it turns out that for most of the commands sent to the LoRA module, the response is +ERROR: Command does not exist
Also really important to notice is that if you run it with a Core2 you need to replace the M5Stack.h include with M5Core2.h and comment out lora.init();
and replace it with Serial2.begin(115200, SERIAL_8N1, 13, 14);
because the M-bus pinout is different.
And finally replace M5.begin();
with M5.begin(true, true, true, false, kMBusModeInput);
It could be a good idea to have this info in the beginning of the .ino
But none of the above changes will make it work, as long as the commands in the lib are non-existent.
I cant even get it to load at all, which is rather odd.