XFusion API v1.3.0
|
宏定义 | |
#define | EXAMPLE_WIFI_AUTHMODE XF_WIFI_AUTH_WPA_WPA2_PSK |
#define | EXAMPLE_WIFI_CHANNEL 6 |
#define | EXAMPLE_WIFI_SSID_HIDDEN_FLAG 0 |
#define | EX_EASY_WIFI_AP_MAC "\x11\x22\x33\x44\x55\x66" |
#define | EX_EASY_WIFI_STA_MAC "\xaa\xbb\xcc\xdd\xee\xff" |
#define | EX_THREAD_NAME "ex_sta" |
#define | EX_THREAD_PRIORITY XF_OSAL_PRIORITY_NORMOL |
#define | EX_THREAD_STACK_SIZE (1024 * 4) |
函数 | |
static void | _wifi_ap_event_handler (xf_wifi_event_id_t event_id, void *event_data, void *user_args) |
static void | _wifi_ip_event_handler (xf_ip_event_id_t event_id, void *event_data, void *user_args) |
static void | _wifi_sta_event_handler (xf_wifi_event_id_t event_id, void *event_data, void *user_args) |
static void | _ip_event_handler (xf_ip_event_id_t event_id, void *event_data, void *user_args) |
static void | _sta_task (void *argument) |
xf_err_t | ex_easy_wifi_ap (void) |
xf_ip4_addr_t | ex_easy_wifi_ap_get_last_sta_ip (void) |
xf_ip4_addr_t | ex_easy_wifi_ap_get_onw_ip (void) |
xf_err_t | ex_easy_wifi_sta (void) |
bool | ex_easy_wifi_sta_is_connected (void) |
bool | ex_easy_wifi_sta_got_ip (void) |
xf_ip4_addr_t | ex_easy_wifi_sta_get_gw_ip (void) |
xf_ip4_addr_t | ex_easy_wifi_sta_get_onw_ip (void) |
变量 | |
static const char * | TAG = "ex_easy_wifi" |
static xf_wifi_ap_cfg_ext_t | s_ap_cfg_ext |
static xf_wifi_ap_cfg_t | s_ap_cfg |
static uint8_t | s_ap_ip_assigned = false |
static uint8_t | s_sta_connected = false |
static uint8_t | s_sta_got_ip_flag = false |
static xf_wifi_sta_cfg_ext_t | s_sta_cfg_ext |
static xf_wifi_sta_cfg_t | s_sta_cfg |
static xf_osal_thread_t | s_sta_thread_hdl = NULL |
static const xf_osal_thread_attr_t | s_sta_attr |
#define EXAMPLE_WIFI_AUTHMODE XF_WIFI_AUTH_WPA_WPA2_PSK |
#define EXAMPLE_WIFI_CHANNEL 6 |
#define EXAMPLE_WIFI_SSID_HIDDEN_FLAG 0 |
#define EX_EASY_WIFI_AP_MAC "\x11\x22\x33\x44\x55\x66" |
在文件 ex_easy_wifi.c 第 30 行定义.
#define EX_EASY_WIFI_STA_MAC "\xaa\xbb\xcc\xdd\xee\xff" |
在文件 ex_easy_wifi.c 第 33 行定义.
#define EX_THREAD_NAME "ex_sta" |
在文件 ex_easy_wifi.c 第 94 行定义.
#define EX_THREAD_PRIORITY XF_OSAL_PRIORITY_NORMOL |
在文件 ex_easy_wifi.c 第 95 行定义.
#define EX_THREAD_STACK_SIZE (1024 * 4) |
在文件 ex_easy_wifi.c 第 96 行定义.
|
static |
|
static |
|
static |
|
static |
|
static |
在文件 ex_easy_wifi.c 第 283 行定义.
xf_err_t ex_easy_wifi_ap | ( | void | ) |
xf_ip4_addr_t ex_easy_wifi_ap_get_last_sta_ip | ( | void | ) |
在文件 ex_easy_wifi.c 第 127 行定义.
xf_ip4_addr_t ex_easy_wifi_ap_get_onw_ip | ( | void | ) |
在文件 ex_easy_wifi.c 第 165 行定义.
xf_err_t ex_easy_wifi_sta | ( | void | ) |
bool ex_easy_wifi_sta_is_connected | ( | void | ) |
在文件 ex_easy_wifi.c 第 220 行定义.
bool ex_easy_wifi_sta_got_ip | ( | void | ) |
在文件 ex_easy_wifi.c 第 225 行定义.
xf_ip4_addr_t ex_easy_wifi_sta_get_gw_ip | ( | void | ) |
xf_ip4_addr_t ex_easy_wifi_sta_get_onw_ip | ( | void | ) |
在文件 ex_easy_wifi.c 第 256 行定义.
|
static |
在文件 ex_easy_wifi.c 第 54 行定义.
|
static |
在文件 ex_easy_wifi.c 第 58 行定义.
|
static |
在文件 ex_easy_wifi.c 第 62 行定义.
|
static |
在文件 ex_easy_wifi.c 第 71 行定义.
|
static |
是否已连接
在文件 ex_easy_wifi.c 第 75 行定义.
|
static |
是否获取到 IP
在文件 ex_easy_wifi.c 第 76 行定义.
|
static |
在文件 ex_easy_wifi.c 第 78 行定义.
|
static |
在文件 ex_easy_wifi.c 第 82 行定义.
|
static |
在文件 ex_easy_wifi.c 第 93 行定义.
|
static |
在文件 ex_easy_wifi.c 第 97 行定义.