Appy Duty Cycle #28
-
this is great.. in multiple example i can see: apply this on my code: i can see that the payload are "delayed" when apply.. so duty cycle did change and less payoad are sent .. or the interval between payload are increased.
can someone explain the "12" value? some theoretical explanation |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi The TTN community network have a fair use of 30 seconds per day (24 hours) per node. On LMICPP you can only queue one packet, so only the last packet is sent when you hit duty cycle. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Works very well! Power ON device first time ever. after that.. it will send payload and apply LMIC.setDutyRate(xx); if the device gets disconnected from source power .. when power ON it will send payload without OTAA. And without delay.. after that the duty rate use the LMIC.setDutyRate(xx); so,unless the devices gets in some poweroff poweron cycle, some reset loop (i need to do some change to prevente this) it respect the limitation of the region |
Beta Was this translation helpful? Give feedback.
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 .
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
…