Get a List of Wi-Fi Searched by Player

555

# Get a List of Wi-Fi Searched by Player

Path:

/api/wifi.json

Method: GET

Content-type: application/json; charset=utf-8

API Description: This can be used to get the list of Wi-Fi searched by the player.

Response

Name Type Example Description
ssid String Clt_Office_SmartCity Wi-Fi name
pass String - Wi-Fi password, default: ""
bssid String 64:64:4a:85:b9:0d Virtual MAC address of the player
rssi int 3 Signal strength
security int - Network security
SECURITY_NONE = 0
SECURITY_WEP = 1
SECURITY_PSK = 2
SECURITY_EAP = 3
networkId int - Network ID
pskType String - Wireless encryption type

Example

{
	"accessPoints": [{
		"ssid": "Clt_Office_SmartCity",
		"pass": "",
		"bssid": "64:64:4a:85:b9:0d",
		"rssi": 3,
		"security": 2,
		"networkId": -1,
		"pskType": "WPA_WPA2"
	}, {
		"ssid": "3702-2.4G",
		"pass": "",
		"bssid": "ec:58:ea:10:7e:98",
		"rssi": 3,
		"security": 2,
		"networkId": -1,
		"pskType": "WPA2"
	}, {
		"ssid": "a200-1111",
		"pass": "",
		"bssid": "4a:7e:48:ea:37:a5",
		"rssi": 3,
		"security": 2,
		"networkId": -1,
		"pskType": "WPA2"
	}]
}