![]() |
Hamlib 4.7.2
|
Port definition. More...
#include <port.h>

Data Structures | |
| union | [union].type |
| struct | [struct].post_write_date |
| union | [union].parm |
Data Fields | |
| union | type |
| int | fd |
| void * | handle |
| int | write_delay |
| int | post_write_delay |
| struct | post_write_date |
| int | timeout |
| short | retry |
| short | flushx |
| char | pathname [HAMLIB_FILPATHLEN] |
| union | parm |
| int | client_port |
| RIG * | rig |
| int | asyncio |
| int | fd_sync_write |
| int | fd_sync_read |
| int | fd_sync_error_write |
| int | fd_sync_error_read |
| short | timeout_retry |
Port definition.
Of course, looks like OO painstakingly programmed in C, sigh.
| int hamlib_port::asyncio |
enable asynchronous data handling if true – async collides with python keyword so _async is used
| int hamlib_port::client_port |
client socket port for tcp connection
| int hamlib_port::fd |
File descriptor
| int hamlib_port::fd_sync_error_read |
file descriptor for reading synchronous data error codes
| int hamlib_port::fd_sync_error_write |
file descriptor for writing synchronous data error codes
| int hamlib_port::fd_sync_read |
file descriptor for reading synchronous data
| int hamlib_port::fd_sync_write |
file descriptor for writing synchronous data
| short hamlib_port::flushx |
If true flush is done with read instead of TCFLUSH - MicroHam
| void* hamlib_port::handle |
handle for USB
| union hamlib_port::[union].parm hamlib_port::parm |
Port parameter union
| char hamlib_port::pathname[HAMLIB_FILPATHLEN] |
Port pathname
| struct hamlib_port::[struct].post_write_date hamlib_port::post_write_date |
hamlib internal use
| int hamlib_port::post_write_delay |
Delay between each commands send out, in mS
| short hamlib_port::retry |
Maximum number of retries, 0 to disable
| RIG* hamlib_port::rig |
our parent RIG device
| int hamlib_port::timeout |
Timeout, in mS
| short hamlib_port::timeout_retry |
number of retries to make in case of read timeout errors, some serial interfaces may require this, 0 to disable
| union hamlib_port::[union].type hamlib_port::type |
Type of port in use.
| int hamlib_port::write_delay |
Delay between each byte sent out, in mS