esp32-wifi-manager/include/esp32-wifi-manager.h

23 lines
520 B
C
Raw Normal View History

2018-09-03 22:46:36 -04:00
#ifndef __WIFI_MANAGER_H
#define __WIFI_MANAGER_H
#define WIFI_MANAGER_MAGIC (0xb00b000c)
void wifi_manager_save_config();
void wifi_manager_load_config();
void wifi_manager_reset_store();
#define WIFI_CONNECTED (BIT0)
#define WIFI_CONNECTING (BIT1)
#define AP_AVAILABLE (BIT2)
#define WIFI_IDLE (BIT3)
2018-09-22 21:33:57 -04:00
#define WIFI_SCANNING (BIT4)
2018-09-03 22:53:12 -04:00
2018-09-03 22:46:36 -04:00
uint8_t wifi_manager_ap_count();
uint8_t wifi_manager_add_ap(char *essid, char *password);
2018-09-22 01:34:24 -04:00
void wifi_manager_connect();
2018-09-03 22:46:36 -04:00
EventGroupHandle_t wifi_manager_start();
#endif