Update User Terminal authored by Jan Janak's avatar Jan Janak
......@@ -170,3 +170,33 @@ curl http://<hostname>:<port>/api/settings
"rx_error" : 0
}
```
To obtain the default values, i.e, the values the terminal uses after factory reset, send a GET to '/settings/default':
```sh
curl http://<hostname>:<port>/api/settings/default
```
```json
{
"peer" : null,
"codec" : "g711",
"ptt_delay" : 0,
"packet_time" : 10,
"mic" : null,
"mic_volume" : 65536,
"speaker_volume" : 65536,
"noise" : null,
"noise_volume" : 65536,
"ptt_beep" : null,
"ptt_volume" : 65536,
"tx_tc_filter" : "u32 match ip dsfield 0xb8 0xff",
"rx_tc_filter" : "u32 match ip dsfield 0xb8 0xff",
"tx_rate" : null,
"rx_rate" : null,
"tx_delay" : null,
"rx_delay" : null,
"tx_loss" : null,
"rx_loss" : null,
"tx_error" : null,
"rx_error" : null
}
```
\ No newline at end of file