WifiControl/WifiControlJsonRpc.cpp
uint32_t WifiControl::endpoint_disconnect(const DeleteParamsInfo& params)
    {
        const string& ssid = params.Ssid.Value();

        return _controller->Disconnect(ssid);
    }
// Method: disconnect - Disconnects from 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 disconnection attempt fails for other reasons
Disconnects from 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 disconnection attempt fails for other reasons
Disconnects from 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 disconnection attempt fails for other reasons
uint32_t WifiControl::endpoint_disconnect(const DeleteParamsInfo& params)
    {
        const string& ssid = params.Ssid.Value();
        return _controller->Disconnect(ssid);
    }
uint32_t WifiControl :: endpoint_disconnect ( const DeleteParamsInfo & params ) { const string & ssid = params . Ssid . Value ( ) ; return _controller -> Disconnect ( ssid ) ; }
Method: disconnect - Disconnects from 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 disconnection attempt fails for other reasons
Method : disconnect - Disconnects from 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 disconnection attempt fails for other reasons