diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-07 17:17:21 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-07 17:17:21 +0100 |
commit | 2e6facf66ee3d6aa37f2fb41096b1763261506a7 (patch) | |
tree | 61ecbe97cb53f1371c655b8564cc269bffd07ce1 /code/fe310/eos/wifi.h | |
parent | 040f4333678f46f3558e604014d460076244af6b (diff) |
eos evtq flags refactor; net buf flags refator for all modules
Diffstat (limited to 'code/fe310/eos/wifi.h')
-rw-r--r-- | code/fe310/eos/wifi.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/code/fe310/eos/wifi.h b/code/fe310/eos/wifi.h index d46d25b..3587d1d 100644 --- a/code/fe310/eos/wifi.h +++ b/code/fe310/eos/wifi.h @@ -1,4 +1,5 @@ #include <stdint.h> +#include "event.h" #define EOS_WIFI_MTYPE_SCAN 0 #define EOS_WIFI_MTYPE_CONNECT 1 @@ -6,9 +7,8 @@ #define EOS_WIFI_MAX_MTYPE 3 -typedef void (*eos_wifi_fptr_t) (unsigned char *, uint16_t); - void eos_wifi_init(void); +void eos_wifi_set_handler(int mtype, eos_evt_fptr_t handler, uint8_t flags); + void eos_wifi_connect(const char *ssid, const char *pass); void eos_wifi_disconnect(void); -void eos_wifi_set_handler(int mtype, eos_wifi_fptr_t handler, uint8_t flags);
\ No newline at end of file |