From 3050565531af2b3a09f2213893f10c64cf9fe43f Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 24 Feb 2021 19:50:20 +0100 Subject: added test app with voice, wifi/cellular data connectivity examples --- fw/fe310/eos/wifi.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'fw/fe310/eos/wifi.h') diff --git a/fw/fe310/eos/wifi.h b/fw/fe310/eos/wifi.h index 732a7a9..57048af 100644 --- a/fw/fe310/eos/wifi.h +++ b/fw/fe310/eos/wifi.h @@ -1,14 +1,16 @@ #include #include "event.h" -#define EOS_WIFI_MTYPE_SCAN 0 -#define EOS_WIFI_MTYPE_CONNECT 1 -#define EOS_WIFI_MTYPE_DISCONNECT 2 +#define EOS_WIFI_MTYPE_SCAN 1 +#define EOS_WIFI_MTYPE_CONNECT 2 +#define EOS_WIFI_MTYPE_DISCONNECT 3 -#define EOS_WIFI_MAX_MTYPE 3 +#define EOS_WIFI_MAX_MTYPE 4 void eos_wifi_init(void); void eos_wifi_set_handler(unsigned char mtype, eos_evt_handler_t handler); +eos_evt_handler_t eos_wifi_get_handler(unsigned char mtype); +void eos_wifi_scan(void); void eos_wifi_connect(const char *ssid, const char *pass); void eos_wifi_disconnect(void); -- cgit v1.2.3