Description configuration
GET
http://localhost:5000/config
POST
curl --request POST --url http://localhost:5000/config --header 'Content-Type: application/json' --data '{JSON}'
Example - GET
curl --request GET --url http://localhost:5000/config
Response
{
"AUDIO": {
"input_device": "2fc0",
"output_device": "3655",
"rx_audio_level": 0,
"tx_audio_level": 2
},
"MESH": {
"enable_protocol": false
},
"MESSAGES": {
"enable_auto_repeat": true
},
"MODEM": {
"enable_hmac": false,
"enable_morse_identifier": false,
"enable_socket_interface": false,
"maximum_bandwidth": 2438,
"respond_to_cq": true,
"tx_delay": 200
},
"NETWORK": {
"modemaddress": "",
"modemport": 5000
},
"RADIO": {
"control": "rigctld",
"data_bits": 8,
"model_id": 1001,
"ptt_port": "ignore",
"ptt_type": "USB",
"serial_dcd": "NONE",
"serial_dtr": "OFF",
"serial_handshake": "ignore",
"serial_port": "/dev/cu.Bluetooth-Incoming-Port",
"serial_speed": 38400,
"stop_bits": 1
},
"RIGCTLD": {
"arguments": "",
"command": "",
"ip": "127.0.0.1",
"path": "",
"port": 4532
},
"SOCKET_INTERFACE": {
"cmd_port": 0,
"data_port": 0,
"enable": false,
"host": ""
},
"STATION": {
"enable_explorer": true,
"enable_stats": true,
"mycall": "LA3QMA",
"mygrid": "JP20ql",
"myssid": 0,
"ssid_list": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
"TCI": {
"tci_ip": "127.0.0.1",
"tci_port": 50001
}
}
Example - POST
curl --request POST --url http://localhost:5000/config --header 'Content-Type: application/json' --data '{"AUDIO":{"input_device":"2fc0","output_device":"3655","rx_audio_level":0,"tx_audio_level":2},"MESH":{"enable_protocol":false},"MESSAGES":{"enable_auto_repeat":true},"MODEM":{"enable_hmac":false,"enable_morse_identifier":false,"enable_socket_interface":false,"maximum_bandwidth":2500,"respond_to_cq":true,"tx_delay":200},"NETWORK":{"modemaddress":"","modemport":5000},"RADIO":{"control":"rigctld","data_bits":8,"model_id":1001,"ptt_port":"ignore","ptt_type":"USB","serial_dcd":"NONE","serial_dtr":"OFF","serial_handshake":"ignore","serial_port":"/dev/cu.Bluetooth-Incoming-Port","serial_speed":38400,"stop_bits":1},"RIGCTLD":{"arguments":"","command":"","ip":"127.0.0.1","path":"","port":4532},"SOCKET_INTERFACE":{"cmd_port":0,"data_port":0,"enable":false,"host":""},"STATION":{"enable_explorer":true,"enable_stats":true,"mycall":"LA3QMA","mygrid":"JP20ql","myssid":0,"ssid_list":[0,1,2,3,4,5,6,7,8,9]},"TCI":{"tci_ip":"127.0.0.1","tci_port":50001}}
'
Errors
This API uses the following error codes:
404 Not Found
: The requested resource was not found.