|
Hamlib
1.2.15
|
Port definition. More...
#include <rig.h>
Data Fields | |
| union { | |
| rig_port_t rig | |
| ptt_type_t ptt | |
| dcd_type_t dcd | |
| } | type |
| int | fd |
| void * | handle |
| int | write_delay |
| int | post_write_delay |
| struct { | |
| int tv_sec | |
| int tv_usec | |
| } | 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 ptt_bitnum | |
| } cm108 | |
| struct { | |
| int vid | |
| int pid | |
| int conf | |
| int iface | |
| int alt | |
| char * vendor_name | |
| char * product | |
| } usb | |
| } | parm |
Port definition.
Of course, looks like OO painstakingly programmed in C, sigh.
alternate
| struct { ... } hamlib_port_t::cm108 |
CM108 attributes
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[100] |
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.15 -- Thu Feb 2 2012 21:37:29
Project page: http://www.hamlib.org