WiFi Framework C++ Edition

◆ OnDeviceConnected()

__event void OnDeviceConnected ( void *  Sender,
CwclWiFiDirectDevice *const  Device,
const int  Error 
)

The event fires when a remote WiFi enabled device has been connected to the WiFi Direct Advertiser.

Parameters
SenderThe object initiates the event.
DeviceThe WiFi Direct device object.
ErrorThe connection result code. If the Error parameter is WCL_E_SUCCESS the connection has been established.
See also
CwclWiFiDirectDevice