Port definition. More...
#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 [FILPATHLEN] |
| 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 | |
| char * vendor_name | |
| char * product | |
| } usb | |
| } | parm |
| rig_port_t | rig |
| ptt_type_t | ptt |
| dcd_type_t | dcd |
Port definition.
Of course, looks like OO painstakingly programmed in C, sigh.
alternate
Configuration
Number of data bits
DCD port type
DTR set state
File descriptor
| void* hamlib_port_t::handle |
handle for USB
Serial handshake
interface
| struct { ... } hamlib_port_t::parallel |
parallel attributes
Serial parity
| union { ... } hamlib_port_t::parm |
Port parameter union
| char hamlib_port_t::pathname[FILPATHLEN] |
Port pathname
Product ID
Parallel port pin number
| struct { ... } hamlib_port_t::post_write_date |
hamlib internal use
Delay between each commands send out, in mS
| char* hamlib_port_t::product |
Product (opt.)
PTT port type
Serial baud rate
Maximum number of retries, 0 to disable
Communication port type
RTS set state
| struct { ... } hamlib_port_t::serial |
serial attributes
Number of stop bits
Timeout, in mS
| struct { ... } hamlib_port_t::usb |
USB attributes
Vendor name (opt.)
Vendor ID
Delay between each byte sent out, in mS
Hamlib documentation for version 1.2.11 -- Sun Jun 20 09:01:39 2010
Project page: http://hamlib.org