WiFi Framework C++ Edition

◆ OnAcceptDevice()

__event void OnAcceptDevice ( void *  Sender,
CwclWiFiDirectDevice *const  Device,
bool &  Accept 
)

The event fires when a remote WiFi enable device connects to the WiFi Direct Advertiser and an application must accept or reject the connection request.

Parameters
SenderThe object that fired the event.
DeviceThe WiFi Direct device object.
AcceptAn application must set this parameter to True to accept a connection request. If an application sets the parameter to False a connection request will be rejected.
See also
CwclWiFiDirectDevice