TwclWiFiSoftAP Class

The component represents the WiFi Direct Legacy Soft AP.

Namespace: wclWiFi
TComponent
  wclWiFi.TwclWiFiSoftAP
type
 TwclWiFiSoftAP = class(TComponent)
 end;

The TwclWiFiSoftAP type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates a new WiFi Soft AP component.

Destroy

Frees the component.

Top
Show:
 NameDescription
Active

Gets the Soft AP status.

OnStarted

The event fires when the Soft AP has been started with success.

OnStopped

The event fires when the Soft AP has been stopped.

Top
Show:
 NameDescription
DoDeviceAccept(TwclWiFiDirectDevice,Boolean)

Fires the OnDeviceAccept event.

DoDeviceConnected(TwclWiFiDirectDevice)

Fires the OnDeviceConnected event.

DoDeviceConnectError(TwclWiFiDirectDevice,Integer)

Fires the OnDeviceConnectError event.

DoDeviceDisconnected(TwclWiFiDirectDevice)

Fires the OnDeviceDisconnected event.

DoStarted

Fires the OnStarted event.

DoStopped

Fires the OnStopped event.

GetIpSettings(string,string,string,string,string)

Gets current IP settings.

GetPassphrase(string)

Reads the Soft AP passphrase.

GetSsid(string)

Reads the Soft AP SSID.

ResetIpSettings

Resets IP settings to its system default values.

SetIpSettings(string,string,string,string,string)

Sets current IP settings.

Start(string)

Overloaded. Starts the WiFi Direct Legacy Soft AP in Open Authentication (Open Network) mode.

Start(string,string)

Overloaded. Starts the WiFi Direct Legacy Soft AP.

Stop

Stops the WiFi Direct Legacy Soft AP.

Top
Show:
 NameDescription
OnDeviceAccept

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

OnDeviceConnected

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

OnDeviceConnectError

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

OnDeviceDisconnected

The event fires when the WiFi Direct device is disconnected from the WiFI Direct Soft AP.

Top

An application can use the TwclWiFiSoftAP component if needs to run Hosted Network (Legacy Soft AP) on a WiFi adapter that does not support Native WiFi Hosted network features and supports only WiFi Direct features.

On other adapters that supports Native WiFi Hosted Network it is recomended to use the TwclWiFiHostedNetwork component instead.