main/config.h

changeset 47
1ab1f4a8c328
parent 38
46e2c385e9de
child 52
90a36619b07b
equal deleted inserted replaced
46:2cf4b15895f2 47:1ab1f4a8c328
38 #include "esp_wpa2.h" 38 #include "esp_wpa2.h"
39 #include "esp_event.h" 39 #include "esp_event.h"
40 #include "esp_spi_flash.h" 40 #include "esp_spi_flash.h"
41 #include "esp_ota_ops.h" 41 #include "esp_ota_ops.h"
42 #include "esp_http_client.h" 42 #include "esp_http_client.h"
43 #include "nvs.h"
44 #include "nvs_flash.h" 43 #include "nvs_flash.h"
45 #include "lwip/sockets.h" 44 #include "lwip/sockets.h"
46 #include "lwip/dns.h" 45 #include "lwip/dns.h"
47 #include "lwip/netdb.h" 46 #include "lwip/netdb.h"
48 #include "tcpip_adapter.h" 47 #include "tcpip_adapter.h"
69 ML1_CONNECT, ///< Connect WiFi 68 ML1_CONNECT, ///< Connect WiFi
70 ML1_MQTT_CONNECT, ///< Connect MQTT if WiFi 69 ML1_MQTT_CONNECT, ///< Connect MQTT if WiFi
71 ML1_WAITCON, ///< Wait for connection and measurements 70 ML1_WAITCON, ///< Wait for connection and measurements
72 ML1_SEND, ///< Send MQTT node and units messages 71 ML1_SEND, ///< Send MQTT node and units messages
73 ML1_WAITACK, ///< MQTT messages received 72 ML1_WAITACK, ///< MQTT messages received
74 ML1_MQTT_DISCONNECT, ///< MQTT disconnect
75 ML1_DISCONNECT, ///< Disconnect WiFi
76 ML1_WIFI_OFF, ///< WiFi power off
77 ML1_DONE ///< All done 73 ML1_DONE ///< All done
78 } ML1; 74 } ML1;
79 75
80 76
81 77

mercurial