WiFi Framework C++ Edition

◆ OnDeviceAccept()

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

The event fires when new device is trying to connected to the WiFI Direct Soft AP.

Parameters
SenderThe object initiates the event.
DeviceThe WiFi Direct device object.
AcceptAn application must set this to false to reject connection request. Setting it to true (the default value) accepts connection.
See also
CwclWiFiDirectDevice