Hamlib 4.7~git
Loading...
Searching...
No Matches
hamlib_port_deprecated Struct Reference

#include <port.h>

Collaboration diagram for hamlib_port_deprecated:

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
short retry
short flushx
char pathname [HAMLIB_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   ptt_bitnum 
   }   cm108
   struct { 
      int   vid 
      int   pid 
      int   conf 
      int   iface 
      int   alt 
      char *   vendor_name 
      char *   product 
   }   usb
   struct { 
      int   on_value 
      int   value 
   }   gpio
parm
int client_port
RIGrig

Detailed Description

Deprecated
This structure will be removed in 5.0 and should not be used in new code.
Warning
DO NOT CHANGE THIS STRUCTURE AT ALL! Will be removed in 5.0.

Field Documentation

◆ alt

int hamlib_port_deprecated::alt

alternate

◆ client_port

int hamlib_port_deprecated::client_port

client socket port for tcp connection

◆ [struct]

struct { ... } hamlib_port_deprecated::cm108

CM108 attributes

◆ conf

int hamlib_port_deprecated::conf

Configuration

◆ data_bits

int hamlib_port_deprecated::data_bits

Number of data bits

◆ dcd

dcd_type_t hamlib_port_deprecated::dcd

DCD port type

◆ dtr_state

enum serial_control_state_e hamlib_port_deprecated::dtr_state

DTR set state

◆ fd

int hamlib_port_deprecated::fd

File descriptor

◆ flushx

short hamlib_port_deprecated::flushx

If true flush is done with read instead of TCFLUSH - MicroHam

◆ [struct]

struct { ... } hamlib_port_deprecated::gpio

GPIO attributes

◆ handle

void* hamlib_port_deprecated::handle

handle for USB

◆ handshake

enum serial_handshake_e hamlib_port_deprecated::handshake

Serial handshake

◆ iface

int hamlib_port_deprecated::iface

interface

◆ on_value

int hamlib_port_deprecated::on_value

GPIO: 1 == normal, GPION: 0 == inverted

◆ [struct]

struct { ... } hamlib_port_deprecated::parallel

parallel attributes

◆ parity

enum serial_parity_e hamlib_port_deprecated::parity

Serial parity

◆ [union]

union { ... } hamlib_port_deprecated::parm

Port parameter union

◆ pathname

char hamlib_port_deprecated::pathname[HAMLIB_FILPATHLEN]

Port pathname

◆ pid

int hamlib_port_deprecated::pid

Product ID

◆ pin

int hamlib_port_deprecated::pin

Parallel port pin number

◆ [struct]

struct { ... } hamlib_port_deprecated::post_write_date

hamlib internal use

◆ post_write_delay

int hamlib_port_deprecated::post_write_delay

Delay between each commands send out, in mS

◆ product

char* hamlib_port_deprecated::product

Product (opt.)

◆ ptt

ptt_type_t hamlib_port_deprecated::ptt

PTT port type

◆ ptt_bitnum

int hamlib_port_deprecated::ptt_bitnum

Bit number for CM108 GPIO PTT

◆ rate

int hamlib_port_deprecated::rate

Serial baud rate

◆ retry

short hamlib_port_deprecated::retry

Maximum number of retries, 0 to disable

◆ rig [1/2]

rig_port_t hamlib_port_deprecated::rig

Communication port type

◆ rig [2/2]

RIG* hamlib_port_deprecated::rig

our parent RIG device

◆ rts_state

enum serial_control_state_e hamlib_port_deprecated::rts_state

RTS set state

◆ [struct]

struct { ... } hamlib_port_deprecated::serial

serial attributes

◆ stop_bits

int hamlib_port_deprecated::stop_bits

Number of stop bits

◆ timeout

int hamlib_port_deprecated::timeout

Timeout, in mS

◆ [union]

union { ... } hamlib_port_deprecated::type

Type of port in use.

◆ [struct]

struct { ... } hamlib_port_deprecated::usb

USB attributes

◆ value

int hamlib_port_deprecated::value

Toggle PTT ON or OFF

◆ vendor_name

char* hamlib_port_deprecated::vendor_name

Vendor name (opt.)

◆ vid

int hamlib_port_deprecated::vid

Vendor ID

◆ write_delay

int hamlib_port_deprecated::write_delay

Delay between each byte sent out, in mS


The documentation for this struct was generated from the following file: