I’m using RAK 11720 Apollo3 on Arduino for the 1st time (win10 - Arduino 2.2.1, Board RUI is v4.0.6 ) . The LoRaWAN example (when adjusted for US BAND and MASK) in the Arduino menu compiles fine and uploads and runs but the script apparently fails when sending data. The script serial output reports failed send attempts after the first send and the data does not arrive at my Chirpstack LNS.
I’m seeing that the problem is the sleep function between sends when using api.system.sleep.all( ms) that is called in the loop() function.
My temporary workaround is: replace api.system.sleep.all (int ms_time) with a delay(int ms_time).