WifiEvent

Overview

Related Modules:

Wifiservice

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

Variable Name

Description

OnWifiConnectionChanged )(int state, WifiLinkedInfoinfo)

void( 

OnWifiScanStateChanged )(int state, int size)

void( 

OnHotspotStateChanged )(int state)

void( 

OnHotspotStaJoin )(StationInfoinfo)

void( 

OnHotspotStaLeave )(StationInfoinfo)

void( 

Details

Field Documentation

OnHotspotStaJoin

  1. void(*WifiEvent::OnHotspotStaJoin)([StationInfo]($api-api-LinkIoT-StationInfo.md)*info)

Description:

Station connected

OnHotspotStaLeave

  1. void(*WifiEvent::OnHotspotStaLeave)([StationInfo]($api-api-LinkIoT-StationInfo.md)*info)

Description:

Station disconnected

OnHotspotStateChanged

  1. void(*WifiEvent::OnHotspotStateChanged)(int state)

Description:

Hotspot state change

OnWifiConnectionChanged

  1. void(*WifiEvent::OnWifiConnectionChanged)(int state,[WifiLinkedInfo]($api-api-LinkIoT-WifiLinkedInfo.md)*info)

Description:

Connection state change

OnWifiScanStateChanged

  1. void(*WifiEvent::OnWifiScanStateChanged)(int state,int size)

Description:

Scan state change