mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
rename generate_values_web_customization
This commit is contained in:
@@ -200,7 +200,7 @@ class EMSdevice {
|
|||||||
enum OUTPUT_TARGET : uint8_t { API_VERBOSE, API_SHORTNAMES, MQTT, CONSOLE };
|
enum OUTPUT_TARGET : uint8_t { API_VERBOSE, API_SHORTNAMES, MQTT, CONSOLE };
|
||||||
bool generate_values(JsonObject & output, const uint8_t tag_filter, const bool nested, const uint8_t output_target);
|
bool generate_values(JsonObject & output, const uint8_t tag_filter, const bool nested, const uint8_t output_target);
|
||||||
void generate_values_web(JsonObject & output);
|
void generate_values_web(JsonObject & output);
|
||||||
void generate_values_web_all(JsonArray & output);
|
void generate_values_web_customization(JsonArray & output);
|
||||||
|
|
||||||
void register_device_value(uint8_t tag,
|
void register_device_value(uint8_t tag,
|
||||||
void * value_p,
|
void * value_p,
|
||||||
|
|||||||
@@ -418,7 +418,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const
|
|||||||
// emsdevice->generate_values_web(root);
|
// emsdevice->generate_values_web(root);
|
||||||
|
|
||||||
JsonArray output = doc.to<JsonArray>();
|
JsonArray output = doc.to<JsonArray>();
|
||||||
emsdevice->generate_values_web_all(output);
|
emsdevice->generate_values_web_customization(output);
|
||||||
|
|
||||||
Serial.print(COLOR_BRIGHT_MAGENTA);
|
Serial.print(COLOR_BRIGHT_MAGENTA);
|
||||||
serializeJson(doc, Serial);
|
serializeJson(doc, Serial);
|
||||||
|
|||||||
Reference in New Issue
Block a user