WiFi Framework
ContentsIndexHome
PreviousUpNext
CwclWiFiSoftAP::Start Method

Starts the WiFi Direct Legacy Soft AP.

Syntax
C++
int Start(tstring Ssid = _T(""), tstring Passphrase = _T(""));
Parameters 
Description 
tstring Ssid = _T("") 
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.  
tstring Passphrase = _T("") 
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.