As soon as the daemon state changes, the following information will be pushed to the network:
Parameter | Type | Values | Description |
---|---|---|---|
type | string | "broadcast" | Type of setting ( get or set ) |
command | string | "daemon_state" | - |
daemon_state | object | - | - |
status | string | running/stopped | Information if tnc is started or stopped |
python_version | float as str | - | Information about the python version |
hamlib_version | int as str | - | Information about the hamlib version |
input_devices | object | - | Object which holds input audio devices |
id | int | [0-255] | Audio device id which is needed for the tnc |
name | str | - | name of the audio device |
output_devices | object | - | Object which holds output audio devices |
id | int | [0-255] | Audio device id which is needed for the tnc |
name | str | - | name of the audio device |
serial_devices | object | - | Object which holds connected serial devices |
port | str | - | Port of the serial device |
description | str | - | name of the serial device with a unique hex character if the same description is available on different ports |
version | str | - | Version information |
{
"command":"daemon_state",
"daemon_state":[
{
"status":"<status>"
}
],
"python_version":"<version>",
"hamlib_version":"<version>",
"input_devices":[
{
"id":<id>,
"name":"<name>"
},
],
"output_devices":[
{
"id":<id>,
"name":"<name>"
},
],
"serial_devices":[
{
"port":"<port>",
"description":"<description>"
},
],
"version":"<version>"
}
{
"command":"daemon_state",
"daemon_state":[
{
"status":"stopped"
}
],
"python_version":"3.9",
"hamlib_version":"0",
"input_devices":[
{
"id":0,
"name":"BlackHole 16ch"
},
{
"id":1,
"name":"MacBook Pro Mikrofon"
}
],
"output_devices":[
{
"id":0,
"name":"BlackHole 16ch"
},
{
"id":2,
"name":"MacBook Pro-Lautsprecher"
}
],
"serial_devices":[
{
"port":"/dev/cu.BLTH",
"description":"Bluetooth Device [26a9]"
},
{
"port":"/dev/cu.Bluetooth-Incoming-Port",
"description":"Bluetooth Device [36c7]"
}
],
"version":"0.1"
}