Open JoToSystems opened 2 years ago
I haven't ported the lora packet forwarder, because SAMD21 doesn't have internet connection by it self. I'm mostly using it to capture the LoRa packages directly and print it to serial ports.
The "main.c" files that will run in Arduino IDE is under the examples folder, so you can select different examples that I ported to Arduino.
package forwarder is on the TODO list, but I need to see if it works on ESP32 based system first.
I can compile the example sketches into a SAMD51, so tried some alternate SOCs. Found it ran out of flash memory on a SAMD21. Then went onto a ESP32 and there is a compiler conflict between the "void setup" and the "C" links. I didn't pursue this issue as I am interested in using POE to power the system and as such will look at using a W5x00 series ethernet chip via SPI. Thanks again for helping me understand how this works under a Arduino IDE. I'll come back when I get the Ethernet option working.
I realise this is a bit old but I'm using the holidays as an opportunity to learn how you ported the code to the Arduino environment and wonder if you could help?
I'm trying to understand the file that's loaded into the Arduino IDE that is compiled. I'm thinking this should be lora_pkt_fwd.c?
Also trying to understand how you dealt with swapping from Ethernet to USB. I assume you are not using the Microchip method of using a SPI to USB bridge?
Any pointers to understand this would be appreciated.