EasyManua.ls Logo

Avnet SmartEdge - 6.3. REST API DOCUMENTATION

Avnet SmartEdge
39 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6.3. REST API DOCUMENTATION
When the Gateway is in configuration mode, it exposes a network API used by the mobile App to set up the Gateway.
Instead of the mobile App, this API can be used to configure multiple Gateways directly.
If connected over WiFi AP, the default <ipaddress> is 192.168.2.1
If connected over Ethernet, the <ipaddress> is set by your network DHCP server
All commands assume header: "Content-Type: application/json"
GET DEVICE ID
GET http://<ipaddress>:8080/DeviceId
Possible Response:
{
"DeviceID": "<deviceid>"
}
GET NETWORK STATUS
GET http://<ipaddress>:8080/NetworkStatus
Possible Response:
{
"IsConnected": {true,false}
}
GET WIFI ACCESS POINT LISTING
GET http://<ipaddress>:8080/WiFiAccessPointList
Possible Response:
{
"AccessPointList": [
{
"SSID": "value",
"SignalStrength": "value"
},
]
}
SET WIFI CLIENT SSID & PSK
PUT '{"<myssid>":"<mypsk>"}'
http://<ipaddress>:8080/WiFiClientSSID_PSK
Possible Response:
{
"Response": {1,0}
}

Table of Contents

Other manuals for Avnet SmartEdge