WiFi Framework C++ Edition

◆ Start() [2/2]

int Start ( const tstring Ssid,
const tstring Passphrase 
)

Starts the WiFi Direct Legacy Soft AP.

Parameters
SsidThe 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.
PassphraseThe 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.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.