test_hamlib

Description:

Test your hamlib settings

Parameters

Parameter Type Values Description
type string "set" Type of setting ( get or set )
command string "test_hamlib" Command for starting the tnc
parameter object --- Object, which holds additional parameters
radiocontrol string None/direct/rigctl/rigctld The hamlib connection type
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

Command

{
    "type": "get",
    "command" : "test_hamlib",
    "parameter" : 
        [
            {
                "radiocontrol":"<None/direct/rigctl/rigctld>",
                "devicename" : "<devicename>",
                "deviceport" : "<deviceport>",
                "pttprotocol" : "<pttprotocol>",
                "pttport" : "<pttport>",
                "serialspeed" : "<serialspeed>",
                "data_bits" : "<data_bits>",
                "stop_bits" : "<stop_bits>",
                "handshake" : "<handshake>"
            }
        ]
}

Example

{
    "type":"get",
    "command":"test_hamlib",
    "parameter":    
        [
            {
            "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"
            }
        ]
}