Logo Search packages:      
Sourcecode: hamlib version File versions

orion.h File Reference

Detailed Description

Backend for Tentec Orion 565 / 566.

This documentation is experimental, to see how we can do it for the backends.
This backend tested mostly with firmware version 1.372

Definition in file orion.h.

Go to the source code of this file.


struct  tt565_priv_data
 Orion private data. More...


#define EOM   "\015"
 End of command marker.
#define TT565_AM   '4'
 AM Mode.
#define TT565_ANTS   (RIG_ANT_1|RIG_ANT_2)
 Orion Tx/Rx Antennas.
#define TT565_BUFSIZE   16
#define TT565_CW   '2'
 CW normal Mode.
#define TT565_CW_MAX   60
 maximum CW keyer rate, wpm
#define TT565_CW_MIN   10
 minimum CW keyer rate, wpm
#define TT565_CWR   '3'
 CW reverse Mode.
#define TT565_FM   '5'
 FM Mode.
 Orion Supported Functions.
#define TT565_LEVELS
 Orion Supported Levels.
#define TT565_LSB   '1'
 LSB Mode.
#define TT565_MEM_CAP
 Memory capability.
#define TT565_MODES
 Orion Supported Modes.
#define TT565_PARMS   (RIG_PARM_NONE)
 Orion Parameters.
#define TT565_RTTY   '6'
 RTTY Mode.
#define TT565_RXANTS   (TT565_ANTS|RIG_ANT_3)
 Orion Rx Antennas.
#define TT565_RXMODES   (TT565_MODES)
 Orion Receiver Modes.
#define TT565_STR_CAL
 S-Meter Calibration list.
#define TT565_TONE_MAX   1200
 maximum sidetone freq., Hz
#define TT565_TONE_MIN   300
 minimum sidetone freq., Hz
#define TT565_USB   '0'
 USB Mode.
#define TT565_VFO   (RIG_VFO_A|RIG_VFO_B)
 Orion VFOs - A and B.
#define TT565_VFO_OPS
 Orion VFO Operations.


int tt565_cleanup (RIG *rig)
 tt565_cleanup routine
int tt565_get_ant (RIG *rig, vfo_t vfo, ant_t *ant)
 Find what antenna is "attached" to our vfo.
int tt565_get_freq (RIG *rig, vfo_t vfo, freq_t *freq)
 Get the frequency currently set in the specified VFO (A or B).
int tt565_get_func (RIG *rig, vfo_t vfo, setting_t func, int *status)
 get state of an Orion "function"
const char * tt565_get_info (RIG *rig)
 Get firmware identification, e.g., "Version 1.372".
int tt565_get_level (RIG *rig, vfo_t vfo, setting_t level, value_t *val)
 Get the current value of an Orion "level".
int tt565_get_mem (RIG *rig, vfo_t vfo, int *ch)
 Get the current memory channel number (only).
int tt565_get_mode (RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
 Get op. mode and bandwidth for selected vfo.
int tt565_get_ptt (RIG *rig, vfo_t vfo, ptt_t *ptt)
 Get push to talk (Tx on/off).
int tt565_get_rit (RIG *rig, vfo_t vfo, shortfreq_t *rit)
 Get Rx incremental tuning.
int tt565_get_split_vfo (RIG *rig, vfo_t vfo, split_t *split, vfo_t *tx_vfo)
 Get the current split status and Tx vfo selection.
int tt565_get_ts (RIG *rig, vfo_t vfo, shortfreq_t *ts)
 Get Tuning Step for VFO A or B.
int tt565_get_vfo (RIG *rig, vfo_t *vfo)
int tt565_get_xit (RIG *rig, vfo_t vfo, shortfreq_t *xit)
 Get Tx incremental tuning (Main TRx only).
int tt565_init (RIG *rig)
 Basically, it just sets up *priv.
int tt565_reset (RIG *rig, reset_t reset)
 Restart Orion firmware.
int tt565_send_morse (RIG *rig, vfo_t vfo, const char *msg)
 Send a string as morse characters.
int tt565_set_ant (RIG *rig, vfo_t vfo, ant_t ant)
 Antenna selection for Orion.
int tt565_set_freq (RIG *rig, vfo_t vfo, freq_t freq)
 Set a frequence into the specified VFO.
int tt565_set_func (RIG *rig, vfo_t vfo, setting_t func, int status)
 Set an Orion "function".
int tt565_set_level (RIG *rig, vfo_t vfo, setting_t level, value_t val)
 Sets any of Orion's "Level" adjustments.
int tt565_set_mem (RIG *rig, vfo_t vfo, int ch)
 This only sets the current memory channel locally. No Orion I/O.
int tt565_set_mode (RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
 Set operating mode to RIG_MODE_x with indicated passband width.
int tt565_set_ptt (RIG *rig, vfo_t vfo, ptt_t ptt)
 Set push to talk (Tx on/off).
int tt565_set_rit (RIG *rig, vfo_t vfo, shortfreq_t rit)
 Set Rx incremental tuning.
int tt565_set_split_vfo (RIG *rig, vfo_t vfo, split_t split, vfo_t tx_vfo)
 Set split operating mode.
int tt565_set_ts (RIG *rig, vfo_t vfo, shortfreq_t ts)
 Set Tuning Step for VFO A or B.
int tt565_set_vfo (RIG *rig, vfo_t vfo)
 set RIG_VFO_CURR and send info to physical rig.
int tt565_set_xit (RIG *rig, vfo_t vfo, shortfreq_t xit)
 Set Tx incremental tuning (Main TRx only).
int tt565_vfo_op (RIG *rig, vfo_t vfo, vfo_op_t op)
 perform a RIG_OP operation


struct rig_caps tt565_caps
 tt565 transceiver capabilities.

Generated by  Doxygen 1.6.0   Back to index