summaryrefslogtreecommitdiff
path: root/platformio/relayctl/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'platformio/relayctl/src/config.h')
-rw-r--r--platformio/relayctl/src/config.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/platformio/relayctl/src/config.h b/platformio/relayctl/src/config.h
index 58a5f25..562b61a 100644
--- a/platformio/relayctl/src/config.h
+++ b/platformio/relayctl/src/config.h
@@ -14,20 +14,20 @@ struct ConfigData {
// helpers
uint32_t crc = 0;
uint32_t magic = 0;
- char node_id[16] = {0};
+ char home_id[16] = {0};
char wifi_ssid[32] = {0};
char wifi_psk[63] = {0};
ConfigFlags flags {0};
// helper methods
- char* escapeNodeId(char* buf, size_t len);
+ char* escapeHomeId(char* buf, size_t len);
} __attribute__((packed));
ConfigData read();
-bool write(ConfigData& data);
-bool erase();
-bool erase(ConfigData& data);
+void write(ConfigData& data);
+void erase();
+void erase(ConfigData& data);
bool isValid(ConfigData& data);
bool isDirty(ConfigData& data);