Hamlib  3.0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros
token.h File Reference

Token definitions. More...

#include <hamlib/rig.h>
Include dependency graph for token.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TOKEN_BACKEND(t)   (t)
 Create a backend token, t.
 
#define TOKEN_FRONTEND(t)   ((t)|(1<<30))
 Create a frontend token, t.
 
#define IS_TOKEN_FRONTEND(t)   ((t)&(1<<30))
 Test for token - frontend?
 
#define TOK_FRONTEND_NONE   TOKEN_FRONTEND(0)
 Null frontend token.
 
#define TOK_BACKEND_NONE   TOKEN_BACKEND(0)
 Null backend token.
 
#define TOK_PATHNAME   TOKEN_FRONTEND(10)
 Pathname is device for rig control, e.g. /dev/ttyS0.
 
#define TOK_WRITE_DELAY   TOKEN_FRONTEND(12)
 Delay before serial output (units?)
 
#define TOK_POST_WRITE_DELAY   TOKEN_FRONTEND(13)
 Delay after serial output (units?)
 
#define TOK_TIMEOUT   TOKEN_FRONTEND(14)
 Timeout delay (units?)
 
#define TOK_RETRY   TOKEN_FRONTEND(15)
 Number of retries permitted.
 
#define TOK_SERIAL_SPEED   TOKEN_FRONTEND(20)
 Serial speed - "baud rate".
 
#define TOK_DATA_BITS   TOKEN_FRONTEND(21)
 No. data bits per serial character.
 
#define TOK_STOP_BITS   TOKEN_FRONTEND(22)
 No. stop bits per serial character.
 
#define TOK_PARITY   TOKEN_FRONTEND(23)
 Serial parity (format?)
 
#define TOK_HANDSHAKE   TOKEN_FRONTEND(24)
 Serial Handshake (format?)
 
#define TOK_RTS_STATE   TOKEN_FRONTEND(25)
 Serial Req. To Send status.
 
#define TOK_DTR_STATE   TOKEN_FRONTEND(26)
 Serial Data Terminal Ready status.
 
#define TOK_PTT_TYPE   TOKEN_FRONTEND(30)
 PTT type override.
 
#define TOK_PTT_PATHNAME   TOKEN_FRONTEND(31)
 PTT pathname override.
 
#define TOK_DCD_TYPE   TOKEN_FRONTEND(32)
 DCD type override.
 
#define TOK_DCD_PATHNAME   TOKEN_FRONTEND(33)
 DCD pathname override.
 
#define TOK_PTT_BITNUM   TOKEN_FRONTEND(34)
 CM108 GPIO bit number for PTT.
 
#define TOK_VFO_COMP   TOKEN_FRONTEND(110)
 rig: ??
 
#define TOK_POLL_INTERVAL   TOKEN_FRONTEND(111)
 rig: polling interval (units?)
 
#define TOK_ITU_REGION   TOKEN_FRONTEND(120)
 rig: International Telecommunications Union region no.
 
#define TOK_MIN_AZ   TOKEN_FRONTEND(110)
 rot: Minimum Azimuth
 
#define TOK_MAX_AZ   TOKEN_FRONTEND(111)
 rot: Maximum Azimuth
 
#define TOK_MIN_EL   TOKEN_FRONTEND(112)
 rot: Minimum Elevation
 
#define TOK_MAX_EL   TOKEN_FRONTEND(113)
 rot: Maximum Elevation
 

Detailed Description

Token definitions.


Generated by doxygen 1.8.8

Hamlib documentation for version 3.0.1 -- Wed Jan 13 2016 15:05:23
Project page: http://www.hamlib.org