OTA security added

This commit is contained in:
richonguzman 2023-08-28 22:08:00 -04:00
parent 310b3afe59
commit a396c3a9bf
4 changed files with 25 additions and 5 deletions

View file

@ -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();
}