WifiEvent
Overview
Related Modules:
Description:
Represents the pointer to a Wi-Fi event callback for station and hotspot connection, disconnection, or scan.
If you do not need a callback, set the value of its pointer to NULL.
Since:
1.0
Version:
1.0
Summary
Data Fields
OnWifiConnectionChanged )(int state, WifiLinkedInfo info) |
|
OnWifiScanStateChanged )(int state, int size) |
|
OnHotspotStateChanged )(int state) |
|
OnHotspotStaJoin )(StationInfo info) |
|
OnHotspotStaLeave )(StationInfo info) |
Details
Field Documentation
OnHotspotStaJoin
void(* WifiEvent::OnHotspotStaJoin) ([StationInfo]($api-api-LinkIoT-StationInfo.md) *info)
Description:
Station connected
OnHotspotStaLeave
void(* WifiEvent::OnHotspotStaLeave) ([StationInfo]($api-api-LinkIoT-StationInfo.md) *info)
Description:
Station disconnected
OnHotspotStateChanged
void(* WifiEvent::OnHotspotStateChanged) (int state)
Description:
Hotspot state change
OnWifiConnectionChanged
void(* WifiEvent::OnWifiConnectionChanged) (int state, [WifiLinkedInfo]($api-api-LinkIoT-WifiLinkedInfo.md) *info)
Description:
Connection state change
OnWifiScanStateChanged
void(* WifiEvent::OnWifiScanStateChanged) (int state, int size)
Description:
Scan state change