Changed it to "serial" to allow for *both* serial and TCP connection.

If "pathname" is a legal TCP address, it will fall back to TCP
(see code in rig_open).
pull/224/head
c vw 2020-04-25 18:07:29 +02:00
rodzic f6e3570e37
commit af015d4467
1 zmienionych plików z 9 dodań i 3 usunięć

Wyświetl plik

@ -108,11 +108,17 @@ const struct rig_caps pihpsdr_caps =
.rig_type = RIG_TYPE_TRANSCEIVER,
.ptt_type = RIG_PTT_RIG,
.dcd_type = RIG_DCD_RIG,
.port_type = RIG_PORT_NETWORK,
.port_type = RIG_PORT_SERIAL,
.serial_rate_min = 4800,
.serial_rate_max = 38400,
.serial_data_bits = 8,
.serial_stop_bits = 1,
.serial_parity = RIG_PARITY_NONE,
.serial_handshake = RIG_HANDSHAKE_NONE,
.write_delay = 0,
.post_write_delay = 50, /* ms */
.timeout = 0,
.retry = 0,
.timeout = 50,
.retry = 1,
.has_get_func = PIHPSDR_FUNC_ALL,
.has_set_func = PIHPSDR_FUNC_ALL,
.has_get_level = PIHPSDR_LEVEL_ALL,