wifi.h 254 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #ifndef _WIFI_H_ #define _WIFI_H_ #define MAX_WIFI_RECONNECT_RETRIES 5 #define WIFI_CONNECTED_BIT BIT0 #define WIFI_FAIL_BIT BIT1 extern char ip_addr[16]; esp_err_t init_wifi(); esp_err_t connect_wifi(const char* ssid, const char* password); #endif