[Hamlib-developer] hamlib 1.0.3 release
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Frank S. <vk...@ix...> - 2000-08-20 18:39:55
|
Hi,
Well here is the first release of the hamlib libraries.
There is a lot of work to do, but I do have API's
implemeneted for FT747GX and FT847 radios mostly
implemented. :-)
Examples of test programs to say connect to a radio
and do something usefuly (like change frequency for
example) are in the test directory for each radio
type.
At the moment the API's are described in each
radio's header file.
eg: ft747.h of ft847.h
Basically you connect to a rig, issue commands, and
then diconnect.
A C code snippet to connect to a FT847 and set
the frequnecy of the main VFO to 439,700,000 Hz ,
using FM as the required mode, would look something
like this.
<snip>
int fd;
fd = rig_open(SERIAL_PORT);
printf("port %s opened ok \n",SERIAL_PORT);
cmd_set_cat_on(fd); /* cat on */
cmd_set_freq_main_vfo_hz(fd,439700000,MODE_FM);
cmd_set_cat_off(fd); /* cat off */
rig_close(fd);
printf("port %s closed ok \n",SERIAL_PORT);
<snip>
There are NO GUI's yet, but I mainly wanted to
get the libraries implemented, so people can
start using them for implementing cool stuff.
Perhaps I will even add a GUI section as well if
I get enough volunteers.
If you are interested in joining the crew, let me
know and I can arrange that.
It mainly helps if you have some type of radio and
a copy of the control docs (eg: User Manuals).
It is hoped that the API's get documented well enough
for developers to just use this library. In fact I have
made function wrappers for some of the raw "CAT" calls
that make life a bit easier.
eg: You dont have to worry about BCD conversion and
packing data according to the Radio's manual.
Most command can use specify the freq in Hz and mode
like MODE_FM, MODE_CW etc..
cmd_set_freq_main_vfo_hz(fd,439700000,MODE_FM);
Any common routines should eventually live in
the "common" directory.
Anyway, take a look around. No fancy web pages yet
(volunteers ??) but the core libraries are being
developed all the time and provide useful
functionality.
If you want to help me out, contact me at the
"Open Discussion Forum" news area at
http://sourceforge.net/projects/hamlib/
-- Frank..
--
Frank Singleton VK3FCS
Email: victor kilo three foxtrot charlie sierra at ix dot netcom dot com
|