Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save matthijskooijman/e47cf0fa38532adfe017a0bb6cef6c86 to your computer and use it in GitHub Desktop.
Save matthijskooijman/e47cf0fa38532adfe017a0bb6cef6c86 to your computer and use it in GitHub Desktop.
Start
Waiting for GPS...
No GPS (fix) found: check wiring
tmp/hum: 18.2,60.4
Packet queued
3444186: EV_JOINING
Transmit timeout
Sleeping for 785400ms...
Woke up.
Waiting for GPS...
No GPS (fix) found: check wiring
tmp/hum: 17.5,62.5
Packet queued
FAILURE
/home/matthijs/docs/Electronics/Arduino/Sketches/libraries/lmic/src/lmic/radio.c:660
659 static void startrx (u1_t rxmode) {
660 ASSERT( (readReg(RegOpMode) & OPMODE_MASK) == OPMODE_SLEEP );
661 if(getSf(LMIC.rps) == FSK) { // FSK modem
662 rxfsk(rxmode);
663 } else { // LoRa modem
664 rxlora(rxmode);
665 }
666 // the radio will go back to STANDBY mode as soon as the RX is finished
667 // or timed out, and the corresponding IRQ will inform us about completion.
668 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment