Skip to content

Commit

Permalink
WiFi tweaks (including enable/disable WiFi feature) (#111)
Browse files Browse the repository at this point in the history
keira: allow to enable/disable WiFi
keira: fix clock service stealing all CPU time when network is not available
keira: use keira nvs namespace for network stuff
keira: update battery icons
keira: add telnet nvs commands
keira: use keira namespace for weather & ftp config
sdk: add colors to log levels
sdk: do not deinit WiFi on startup since it's unnecessary
  • Loading branch information
and3rson committed Apr 20, 2024
1 parent 81260b4 commit e4b05bc
Show file tree
Hide file tree
Showing 21 changed files with 1,239 additions and 448 deletions.
4 changes: 2 additions & 2 deletions firmware/keira/src/apps/ftp/ftp_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ String FTPServerApp::createPassword() {
password[pwdLen] = '\0';

Preferences prefs;
prefs.begin("ftp", false);
prefs.begin("keira", false);
prefs.putString("password", password);
prefs.end();

Expand All @@ -79,7 +79,7 @@ String FTPServerApp::createPassword() {

String FTPServerApp::getPassword() {
Preferences prefs;
prefs.begin("ftp", true);
prefs.begin("keira", true);
String password;
if (!prefs.isKey("password")) {
password = "";
Expand Down
96 changes: 48 additions & 48 deletions firmware/keira/src/apps/icons/battery.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified firmware/keira/src/apps/icons/battery.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4b05bc

Please sign in to comment.