connectWifi.lua
[INDEX]

ABSTRACT

Connect to one WIFI Connection

ARGUMENTS

HTTP Arguments submit: POST

Test this API over HTTP - (URL):

DeviceObject

Optional. If specified, then it is ObjectID of network connection (please refer to getNetInterface.lua); otherwise it is the default wifi interface.

Test value:

Object
(MUST)

Connect to the Wifi connection of which Object name is this. (It can be got by listWifiConnection.lua )

Test value:

RETURNS

Return a JSON style result. The JSON format is:

{
/*OBJECT*/

"Result":
NUMBER

200 means OK, other error code meanings are similar to HTTP Response.

"Status":
"STRING"

Status message. Responsing result status of API executive, if there errors, it will describe reasons.

}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0