diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:12:15 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:12:15 +0100 |
commit | 4c28fb525edc64fa16c6c3bf10929dca65d9c77c (patch) | |
tree | 2531b3bcc2d06c655f6eb9a6233696f5eadfa089 /code/esp32/components/eos/include/wifi.h | |
parent | 31578e285a21a749a49e3ac146feb8b02fcc7b52 (diff) |
esp32 refactoring
Diffstat (limited to 'code/esp32/components/eos/include/wifi.h')
-rw-r--r-- | code/esp32/components/eos/include/wifi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/code/esp32/components/eos/include/wifi.h b/code/esp32/components/eos/include/wifi.h new file mode 100644 index 0000000..42c77bd --- /dev/null +++ b/code/esp32/components/eos/include/wifi.h @@ -0,0 +1,9 @@ +#define EOS_WIFI_MTYPE_SCAN 0 +#define EOS_WIFI_MTYPE_CONNECT 1 +#define EOS_WIFI_MTYPE_DISCONNECT 2 + +#define EOS_WIFI_MAX_MTYPE 3 + +void eos_wifi_init(void); +void eos_wifi_connect(char *ssid, char *pass); +void eos_wifi_disconnect(void); |