[Hamlib-developer] Memory Save/Restore (anyrig to anyrig)
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Dale E. E. <de...@w-...> - 2002-06-20 19:56:21
|
Alex,
My thoughts exactly. I've got a utility I wrote for the Kenwood TS-2000
that saves the memories, and another that will restore them.
Additionally,
I have one that reads a file of commands and sends them to the rig. I
manually edit: current.mem, setup.cmd to include the local repeaters,
and my basic setup for my rig. When I do a full reset, I'm back to
normal
within a couple of minutes.
I've got a version of the hamlib-1.1.3 where I've got the
rig_get_channel()
working (partially). Hamlib needs very little added to support this.
We
may need: rig_read_channel(RIG *rig, FILE * file, channel_t chan),
rig_write_channel().
Alternatively, a program like rigctl can just use the existing stuff and
read and/or write channels as desired them write them in some generic
file format.
I haven't thought much about the file format except that:
1) It should be text.
2) It should be easy to modify to add/delete records.
The scanner and parser should be easy enough depending on how
it's implemented. As you mentioned, XML may make it very
easy and standard (I need to learn more about XML).
A setup file should even work between two rigs using hamlib
(that's what makes hamlib so interesting!). Of course, some
fields will get ignored or be slightly different.
73's
Dale
kd7eni
|