Commit 16097a29 authored by Eric Duminil's avatar Eric Duminil
Browse files

Note

parent 216b7e3f
Pipeline #5852 passed with stage
in 2 minutes and 14 seconds
...@@ -98,8 +98,7 @@ namespace lorawan { ...@@ -98,8 +98,7 @@ namespace lorawan {
u1_t nwkKey[16]; u1_t nwkKey[16];
u1_t artKey[16]; u1_t artKey[16];
LMIC_getSessionKeys(&netid, &devaddr, nwkKey, artKey); LMIC_getSessionKeys(&netid, &devaddr, nwkKey, artKey);
//TODO: Save session keys to EEPROM? //NOTE: Saving session to EEPROM seems like a good idea at first, but unfortunately: too much info is needed, and a counter would need to be save every single time data is sent.
//e.g. with https://github.com/Edzelf/LoRa/blob/master/ESP_lora_tracker/ESP8266_loratracker.ino
Serial.print(F(" netid: ")); Serial.print(F(" netid: "));
Serial.println(netid, DEC); Serial.println(netid, DEC);
Serial.print(F(" devaddr: ")); Serial.print(F(" devaddr: "));
......
...@@ -255,8 +255,6 @@ namespace web_config { ...@@ -255,8 +255,6 @@ namespace web_config {
iotWebConf->setWifiConnectionTimeoutMs(1000UL * config::wifi_timeout); iotWebConf->setWifiConnectionTimeoutMs(1000UL * config::wifi_timeout);
iotWebConf->skipApStartup(); iotWebConf->skipApStartup();
//TODO: Add callbacks
//TODO: Save LoRaWAN key if possible?
iotWebConf->init(); iotWebConf->init();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment