WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
wifi_event_stru结构体 参考

指向用于Sta和Hotspot连接、断开连接或扫描的WiFi事件回调的指针。 更多...

#include <wifi_event.h>

成员变量

void(* wifi_event_connection_changed )(int32_t state, const wifi_linked_info_stru *info, int32_t reason_code)
 
void(* wifi_event_scan_state_changed )(int32_t state, int32_t size)
 
void(* wifi_event_softap_state_changed )(int32_t state)
 
void(* wifi_event_softap_sta_join )(const wifi_sta_info_stru *info)
 
void(* wifi_event_softap_sta_leave )(const wifi_sta_info_stru *info)
 
void(* wifi_event_p2p_receive_connect )(const uint8_t *bssid, int8_t wps_method)
 
void(* wifi_event_p2p_go_neg_result )(int32_t state, int32_t mode)
 
void(* wifi_event_p2p_go_start )(int32_t state)
 
void(* wifi_event_p2p_invitation_result )(int32_t state)
 
void(* wifi_event_p2p_gc_connection_changed )(int32_t state, const p2p_status_info_stru *status)
 
void(* wifi_event_p2p_go_connection_changed )(int32_t state, const p2p_client_info_stru *client)
 
void(* wifi_event_wps_result )(int32_t state, wifi_if_type_enum wifi_if_type)
 

详细描述

指向用于Sta和Hotspot连接、断开连接或扫描的WiFi事件回调的指针。

结构体成员变量说明

◆ wifi_event_connection_changed

void(* wifi_event_stru::wifi_event_connection_changed) (int32_t state, const wifi_linked_info_stru *info, int32_t reason_code)

< 连接状态改变。 扫描状态改变。

◆ wifi_event_p2p_gc_connection_changed

void(* wifi_event_stru::wifi_event_p2p_gc_connection_changed) (int32_t state, const p2p_status_info_stru *status)

P2P GO关联结果。

◆ wifi_event_p2p_go_connection_changed

void(* wifi_event_stru::wifi_event_p2p_go_connection_changed) (int32_t state, const p2p_client_info_stru *client)

WPS关联结果。

◆ wifi_event_p2p_go_neg_result

void(* wifi_event_stru::wifi_event_p2p_go_neg_result) (int32_t state, int32_t mode)

P2P GO建立结果。

◆ wifi_event_p2p_go_start

void(* wifi_event_stru::wifi_event_p2p_go_start) (int32_t state)

P2P邀请结果。

◆ wifi_event_p2p_invitation_result

void(* wifi_event_stru::wifi_event_p2p_invitation_result) (int32_t state)

P2P Gc关联结果。

◆ wifi_event_p2p_receive_connect

void(* wifi_event_stru::wifi_event_p2p_receive_connect) (const uint8_t *bssid, int8_t wps_method)

P2P GO协商结果。

◆ wifi_event_scan_state_changed

void(* wifi_event_stru::wifi_event_scan_state_changed) (int32_t state, int32_t size)

Hotspot状态改变。

◆ wifi_event_softap_sta_join

void(* wifi_event_stru::wifi_event_softap_sta_join) (const wifi_sta_info_stru *info)

Station断连。

◆ wifi_event_softap_sta_leave

void(* wifi_event_stru::wifi_event_softap_sta_leave) (const wifi_sta_info_stru *info)

P2P接收连接请求。

◆ wifi_event_softap_state_changed

void(* wifi_event_stru::wifi_event_softap_state_changed) (int32_t state)

Station连接。

◆ wifi_event_wps_result

void(* wifi_event_stru::wifi_event_wps_result) (int32_t state, wifi_if_type_enum wifi_if_type)

该结构体的文档由以下文件生成: