diff -r e38ffa806e84 -r f9eca4a55911 main/config.h --- a/main/config.h Wed Oct 30 23:21:46 2019 +0100 +++ b/main/config.h Thu Oct 31 22:22:22 2019 +0100 @@ -67,12 +67,12 @@ typedef enum { ML1_INIT = 0, ///< Init fase - ML1_CONNECT, ///< Connect WiFi + ML1_CONNECT, ///< Connect WiFi ML1_MQTT_CONNECT, ///< Connect MQTT if WiFi - ML1_WAITCON, ///< Wait for connection and measurements + ML1_WAITCON, ///< Wait for connection and measurements ML1_SEND, ///< Send MQTT node and units messages - ML1_WAITACK, ///< MQTT messages received - ML1_MQTT_DISCONNECT, ///< MQTT disconnect + ML1_WAITACK, ///< MQTT messages received + ML1_MQTT_DISCONNECT, ///< MQTT disconnect ML1_DISCONNECT, ///< Disconnect WiFi ML1_WIFI_OFF, ///< WiFi power off ML1_DONE ///< All done @@ -111,7 +111,7 @@ char ntp_server[32]; ///< Preffered NTP server. char hostname[32]; ///< Our hostname. char uuid[37]; ///< Sort of uuid code. - char xlastSSID[32]; ///< Last connected station. + char xlastSSID[32]; ///< Not used anymore. char mqtt_server[32]; ///< MQTT server. uint16_t mqtt_port; ///< MQTT TCP port. char mqtt_user[32]; ///< MQTT user name if needed. @@ -124,8 +124,9 @@ */ void write_config(void); -/** @brief Read configuration file. If it doesn't exist create and - * write a new configuration file with sane defaults. +/** + * @brief Read configuration file. If it doesn't exist create and + * write a new configuration file with sane defaults. */ void read_config(void);