-
Notifications
You must be signed in to change notification settings - Fork 28
/
wlan.h
36 lines (29 loc) · 1.17 KB
/
wlan.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef _wlan_h_
#define _wlan_h_
#include "util.h"
#include "dispatch.h"
#include <stdbool.h>
typedef enum
{
config_wlan_mode_client,
config_wlan_mode_ap
} config_wlan_mode_t;
extern roflash const char help_description_stats_wlan[];
extern roflash const char help_description_wlan_ap_config[];
extern roflash const char help_description_wlan_client_config[];
extern roflash const char help_description_wlan_mode[];
extern roflash const char help_description_wlan_scan[];
void wlan_init(void);
bool wlan_reconnect(void);
void wlan_periodic(void);
void wlan_start_recovery(void);
void wlan_multicast_init_groups(void);
bool wlan_client_configure(string_t *error, const char *ssid, const char *password);
void stats_wlan(string_t *dst);
app_action_t application_function_wlan_scan(app_params_t *parameters);
app_action_t application_function_wlan_ap_configure(app_params_t *parameters);
app_action_t application_function_wlan_client_configure(app_params_t *parameters);
app_action_t application_function_stats_wlan(app_params_t *parameters);
app_action_t application_function_wlan_mode(app_params_t *parameters);
app_action_t application_function_wlan_reset(app_params_t *parameters);
#endif