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

21 lines
459 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-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);
EventGroupHandle_t wifi_manager_start();
#endif