luat_soc_sdk_2024 V1.0
|
#include "luat_base.h"
结构体 | |
struct | luat_wlan_config |
struct | luat_wlan_conninfo |
struct | luat_wlan_apinfo |
struct | luat_wlan_scan_result |
struct | luat_wlan_station_info |
struct | luat_wifiscan_set_info |
wifiscan 控制参数结构体 更多... | |
struct | luat_wifisacn_get_info |
wifiscan 扫描结果 更多... | |
宏定义 | |
#define | Luat_MAX_CHANNEL_NUM 14 |
#define | LUAT_MAX_WIFI_BSSID_NUM 40 |
bssid 的最大数量 | |
#define | LUAT_MAX_SSID_HEX_LENGTH 32 |
SSID 的最大长度 | |
类型定义 | |
typedef struct luat_wlan_config | luat_wlan_config_t |
typedef struct luat_wlan_conninfo | luat_wlan_conninfo_t |
typedef struct luat_wlan_apinfo | luat_wlan_apinfo_t |
typedef struct luat_wlan_scan_result | luat_wlan_scan_result_t |
typedef struct luat_wlan_station_info | luat_wlan_station_info_t |
typedef enum luat_wifiscan_set_priority | luat_wifiscan_set_priority_t |
wifiscan 扫描的优先级 | |
typedef struct luat_wifiscan_set_info | luat_wifiscan_set_info_t |
wifiscan 控制参数结构体 | |
typedef struct luat_wifisacn_get_info | luat_wifisacn_get_info_t |
wifiscan 扫描结果 | |
typedef struct luat_wlan_apinfo luat_wlan_apinfo_t |
typedef struct luat_wlan_config luat_wlan_config_t |
typedef struct luat_wlan_conninfo luat_wlan_conninfo_t |
typedef struct luat_wlan_scan_result luat_wlan_scan_result_t |
typedef struct luat_wlan_station_info luat_wlan_station_info_t |
枚举值 | |
---|---|
LUAT_WLAN_ENCRYPT_AUTO | |
LUAT_WLAN_ENCRYPT_NONE | |
LUAT_WLAN_ENCRYPT_WPA | |
LUAT_WLAN_ENCRYPT_WPA2 |
在文件 luat_wlan.h 第 45 行定义.
enum LUAT_WLAN_MODE |
枚举值 | |
---|---|
LUAT_WLAN_MODE_NULL | |
LUAT_WLAN_MODE_STA | |
LUAT_WLAN_MODE_AP | |
LUAT_WLAN_MODE_APSTA | |
LUAT_WLAN_MODE_MAX |
在文件 luat_wlan.h 第 36 行定义.
enum LUAT_WLAN_SC_TYPE |
枚举值 | |
---|---|
LUAT_SC_TYPE_STOP | |
LUAT_SC_TYPE_ESPTOUCH | |
LUAT_SC_TYPE_AIRKISS | |
LUAT_SC_TYPE_ESPTOUCH_AIRKISS | |
LUAT_SC_TYPE_ESPTOUCH_V2 |
在文件 luat_wlan.h 第 81 行定义.
int luat_wlan_ap_start | ( | luat_wlan_apinfo_t * | apinfo | ) |
int luat_wlan_ap_stop | ( | void | ) |
int luat_wlan_connect | ( | luat_wlan_conninfo_t * | info | ) |
int luat_wlan_disconnect | ( | void | ) |
int luat_wlan_get_ap_bssid | ( | char * | buff | ) |
int luat_wlan_get_ap_gateway | ( | char * | buff | ) |
int luat_wlan_get_ap_rssi | ( | void | ) |
const char * luat_wlan_get_hostname | ( | int | id | ) |
int luat_wlan_get_ip | ( | int | type, |
char * | data ) |
int luat_wlan_get_mac | ( | int | id, |
char * | mac ) |
int luat_wlan_get_ps | ( | void | ) |
int luat_wlan_init | ( | luat_wlan_config_t * | conf | ) |
int luat_wlan_mode | ( | luat_wlan_config_t * | conf | ) |
int luat_wlan_ready | ( | void | ) |
int luat_wlan_scan | ( | void | ) |
int luat_wlan_scan_get_result | ( | luat_wlan_scan_result_t * | results, |
size_t | ap_limit ) |
int luat_wlan_set_hostname | ( | int | id, |
const char * | hostname ) |
int luat_wlan_set_mac | ( | int | id, |
const char * | mac ) |
int luat_wlan_set_ps | ( | int | mode | ) |
int luat_wlan_set_station_ip | ( | luat_wlan_station_info_t * | info | ) |
int luat_wlan_smartconfig_start | ( | int | tp | ) |
int luat_wlan_smartconfig_stop | ( | void | ) |