2003-12-04 23:15:02 +00:00
|
|
|
.\" Hey, EMACS: -*- nroff -*-
|
|
|
|
.\" First parameter, NAME, should be all caps
|
|
|
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
|
|
|
.\" other parameters are allowed: see man(7), man(1)
|
2009-09-14 07:27:58 +00:00
|
|
|
.TH RIGMEM "1" "September 13, 2009" "Hamlib" "Radio Memory Operations"
|
2003-12-04 23:15:02 +00:00
|
|
|
.\" Please adjust this date whenever revising the manpage.
|
|
|
|
.\"
|
|
|
|
.\" Some roff macros, for reference:
|
|
|
|
.\" .nh disable hyphenation
|
|
|
|
.\" .hy enable hyphenation
|
|
|
|
.\" .ad l left justify
|
|
|
|
.\" .ad b justify to both left and right margins
|
|
|
|
.\" .nf disable filling
|
|
|
|
.\" .fi enable filling
|
|
|
|
.\" .br insert line break
|
|
|
|
.\" .sp <n> insert n+1 empty lines
|
|
|
|
.\" for manpage-specific macros, see man(7)
|
|
|
|
.SH NAME
|
2004-07-11 11:53:14 +00:00
|
|
|
rigmem \- backup and restore memory of radio transceivers and receivers
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B rigmem
|
|
|
|
[\fIOPTION\fR]... [\fICOMMAND\fR]...
|
|
|
|
.SH DESCRIPTION
|
2004-07-11 11:53:14 +00:00
|
|
|
Backup and restore memory of radio transceivers and receivers.
|
2007-02-24 20:24:34 +00:00
|
|
|
\fBrigmem\fP accepts \fIcommands\fP from the command line only.
|
2003-12-04 23:15:02 +00:00
|
|
|
.PP
|
|
|
|
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
2007-02-24 20:24:34 +00:00
|
|
|
.\" \fI<whatever>\fP escape sequences to invoke bold face and italics,
|
2003-12-04 23:15:02 +00:00
|
|
|
.\" respectively.
|
2007-02-24 20:24:34 +00:00
|
|
|
Keep in mind that \fBHamlib\fP is BETA level software.
|
|
|
|
While a lot of backend libraries lack complete rig support, the basic functions
|
|
|
|
are usually well supported. The API may change without publicized notice,
|
|
|
|
while an advancement of the minor version (e.g. 1.1.x to 1.2.x) indicates such
|
|
|
|
a change.
|
|
|
|
.PP
|
|
|
|
Please report bugs and provide feedback at the e-mail address given in the
|
|
|
|
REPORTING BUGS section. Patches and code enhancements are also welcome.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH OPTIONS
|
2007-02-24 20:24:34 +00:00
|
|
|
This program follows the usual GNU command line syntax, with long
|
2003-12-04 23:15:02 +00:00
|
|
|
options starting with two dashes (`-').
|
2007-02-24 20:24:34 +00:00
|
|
|
|
|
|
|
Here is a summary of the supported options:
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2007-02-24 20:24:34 +00:00
|
|
|
.B \-m, --model=id
|
|
|
|
Select radio model number. See model list (use 'rigctl -l').
|
|
|
|
.br
|
|
|
|
NB: \fBrigmem\fP (or third party software) will use rig model 1901
|
|
|
|
when using \fBrpc.rigd\fP.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B \-r, --rig-file=device
|
2007-02-24 20:24:34 +00:00
|
|
|
Use \fIdevice\fP as the file name of the port the radio is connected.
|
|
|
|
Often a serial port, but could be a USB to serial adapter. Typically
|
|
|
|
/dev/ttyS0, /dev/ttyS1, /dev/ttyUSB0, etc.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B \-s, --serial-speed=baud
|
2007-02-24 20:24:34 +00:00
|
|
|
Set serial speed to \fIbaud\fP rate. Uses maximum serial speed from rig
|
|
|
|
backend capabilities as the default.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B \-c, --civaddr=id
|
2007-02-24 20:24:34 +00:00
|
|
|
Use \fIid\fP as the CI-V address to communicate with the rig. Only useful for
|
|
|
|
Icom rigs.
|
|
|
|
.br
|
|
|
|
NB: the \fIid\fP is in decimal notation, unless prefixed by
|
|
|
|
\fI0x\fP, in which case it is hexadecimal.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2007-02-24 20:24:34 +00:00
|
|
|
.B \-C, --set-conf=parm=val[,parm=val]*
|
|
|
|
Set config parameter. e.g. stop_bits=2
|
|
|
|
.br
|
|
|
|
Use -L option of \fBrigctl\fP for a list.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2007-02-24 20:24:34 +00:00
|
|
|
.B \-x, --xml
|
2003-12-04 23:15:02 +00:00
|
|
|
Use XML format instead of CSV, if libxml2 is available.
|
|
|
|
.TP
|
2007-02-24 20:24:34 +00:00
|
|
|
.B \-v, --verbose
|
|
|
|
Set verbose mode, cumulative (see DIAGNOSTICS below).
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2007-02-24 20:24:34 +00:00
|
|
|
.B \-h, --help
|
|
|
|
Show a summary of these options and exit.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
2007-02-24 20:24:34 +00:00
|
|
|
.B \-V, --version
|
|
|
|
Show version of \fBrigmem\fP and exit.
|
|
|
|
.PP
|
|
|
|
\fBNOTE!\fP Some options may not be implemented by a given backend and will
|
|
|
|
return an error. This is most likely to occur with the \fI\-\-set-conf\fP
|
|
|
|
option.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH COMMANDS
|
2007-02-24 20:24:34 +00:00
|
|
|
Backup and restore are supported for basic CSV file and XML format where
|
|
|
|
available.
|
2003-12-04 23:15:02 +00:00
|
|
|
.PP
|
|
|
|
Please note that the backend for the radio to be controlled,
|
|
|
|
or the radio itself may not support some commands. In that case,
|
2007-02-24 20:24:34 +00:00
|
|
|
the operation will fail with a \fBHamlib\fP 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:
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B save
|
2007-02-24 20:24:34 +00:00
|
|
|
Save all the content of memory in a CSV (or XML) file given as an argument to
|
|
|
|
the command.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B load
|
2007-02-24 20:24:34 +00:00
|
|
|
Load the content into all the memory from a CSV (or XML) file given as
|
|
|
|
an argument to the command.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B save_parm
|
2007-02-24 20:24:34 +00:00
|
|
|
Save all the parameters of the radio in a CSV (or XML) file given as an
|
|
|
|
argument to the command.
|
2003-12-04 23:15:02 +00:00
|
|
|
.TP
|
|
|
|
.B load_parm
|
2007-02-24 20:24:34 +00:00
|
|
|
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
|
2007-02-24 20:24:34 +00:00
|
|
|
This is a very \fBDANGEROUS\fP command, as it will completely clear out
|
|
|
|
everything you have programmed in the memory of your radio. \fBALL DATA WILL
|
|
|
|
BE LOST\fP. Use at your own risk!
|
|
|
|
.SH DIAGNOSTICS
|
|
|
|
The \fB-v\fP, \fB--version\fP option allows different levels of diagnostics
|
|
|
|
to be output to \fBstderr\fP and correspond to -v for BUG, -vv for ERR,
|
|
|
|
-vvv for WARN, -vvvv for VERBOSE, or -vvvvv for TRACE.
|
2003-12-04 23:15:02 +00:00
|
|
|
|
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.
|
|
|
|
.SH EXIT STATUS
|
|
|
|
\fBrigmem\fP exits with:
|
|
|
|
.br
|
|
|
|
0 if all operations completed normally;
|
|
|
|
.br
|
|
|
|
1 if there was an invalid command line option or argument;
|
|
|
|
.br
|
|
|
|
2 if an error was returned by \fBHamlib\fP.
|
2009-09-14 07:27:58 +00:00
|
|
|
.br
|
|
|
|
3 the \fBHamlib\fP backend has no memory support implemented and/or
|
|
|
|
the rig has no memory access available.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH BUGS
|
2007-02-24 20:24:34 +00:00
|
|
|
This empty section...
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH REPORTING BUGS
|
2007-02-24 20:24:34 +00:00
|
|
|
Report bugs to <hamlib-developer@lists.sourceforge.net>.
|
|
|
|
.br
|
|
|
|
We are already aware of the bug in the previous section :-)
|
|
|
|
.SH AUTHOR
|
|
|
|
Written by Stephane Fillod and the Hamlib Group
|
2003-12-04 23:15:02 +00:00
|
|
|
.br
|
2007-02-24 20:24:34 +00:00
|
|
|
<http://www.hamlib.org>.
|
2003-12-04 23:15:02 +00:00
|
|
|
.SH COPYRIGHT
|
2009-02-20 12:26:13 +00:00
|
|
|
Copyright \(co 2000-2009 Stephane Fillod and the Hamlib Group.
|
2003-12-04 23:15:02 +00:00
|
|
|
.br
|
|
|
|
This is free software; see the source for copying conditions.
|
|
|
|
There is NO warranty; not even for MERCHANTABILITY
|
|
|
|
or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
.SH SEE ALSO
|
2007-02-24 20:24:34 +00:00
|
|
|
.BR rigctl (1),
|
|
|
|
.BR hamlib (3)
|
2003-12-04 23:15:02 +00:00
|
|
|
|