Skip to content

Appy Duty Cycle #28

May 20, 2022 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

This is great.. im testing with ESP8266 (i also use ESP32 with i2c EEPROM) and try to save LoraState in "EEPROM" (emulated) so dont need to OTAA again when power goes off/on

if i use somethink likeLmic::saveState(store); | LMIC.loadState(retrieve); even if i didnt define LMIC.setDutyRate(xx); i get the delay .

20519906 sec TX_INTERVAL 3875000
24395875 Uplink delayed until 35740282

i have behavior that i don't understand

Let say i flash ESP.. then first time .. LMICPP do OTAA, join request/accept and send first payload... node are now insync.
then i power off node .. power on .. the LMICPP read state from EEPROM and try to send first payload

Setup(){
  (...)
  nextSend = os_getTime() ;
}

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ngraziano
Comment options

@daeynasvistas
Comment options

Answer selected by daeynasvistas
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants