|
Hamlib
3.0.1
|
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.
| int hamlib_port::alt |
alternate
| struct { ... } hamlib_port::cm108 |
CM108 attributes
| int hamlib_port::conf |
Configuration
| int hamlib_port::data_bits |
Number of data bits
| dcd_type_t hamlib_port::dcd |
DCD port type
| enum serial_control_state_e hamlib_port::dtr_state |
DTR set state
| int hamlib_port::fd |
File descriptor
| void* hamlib_port::handle |
handle for USB
| enum serial_handshake_e hamlib_port::handshake |
Serial handshake
| int hamlib_port::iface |
interface
| struct { ... } hamlib_port::parallel |
parallel attributes
| enum serial_parity_e hamlib_port::parity |
Serial parity
| union { ... } hamlib_port::parm |
Port parameter union
| char hamlib_port::pathname[100] |
Port pathname
| int hamlib_port::pid |
Product ID
| int hamlib_port::pin |
Parallel port pin number
| struct { ... } hamlib_port::post_write_date |
hamlib internal use
| int hamlib_port::post_write_delay |
Delay between each commands send out, in mS
| char* hamlib_port::product |
Product (opt.)
| ptt_type_t hamlib_port::ptt |
PTT port type
| int hamlib_port::rate |
Serial baud rate
| int hamlib_port::retry |
Maximum number of retries, 0 to disable
| rig_port_t hamlib_port::rig |
Communication port type
| enum serial_control_state_e hamlib_port::rts_state |
RTS set state
| struct { ... } hamlib_port::serial |
serial attributes
| int hamlib_port::stop_bits |
Number of stop bits
| int hamlib_port::timeout |
Timeout, in mS
| struct { ... } hamlib_port::usb |
USB attributes
| char* hamlib_port::vendor_name |
Vendor name (opt.)
| int hamlib_port::vid |
Vendor ID
| int hamlib_port::write_delay |
Delay between each byte sent out, in mS
Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org