XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_wifi_types.h 文件参考
#include "xf_utils.h"
#include "xf_mac.h"
#include "xf_netif_types.h"
xf_wifi_types.h 的引用(Include)关系图:

浏览源代码.

结构体

struct  _xf_wifi_country_t
 WiFi 国家码。 更多...
 
struct  _xf_wifi_static_ip_configuration_t
 wifi 静态 IP。 更多...
 
struct  _xf_wifi_softap_configuration_extended_t
 Soft-AP 扩展配置结构体。 谨慎使用,不同平台对这些配置的处理不一定相同。 更多...
 
struct  _xf_wifi_softap_configuration_t
 Soft-AP 基础配置结构体. 更多...
 
struct  _xf_wifi_station_configuration_extended_t
 STA 扩展配置结构体。 更多...
 
struct  _xf_wifi_station_configuration_t
 STA 基础配置结构体。 更多...
 
struct  _xf_wifi_station_information_t
 连接到当前 AP 的 STA 的信息。 更多...
 
struct  _xf_wifi_scan_cfg_t
 Parameters for an SSID scan. 更多...
 
struct  _xf_wifi_ap_info_t
 AP 信息。 扫描结果中使用。 更多...
 
struct  _xf_wifi_event_sta_connected_t
 STA 事件消息类型: 已连接到 AP。 事件 id 见 XF_WIFI_EVENT_STA_CONNECTED. 更多...
 
struct  _xf_wifi_event_sta_disconnected_t
 STA 事件消息类型: 已从 AP 断开连接。 事件 id 见 XF_WIFI_EVENT_STA_DISCONNECTED. 更多...
 
struct  _xf_wifi_event_ap_sta_connected_t
 AP 事件消息类型: STA 连接。 事件 id 见 XF_WIFI_EVENT_AP_STA_CONNECTED. 更多...
 
struct  _xf_wifi_event_ap_sta_disconnected_t
 AP 事件消息类型: STA 断开连接。 事件 id 见 XF_WIFI_EVENT_AP_STA_DISCONNECTED. 更多...
 

宏定义

#define XF_WIFI_SSID_LEN_MAX   (33)
 wifi ssid 最大长度。 32 字节有效字符 + 一个 '\0'。
 
#define XF_WIFI_PASSWORD_LEN_MAX   (65)
 wifi 密码最大长度。 64 字节有效字符 + 一个 '\0'。
 

类型定义

typedef enum _xf_wifi_interface_t xf_wifi_interface_t
 wifi 接口类型枚举。
 
typedef enum _xf_wifi_authenticate_mode_t xf_wifi_auth_mode_t
 授权模式的强度。 OPEN < WEP < WPA_PSK < OWE < WPA2_PSK = WPA_WPA2_PSK < WAPI_PSK < WPA3_PSK = WPA2_WPA3_PSK
 
typedef struct _xf_wifi_country_t xf_wifi_country_t
 WiFi 国家码。
 
typedef struct _xf_wifi_static_ip_configuration_t xf_wifi_static_ip_cfg_t
 wifi 静态 IP。
 
typedef struct _xf_wifi_softap_configuration_extended_t xf_wifi_ap_cfg_ext_t
 Soft-AP 扩展配置结构体。 谨慎使用,不同平台对这些配置的处理不一定相同。
 
typedef struct _xf_wifi_softap_configuration_t xf_wifi_ap_cfg_t
 Soft-AP 基础配置结构体.
 
typedef struct _xf_wifi_station_configuration_extended_t xf_wifi_sta_cfg_ext_t
 STA 扩展配置结构体。
 
typedef struct _xf_wifi_station_configuration_t xf_wifi_sta_cfg_t
 STA 基础配置结构体。
 
typedef struct _xf_wifi_station_information_t xf_wifi_sta_info_t
 连接到当前 AP 的 STA 的信息。
 
typedef struct _xf_wifi_scan_cfg_t xf_wifi_scan_cfg_t
 Parameters for an SSID scan.
 
typedef struct _xf_wifi_ap_info_t xf_wifi_ap_info_t
 AP 信息。 扫描结果中使用。
 
typedef enum _xf_wifi_event_code_t xf_wifi_event_code_t
 WiFi 事件声明。
 
typedef int32_t xf_wifi_event_id_t
 wifi 事件 id。见 xf_wifi_event_code_t.
 
typedef struct _xf_wifi_event_sta_connected_t xf_wifi_event_sta_conn_t
 STA 事件消息类型: 已连接到 AP。 事件 id 见 XF_WIFI_EVENT_STA_CONNECTED.
 
typedef struct _xf_wifi_event_sta_disconnected_t xf_wifi_event_sta_disconn_t
 STA 事件消息类型: 已从 AP 断开连接。 事件 id 见 XF_WIFI_EVENT_STA_DISCONNECTED.
 
typedef struct _xf_wifi_event_ap_sta_connected_t xf_wifi_event_ap_sta_conn_t
 AP 事件消息类型: STA 连接。 事件 id 见 XF_WIFI_EVENT_AP_STA_CONNECTED.
 
typedef struct _xf_wifi_event_ap_sta_disconnected_t xf_wifi_event_ap_sta_disconn_t
 AP 事件消息类型: STA 断开连接。 事件 id 见 XF_WIFI_EVENT_AP_STA_DISCONNECTED.
 
typedef void(* xf_wifi_cb_t) (xf_wifi_event_id_t event_id, void *event_data, void *user_args)
 wifi 回调函数原型。
 

枚举

enum  _xf_wifi_interface_t { XF_WIFI_IF_STA = 0 , XF_WIFI_IF_AP , XF_WIFI_IF_MAX }
 wifi 接口类型枚举。 更多...
 
enum  _xf_wifi_authenticate_mode_t {
  XF_WIFI_AUTH_OPEN = 0 , XF_WIFI_AUTH_WEP , XF_WIFI_AUTH_WPA_PSK , XF_WIFI_AUTH_WPA2_PSK ,
  XF_WIFI_AUTH_WPA_WPA2_PSK , XF_WIFI_AUTH_ENTERPRISE , XF_WIFI_AUTH_WPA2_ENTERPRISE = XF_WIFI_AUTH_ENTERPRISE , XF_WIFI_AUTH_WPA3_PSK ,
  XF_WIFI_AUTH_WPA2_WPA3_PSK , XF_WIFI_AUTH_WAPI_PSK , XF_WIFI_AUTH_OWE , XF_WIFI_AUTH_WPA3_ENT_192 ,
  XF_WIFI_AUTH_MAX
}
 授权模式的强度。 OPEN < WEP < WPA_PSK < OWE < WPA2_PSK = WPA_WPA2_PSK < WAPI_PSK < WPA3_PSK = WPA2_WPA3_PSK 更多...
 
enum  _xf_wifi_event_code_t {
  XF_WIFI_EVENT_BASE = 0 , XF_WIFI_EVENT_SCAN_DONE = XF_WIFI_EVENT_BASE , XF_WIFI_EVENT_STA_START , XF_WIFI_EVENT_STA_STOP ,
  XF_WIFI_EVENT_STA_CONNECTED , XF_WIFI_EVENT_STA_DISCONNECTED , XF_WIFI_EVENT_AP_START , XF_WIFI_EVENT_AP_STOP ,
  XF_WIFI_EVENT_AP_STA_CONNECTED , XF_WIFI_EVENT_AP_STA_DISCONNECTED , XF_WIFI_EVENT_MAX
}
 WiFi 事件声明。 更多...
 

详细描述

作者
catcatBlue (catca.nosp@m.tblu.nosp@m.e@qq..nosp@m.com)
版本
1.0
日期
2024-06-06

Copyright (c) 2024, CorAL. All rights reserved.

在文件 xf_wifi_types.h 中定义.