Closed OstertagM closed 4 years ago
Just keep this option ON.
BTW. This document may make sense to you: https://heltec-automation-docs.readthedocs.io/en/latest/cubecell/quick_start.html
Thanks a lot.
Enable LORAWAN_Net_Reservation must disable Frame counter (fCnt) in LoRa server.
I think frame counts could also be safed and used again. What happens if I do not deactivate it? With what frame count starts after reset? Sorry for asking I can't test it at moment.
IS NOT working see now post: https://github.com/HelTecAutomation/ASR650x-Arduino/issues/32
On the CubeCell board, there doesn't have an EEPROM, so the OTAA related parameters and keys are directly stored in FLASH. The number of flash reads and writes is often less than 100,000. If each downlink is stored, this will seriously reduce the life of the flash. So we store it every 15,000 times, which is why fCnt is turned off.
OK so if I connect to an EEProm external and write read here it would work! But why did net reservation not work? Sry for Re open but net reservation doesn't work.
You need to make sure the node has successfully received last downlink message.
I know. But als there is a gap for missing some downlink. The important is that I can send only f.e. Each 100 an confirmed one and the other a unconfirmed is that possible?
Which LoRa server did you use? Can you please upload your global_conf.json file? I think the problem is because of you gateway have a different listening frequency with CubeCell sending frequency.
I use TTN and it's indoor Gateway. So I don't have this file. And what has your answer todo with my question? I want to know why the node doesn't save keys if net reserve is on? And if I can send uplink confirmed and unconfirmed in same sketch?
I had just tested and confirmed at my side, the keys save at my side, there are two important keys to success:
No, only confirmed or unconfirmed in the same sketch.
You know where is limitation on downlink in TTN. So I can do not always sending a confirmed uplink! Please provide a possibility in your lib to switch on confirmed for one uplink!
That's very easy...
when you received the first downlink message (by judge the fCnt), just set the isTxConfirmed
to false
by software.
How can I save the session secrets in ee prom and restore it? I don't want to do an ttn rejoin after complete loose of power.