ESP-IDF component for WiFi connection handling.
Find a file
2018-09-21 21:29:41 -07:00
include use defines for event states 2018-09-03 20:31:32 -07:00
main make state bits available 2018-09-03 19:53:12 -07:00
test/wm-test-project properly start wifi manager 2018-09-21 21:29:41 -07:00
component.mk init skeleton commit 2018-09-02 17:10:41 -07:00
Kconfig switched to nvs no longer need memory address 2018-09-03 15:34:16 -07:00
README.md basic hashed out README 2018-09-21 19:14:25 -07:00

esp32-wifi-manager

WiFi Manager for ESP32. That's it. No captive portal, no fallback if AP is not available. Just WiFi Management.

What does it do?

  • Stores info for multiple APs
  • Connects to "best" AP available
  • Remembers which AP was connected to last
  • Tells you you're a pretty alrigh person

API

EventGroupHandle_t wifi_manager_start()

Creates EventGroup and starts main WiFi Manager task loop.

uint8_t wifi_manager_ap_count()

Return number of AP in storage.

uint8_t wifi_manager_add_ap(char *ssid, char *password)

Adds AP to storage. !This will change! Will become a struct config.

EventGroupHandle_t wm_event_group Bits

WIFI_CONNECTED

WiFi connected has been successful.

WIFI_CONNECTING

WiFi Manager is attempting to make a connection.

AP_AVAILABLE

AP info has been retreived from storage. This is in flux, the naming is potentially confusing.