TwclWiFiSoftAP.Start(string,string) Method
Starts the WiFi Direct Legacy Soft AP.
public function Start(const Ssid: string; const Passphrase: string): Integer; overload;
Parameters
- Ssid
- Type: string
The Soft AP SSID. If the parameter is an empty string the auto generated SSID will be used. An application can read the current SSID of the Soft AP by calling
GetSsid
method. - Passphrase
- Type: string
The Soft AP passphrase. if the parameter is an empty string the auto generated random passphrase will be used. An application ca read the current Passphrase of the Soft AP by calling
GetPassphrase
method.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.