WiFi Framework
ContentsIndexHome
PreviousUpNext
TwclWiFiSoftAP.Start Method

Starts the WiFi Direct Legacy Soft AP.

Syntax
Pascal
function Start(const Ssid: string = ''; const Passphrase: string = ''): Integer;
Parameters 
Description 
const Ssid: 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.  
const Passphrase: 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.  

If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

Copyright (c) 2006-2019. All rights reserved.