pull/182/head
Christopher Young 2015-12-18 18:53:36 -05:00
rodzic 117fa8711d
commit a9be27f618
1 zmienionych plików z 92 dodań i 90 usunięć

Wyświetl plik

@ -60,8 +60,8 @@ Stratux makes available a webserver to retrieve statistics which may be useful t
* `http://192.168.10.1/getTowers` - a list of ADS-B towers received with attached message receipt and signal level statistics. Example output:
{
```
{
"(28.845592,-96.920400)": {
"Lat": 28.845591545105,
"Lng": -96.920399665833,
@ -86,12 +86,13 @@ Stratux makes available a webserver to retrieve statistics which may be useful t
"Messages_last_minute": 94,
"Messages_total": 203
}
}
}
```
* `http://192.168.10.1/getStatus` - device status and statistics. Example output (commented JSON):
{
```
{
"Version": "v0.5b1", // Software version.
"Devices": 0, // Number of radios connected.
"Connected_Users": 1, // Number of WiFi devices connected.
@ -105,12 +106,13 @@ Stratux makes available a webserver to retrieve statistics which may be useful t
"RY835AI_connected": false, // GPS/AHRS unit - use only for debugging (this will be removed).
"Uptime": 227068, // Device uptime (in milliseconds).
"CPUTemp": 42.236 // CPU temperature (in ºC).
}
}
```
* http://192.168.10.1/getSettings` - get device settings. Example output:
{
```
{
"UAT_Enabled": true,
"ES_Enabled": false,
"GPS_Enabled": true,
@ -134,14 +136,14 @@ Stratux makes available a webserver to retrieve statistics which may be useful t
"PPM": 0,
"OwnshipModeS": "F00000",
"WatchList": ""
}
}
```
* `http://192.168.10.1/setSettings` - set device settings. Use an HTTP POST of JSON content in the format given above - posting only the fields containing the settings to be modified.
* `http://192.168.10.1/getSituation` - get GPS/AHRS information. Example output:
{
```
{
"Lat": 39.108533,
"Lng": -76.770862,
"Satellites": 7,
@ -158,5 +160,5 @@ Stratux makes available a webserver to retrieve statistics which may be useful t
"Roll": -0.026442866350631,
"Gyro_heading": 45.844213419776,
"LastAttitudeTime": "2015-12-18T23:47:06.774039623Z"
}
}
```