2003-12-04 23:15:02 +00:00
|
|
|
.\" Hey, EMACS: -*- nroff -*-
|
|
|
|
.\"
|
2018-04-30 03:41:50 +00:00
|
|
|
.\" For layout and available macros, see man(7), man-pages(7), groff_man(7)
|
|
|
|
.\" Please adjust the date whenever revising the manpage.
|
|
|
|
.\"
|
|
|
|
.\" Note: Please keep this page in sync with the source, rigmem.c
|
|
|
|
.\"
|
2019-12-11 04:13:57 +00:00
|
|
|
.TH RIGMEM "1" "2019-12-10" "Hamlib" "Hamlib Utilities"
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH NAME
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2004-07-11 11:53:14 +00:00
|
|
|
rigmem \- backup and restore memory of radio transceivers and receivers
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH SYNOPSIS
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.
|
|
|
|
.SY rigmem
|
|
|
|
.OP \-ahvVx
|
|
|
|
.OP \-m id
|
|
|
|
.OP \-r device
|
|
|
|
.OP \-s baud
|
|
|
|
.OP \-c id
|
|
|
|
.OP \-C parm=val
|
|
|
|
.OP \-p sep
|
|
|
|
command
|
|
|
|
.RI [ file ]
|
|
|
|
.YS
|
|
|
|
.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH DESCRIPTION
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2004-07-11 11:53:14 +00:00
|
|
|
Backup and restore memory of radio transceivers and receivers.
|
2018-04-30 03:41:50 +00:00
|
|
|
.B rigmem
|
|
|
|
accepts
|
|
|
|
.IR command s
|
|
|
|
from the command line only.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.PP
|
2018-04-30 03:41:50 +00:00
|
|
|
Keep in mind that Hamlib is BETA level software. While a lot of backend
|
2018-07-30 02:59:15 +00:00
|
|
|
libraries lack complete radio support, the basic functions are usually well
|
2018-04-30 03:41:50 +00:00
|
|
|
supported.
|
|
|
|
.
|
2007-02-24 20:24:34 +00:00
|
|
|
.PP
|
2018-04-30 03:41:50 +00:00
|
|
|
Please report bugs and provide feedback at the e-mail address given in the
|
|
|
|
.B BUGS
|
|
|
|
section below. Patches and code enhancements sent to the same address are
|
|
|
|
welcome.
|
|
|
|
.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH OPTIONS
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
This program follows the usual GNU command line syntax. Short options that
|
|
|
|
take an argument may have the value follow immediately or be separated by a
|
|
|
|
space. Long options starting with two dashes (\(oq\-\(cq) require an
|
|
|
|
\(oq=\(cq between the option and any argument.
|
|
|
|
.
|
|
|
|
.PP
|
2007-02-24 20:24:34 +00:00
|
|
|
Here is a summary of the supported options:
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-m ", " \-\-model = \fIid\fP
|
|
|
|
Select radio model number.
|
|
|
|
.IP
|
|
|
|
See model list (use \(lqrigctl \-l\(rq).
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-r ", " \-\-rig\-file = \fIdevice\fP
|
|
|
|
Use
|
|
|
|
.I device
|
|
|
|
as the file name of the port connected to the radio.
|
|
|
|
.IP
|
|
|
|
Often a serial port, but could be a USB to serial adapter. Typically
|
|
|
|
.IR /dev/ttyS0 ", " /dev/ttyS1 ", " /dev/ttyUSB0 ,
|
|
|
|
etc. on Linux,
|
|
|
|
.IR COM1 ", " COM2 ,
|
|
|
|
etc. on MS Windows. The BSD flavors and Mac OS/X have their own designations.
|
|
|
|
See your system's documentation.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-s ", " \-\-serial\-speed = \fIbaud\fP
|
|
|
|
Set radio serial speed to
|
|
|
|
.I baud
|
|
|
|
rate.
|
|
|
|
.IP
|
2018-07-30 02:59:15 +00:00
|
|
|
Uses maximum serial speed from radio backend capabilities as the default.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-c ", " \-\-civaddr = \fIid\fP
|
|
|
|
Use
|
|
|
|
.I id
|
2018-07-30 02:59:15 +00:00
|
|
|
as the CI-V address to communicate with the radio.
|
2018-04-30 03:41:50 +00:00
|
|
|
.IP
|
2018-07-30 02:59:15 +00:00
|
|
|
Only useful for Icom and some Ten-Tec radios.
|
2018-04-30 03:41:50 +00:00
|
|
|
.IP
|
|
|
|
.BR Note :
|
|
|
|
The
|
|
|
|
.I id
|
|
|
|
is in decimal notation, unless prefixed by
|
|
|
|
.IR 0x ,
|
|
|
|
in which case it is hexadecimal.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-C ", " \-\-set\-conf = \fIparm=val\fP [ \fI,parm=val\fP ]
|
|
|
|
Set radio configuration parameter(s), e.g.
|
|
|
|
.IR stop_bits=2 .
|
|
|
|
.IP
|
|
|
|
Use the
|
|
|
|
.B -L
|
|
|
|
option of
|
|
|
|
.B rigctl
|
|
|
|
for a list of configuration parameters for a given model number.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-p ", " \-\-set\-separator = \fIsep\fP
|
|
|
|
Set character as column separator instead of the CSV comma.
|
|
|
|
.IP
|
|
|
|
Some common alternatives are the vertical bar (pipe), \(oq|\(cq, semicolon,
|
|
|
|
\(oq;\(cq, and colon, \(oq:\(cq.
|
|
|
|
.
|
|
|
|
.TP
|
|
|
|
.BR \-a ", " \-\-all
|
|
|
|
Bypass mem_caps, apply to all fields of channel_t.
|
|
|
|
.
|
|
|
|
.TP
|
|
|
|
.BR \-x ", " \-\-xml
|
2003-12-04 23:15:02 +00:00
|
|
|
Use XML format instead of CSV, if libxml2 is available.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-v ", " \-\-verbose
|
|
|
|
Set verbose mode, cumulative (see
|
|
|
|
.B DIAGNOSTICS
|
|
|
|
below).
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-h ", " \-\-help
|
2007-02-24 20:24:34 +00:00
|
|
|
Show a summary of these options and exit.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR \-V ", " \-\-version
|
|
|
|
Show version of
|
|
|
|
.B rigmem
|
|
|
|
and exit.
|
|
|
|
.
|
2007-02-24 20:24:34 +00:00
|
|
|
.PP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR Note :
|
|
|
|
Some options may not be implemented by a given backend and will return an
|
|
|
|
error. This is most likely to occur with the
|
|
|
|
.B \-\-set\-conf
|
2007-02-24 20:24:34 +00:00
|
|
|
option.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH COMMANDS
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
Backup and restore are supported for basic CSV file and XML format where
|
2007-02-24 20:24:34 +00:00
|
|
|
available.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.PP
|
2018-04-30 03:41:50 +00:00
|
|
|
Please note that the backend for the radio to be controlled, or the radio
|
|
|
|
itself may not support some commands. In that case, the operation will fail
|
|
|
|
with a
|
|
|
|
.B Hamlib
|
|
|
|
error message.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.PP
|
2007-02-24 20:24:34 +00:00
|
|
|
Here is a summary of the supported commands:
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BI save " file"
|
|
|
|
Save all the content of memory in a CSV (or XML) file given as an argument to
|
2007-02-24 20:24:34 +00:00
|
|
|
the command.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BI load " file"
|
|
|
|
Load the content into all the memory from a CSV (or XML) file given as an
|
2007-02-24 20:24:34 +00:00
|
|
|
argument to the command.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2018-04-30 03:41:50 +00:00
|
|
|
.BI save_parm " file"
|
|
|
|
Save all the parameters of the radio in a CSV (or XML) file given as an
|
2007-02-24 20:24:34 +00:00
|
|
|
argument to the command.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.TP
|
|
|
|
.BI load_parm " file"
|
|
|
|
Load the parameters of the radio from a CSV (or XML) file given as an argument
|
|
|
|
to the command.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B clear
|
2018-04-30 03:41:50 +00:00
|
|
|
This is a very
|
|
|
|
.B DANGEROUS
|
|
|
|
command, as it will completely clear out everything you have programmed in the
|
|
|
|
memory of your radio.
|
|
|
|
.BR "ALL DATA WILL BE LOST" .
|
|
|
|
Use at your own risk!
|
|
|
|
.
|
|
|
|
.
|
2007-02-24 20:24:34 +00:00
|
|
|
.SH DIAGNOSTICS
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
The
|
|
|
|
.BR \-v ,
|
|
|
|
.B \-\-verbose
|
|
|
|
option allows different levels of diagnostics to be output to
|
|
|
|
.B stderr
|
|
|
|
and correspond to \-v for
|
|
|
|
.BR BUG ,
|
|
|
|
\-vv for
|
|
|
|
.BR ERR ,
|
|
|
|
\-vvv for
|
|
|
|
.BR WARN ,
|
|
|
|
\-vvvv for
|
|
|
|
.BR VERBOSE ,
|
|
|
|
or \-vvvvv for
|
|
|
|
.BR TRACE .
|
|
|
|
.
|
|
|
|
.PP
|
2007-02-24 20:24:34 +00:00
|
|
|
A given verbose level is useful for providing needed debugging information to
|
|
|
|
the email address below. For example, TRACE output shows all of the values
|
|
|
|
sent to and received from the radio which is very useful for radio backend
|
|
|
|
library development and may be requested by the developers.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.
|
2007-02-24 20:24:34 +00:00
|
|
|
.SH EXIT STATUS
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.B rigmem
|
|
|
|
exits with:
|
|
|
|
.
|
|
|
|
.TP
|
|
|
|
.B 0
|
|
|
|
if all operations completed normally;
|
|
|
|
.
|
|
|
|
.TP
|
|
|
|
.B 1
|
|
|
|
if there was an invalid command line option or argument;
|
|
|
|
.
|
|
|
|
.TP
|
|
|
|
.B 2
|
|
|
|
if an error was returned by
|
|
|
|
.BR Hamlib .
|
|
|
|
.
|
|
|
|
.TP
|
|
|
|
.B 3
|
|
|
|
the
|
|
|
|
.B Hamlib
|
2018-07-30 02:59:15 +00:00
|
|
|
backend has no memory support implemented and/or the radio has no memory access
|
2018-04-30 03:41:50 +00:00
|
|
|
available.
|
|
|
|
.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH BUGS
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
Report bugs to:
|
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
.MT hamlib\-developer@lists.sourceforge.net
|
|
|
|
Hamlib Developer mailing list
|
|
|
|
.ME
|
|
|
|
.fi
|
|
|
|
.
|
|
|
|
.
|
|
|
|
.SH COPYING
|
|
|
|
.
|
|
|
|
This file is part of Hamlib, a project to develop a library that simplifies
|
2019-12-11 04:13:57 +00:00
|
|
|
radio, rotator, and amplifier control functions for developers of software
|
|
|
|
primarily of interest to radio amateurs and those interested in radio
|
|
|
|
communications.
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.PP
|
|
|
|
Copyright \(co 2003-2011 Stephane Fillod
|
2003-12-04 23:15:02 +00:00
|
|
|
.br
|
2019-12-11 04:13:57 +00:00
|
|
|
Copyright \(co 2007,2019 Nate Bargmann
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
|
|
|
.PP
|
|
|
|
This is free software; see the file COPYING for copying conditions. There is
|
|
|
|
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
.
|
|
|
|
.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH SEE ALSO
|
2018-04-30 03:41:50 +00:00
|
|
|
.
|
2007-02-24 20:24:34 +00:00
|
|
|
.BR rigctl (1),
|
2018-04-30 03:41:50 +00:00
|
|
|
.BR hamlib (7)
|
|
|
|
.
|
|
|
|
.
|
|
|
|
.SH COLOPHON
|
|
|
|
.
|
|
|
|
Links to the Hamlib Wiki, Git repository, release archives, and daily snapshot
|
|
|
|
archives:
|
|
|
|
.IP
|
|
|
|
.UR http://www.hamlib.org
|
|
|
|
hamlib.org
|
|
|
|
.UE .
|