mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-06 06:55:07 +00:00
OTA security added
This commit is contained in:
parent
310b3afe59
commit
a396c3a9bf
4 changed files with 25 additions and 5 deletions
|
|
@ -64,6 +64,9 @@ void Configuration::readFile(fs::FS &fs, const char *fileName) {
|
|||
syslog.port = data["syslog"]["port"].as<int>();
|
||||
|
||||
bme.active = data["bme"]["active"].as<bool>();
|
||||
|
||||
ota.username = data["ota"]["username"].as<String>();
|
||||
ota.password = data["ota"]["password"].as<String>();
|
||||
|
||||
configFile.close();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue