Commit b3843a73 authored by Eric Duminil's avatar Eric Duminil
Browse files

Todo

parent 769f775e
Pipeline #5874 passed with stage
in 2 minutes and 24 seconds
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
namespace sensor_console { namespace sensor_console {
const uint8_t MAX_COMMANDS = 26; const uint8_t MAX_COMMANDS = 26;
//TODO: Check if it's really needed? Is it including parameter???
const uint8_t MAX_COMMAND_SIZE = 20; // Should be enough for "set_time 1618829570\n" const uint8_t MAX_COMMAND_SIZE = 20; // Should be enough for "set_time 1618829570\n"
uint8_t commands_count = 0; uint8_t commands_count = 0;
......
...@@ -99,6 +99,7 @@ bool IotWebConf::init() ...@@ -99,6 +99,7 @@ bool IotWebConf::init()
WiFi.setHostname(this->_thingName); WiFi.setHostname(this->_thingName);
#endif #endif
#ifdef IOTWEBCONF_CONFIG_USE_MDNS #ifdef IOTWEBCONF_CONFIG_USE_MDNS
//TODO: What is _thingName set to at this point??
MDNS.begin(this->_thingName); MDNS.begin(this->_thingName);
MDNS.addService("http", "tcp", IOTWEBCONF_CONFIG_USE_MDNS); MDNS.addService("http", "tcp", IOTWEBCONF_CONFIG_USE_MDNS);
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment