mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
remove TODO comment
This commit is contained in:
@@ -668,7 +668,6 @@ void System::send_info_mqtt() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// create the json for heartbeat
|
// create the json for heartbeat
|
||||||
// TODO camelCase
|
|
||||||
void System::heartbeat_json(JsonObject output) {
|
void System::heartbeat_json(JsonObject output) {
|
||||||
switch (EMSESP::bus_status()) {
|
switch (EMSESP::bus_status()) {
|
||||||
case EMSESP::BUS_STATUS_OFFLINE:
|
case EMSESP::BUS_STATUS_OFFLINE:
|
||||||
@@ -1414,7 +1413,7 @@ bool System::command_info(const char * value, const int8_t id, JsonObject output
|
|||||||
#endif
|
#endif
|
||||||
EMSESP::esp8266React.getNetworkSettingsService()->read([&](NetworkSettings & settings) {
|
EMSESP::esp8266React.getNetworkSettingsService()->read([&](NetworkSettings & settings) {
|
||||||
if (WiFi.status() == WL_CONNECTED && !settings.bssid.isEmpty()) {
|
if (WiFi.status() == WL_CONNECTED && !settings.bssid.isEmpty()) {
|
||||||
node["BSSID"] = "set"; // TODO why is this not the actual value?
|
node["BSSID"] = "set"; // TODO why is this not the actual value??
|
||||||
}
|
}
|
||||||
node["TxPower setting"] = settings.tx_power;
|
node["TxPower setting"] = settings.tx_power;
|
||||||
node["static ip config"] = settings.staticIPConfig;
|
node["static ip config"] = settings.staticIPConfig;
|
||||||
|
|||||||
Reference in New Issue
Block a user