WifiControl/WifiControlJsonRpc.cpp
// Method: connect - Attempt connection to the specified network
// Return codes:
//  - ERROR_NONE: Success
//  - ERROR_UNKNOWN_KEY: Returned when the network with a the given SSID doesn't exists
//  - ERROR_ASYNC_ABORTED: Returned when connection attempt fails for other reasons
Attempt connection to the specified network
Return codes:
ERROR_NONE: Success
ERROR_UNKNOWN_KEY: Returned when the network with a the given SSID doesn't exists
ERROR_ASYNC_ABORTED: Returned when connection attempt fails for other reasons
Attempt connection to the specified network Return codes : ERROR_NONE : Success ERROR_UNKNOWN_KEY : Returned when the network with a the given SSID doesn ' t exists ERROR_ASYNC_ABORTED : Returned when connection attempt fails for other reasons
uint32_t WifiControl::endpoint_connect(const DeleteParamsInfo& params)
    {
        const string& ssid = params.Ssid.Value();
        _autoConnect.SetPreferred(ssid);
        return _controller->Connect(ssid);
    }
uint32_t WifiControl :: endpoint_connect ( const DeleteParamsInfo & params ) { const string & ssid = params . Ssid . Value ( ) ; _autoConnect . SetPreferred ( ssid ) ; return _controller -> Connect ( ssid ) ; }
Method: connect - Attempt connection to the specified network
Return codes:
 ERROR_NONE: Success
 ERROR_UNKNOWN_KEY: Returned when the network with a the given SSID doesn't exists
 ERROR_ASYNC_ABORTED: Returned when connection attempt fails for other reasons
Method : connect - Attempt connection to the specified network Return codes : ERROR_NONE : Success ERROR_UNKNOWN_KEY : Returned when the network with a the given SSID doesn ' t exists ERROR_ASYNC_ABORTED : Returned when connection attempt fails for other reasons