#include <rig.h>
Data Fields | |
| int | fd |
| void * | handle |
| int | write_delay |
| int | post_write_delay |
| struct { | |
| } | post_write_date |
| int | timeout |
| int | retry |
| char | pathname [100] |
| union { | |
| struct { | |
| int rate | |
| int data_bits | |
| int stop_bits | |
| enum serial_parity_e parity | |
| enum serial_handshake_e handshake | |
| enum serial_control_state_e rts_state | |
| enum serial_control_state_e dtr_state | |
| } serial | |
| struct { | |
| int pin | |
| } parallel | |
| struct { | |
| int vid | |
| int pid | |
| int conf | |
| int iface | |
| int alt | |
| } usb | |
| } | parm |
| rig_port_t | rig |
| ptt_type_t | ptt |
| dcd_type_t | dcd |
Of course, looks like OO painstakingly programmed in C, sigh.
Communication port type
PTT port type
DCD port type
File descriptor
| void* hamlib_port_t::handle |
handle for USB
Delay between each byte sent out, in ms
Delay between each commands send out, in ms
| struct { ... } hamlib_port_t::post_write_date |
hamlib internal use
Timeout, in ms
Maximum number of retries, 0 to disable
| char hamlib_port_t::pathname[100] |
Port pathname
Serial baud rate
Number of data bits
Number of stop bits
Serial parity
Serial handshake
RTS set state
DTR set state
| struct { ... } hamlib_port_t::serial |
serial attributes
Parrallel port pin number
| struct { ... } hamlib_port_t::parallel |
parallel attributes
Vendor ID
Product ID
Configuration
interface
alternate
| struct { ... } hamlib_port_t::usb |
USB attributes
| union { ... } hamlib_port_t::parm |
Port parameter union
1.5.1