listSSID.lua
[INDEX]

ABSTRACT

Get the list of SSID scanned by WIFI

ARGUMENTS

HTTP Arguments submit: GET; POST

Test this API over HTTP - (URL):

Object

Optional.if specified, then it is ObjectID of network interface (Refer to getNetInterface.lua); otherwise, it is the default wifi interface.

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.

"Data": {
/*OBJECT*/

"Device":
"STRING"

Wifi device name (e.g. wlan0)

"Object":
"STRING"

Wifi object name

"SSID_list": [
/*ARRAY*/

Each item is a scanned SSID, the contents are as follows:

{
/*OBJECT*/

"SSID":
"STRING"

SSID Name

"Strengh":
NUMBER

0-100, signal strength

"Nosafe":
NUMBER

0 or 1. If 'Nosafe' is 1 means this SSID doesn't need password (not safe)

}
]
}
}

OTHER NOTES

KILOVIEW Device HTTP API, v1.0