Start the tnc process
Parameter | Type | Values | Description |
---|---|---|---|
type | string | "set" | Type of setting ( get or set ) |
command | string | "start_tnc" | Command for starting the tnc |
parameter | object | --- | Object, which holds additional parameters |
mycall | string(6) | AA1AAA | Set the own callsign |
mygrid | string(6) | JN11aa | Set the own gridsquare |
rx_audio | int | 0-254 | The rx audio device as integer |
tx_audio | int | 0-254 | The tx audio device as integer |
devicename | string | ... | The hamlib device object |
deviceport | string | "/dev/ttyUSB2" | The radio deviceport |
pttprotocol | string | "RTS..." | The hamlib ptt type |
pttport | string | "/dev/ttyUSB3" | The hamlib ptt deviceport |
serialspeed | int | 9600 | All supported serialspeeds by hamlib |
data_bits | int | 8 | The serial start bits |
stop_bits | int | 1 | The serial stop bits |
handshake | string | "None" | The serial handshake |
explorer | string | "None" | If set, enable publishing to explorer (https://explorer.freedata.app) |
{
"type":"set",
"command":"start_tnc",
"parameter":
[
{
"mycall":"<callsign>",
"mygrid":"<mygrid>",
"rx_audio":"<rx_audio>",
"tx_audio":"<tx_audio>",
"devicename":"<devicename>",
"deviceport":"<deviceport>",
"pttprotocol":"<pttprotocol>",
"pttport":"<pttport>",
"serialspeed":"<serialspeed>",
"data_bits":"<data_bits>",
"stop_bits":"<stop_bits>",
"handshake":"<handshake>"
}
],
}
{
"type":"set",
"command":"start_tnc",
"parameter":
[
{
"mycall":"DJ2LS",
"mygrid":"JN40aa",
"rx_audio":"3",
"tx_audio":"3",
"radiocontrol":"direct",
"devicename":"RIG_MODEL_IC705",
"deviceport":"/dev/ttyACM0",
"pttprotocol":"RIG",
"pttport":"/dev/ttyACM1",
"serialspeed":"9600",
"data_bits":"8",
"stop_bits":"1",
"handshake":"None",
"rigctld_port":"4599",
"rigctld_ip":"127.0.0.1"
}
]
}