Notify WLAN state
|
Definitions |
Type |
combining |
Description: Notify when the WiFi connection status changes.
Service UUID | 3c6feeb6-f335-4f93-a4bb-495f926db409 |
---|
Characteristic UUID | a90381fc-2dda-4eed-b24b-60f3e6651134 |
---|
Value format | UTF-8 string (JSON) |
---|
Enabled to read | false |
---|
Enabled to write | false |
---|
Enabled to notify | true |
---|
Examples:
{
"wifiInfo": {
"isConnected": true,
"ssid": "ssidOfTheta",
"isInternetAccessible": "false"
}
}
{
"wifiInfo": {
"isConnected": false,
"ssid": "<unknown ssid>",
"isInternetAccessible": "false"
}
}
{
"ethernet": {
"isConnected": true,
"ssid": "<unknown ssid>",
"isInternetAccessible": "true"
}
}
item 0
Property |
Type |
Required |
Description |
wifiInfo |
object |
no |
WiFi connection information |
wifiInfo
Description: WiFi connection information
Property |
Type |
Required |
Description |
isConnected |
boolean |
yes |
WiFi is connected or not. |
ssid |
string |
yes |
SSID of the connected WiFi. If WiFi is not connected, “<unknown ssid>” |
isInternetAccessible |
boolean |
yes |
The Internet is accessible or not |
isConnected
Description: WiFi is connected or not.
ssid
Description: SSID of the connected WiFi. If WiFi is not connected, “<unknown ssid>”
isInternetAccessible
Description: The Internet is accessible or not
item 1
Property |
Type |
Required |
Description |
ethernet |
object |
no |
Ethernet connection information |
ethernet
Description: Ethernet connection information
Property |
Type |
Required |
Description |
isConnected |
boolean |
yes |
Ethernet is connected or not. |
ssid |
const |
yes |
Ignore this property. |
isInternetAccessible |
boolean |
yes |
The Internet is accessible or not |
isConnected
Description: Ethernet is connected or not.
ssid
Description: Ignore this property.
Specific value: "<unknown ssid>"
isInternetAccessible
Description: The Internet is accessible or not
item 2
Property |
Type |
Required |
Description |
LTE |
object |
no |
LTE connection information |
LTE
Description: LTE connection information
Property |
Type |
Required |
Description |
isConnected |
boolean |
yes |
LTE is connected or not. |
ssid |
const |
yes |
Ignore this property. |
isInternetAccessible |
boolean |
yes |
The Internet is accessible or not |
isConnected
Description: LTE is connected or not.
ssid
Description: Ignore this property.
Specific value: "<unknown ssid>"
isInternetAccessible
Description: The Internet is accessible or not