Skip to content

Commit

Permalink
Initial revision
Browse files Browse the repository at this point in the history
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2 7ae35d74-ebe9-4afe-98af-79ac388436b8
  • Loading branch information
Frank Singleton, VK3FCS committed Jul 18, 2000
1 parent 4bd5e22 commit 9419ada
Show file tree
Hide file tree
Showing 10 changed files with 973 additions and 0 deletions.
39 changes: 39 additions & 0 deletions README
@@ -0,0 +1,39 @@
hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)

The purpose of this project is to provide stable, flexible,
shared libraries that enable quicker development of Amateur
Radio Equipment Control Applications.

Many Amateur Radio Transceivers come with serial interfaces
that allows software to control the radio. This project will
endeavour to provide shared libraries that greatly simplify
the application programmers interaction with radio equipment.

The shared libs will provide functions for both radio control,
and data retrieval from the radio.

Examples are:

1.libft747.so will provide connectivity to Yeasu
FT 747GX Transceiver via a standard API.

2. libft847.so will provide connectivity to Yaesu FT 847
"Earth Station" via a standard API.

3. libxxxx.so will provide connectivity to the Wiz-bang
moon-melter 101A (yikes..)

These libraries will also enable developers to develop
professional looking GUI's towards a standard control library
API, and they would not have to worry about the underlying
connection towards physical hardware.

Initially serial (RS232) connectivity will be handled, but
I expect that IP connectivity will follow afterwards.


Have Fun / Frank S.

73's de vk3fcs/km5ws


15 changes: 15 additions & 0 deletions TODO.skeleton
@@ -0,0 +1,15 @@
hamlib - (C) Frank Singleton 2000

TODO.<your rig> - (C) <your name> 2000
This shared library provides an API for communicating
via serial interface to a <your rig> using the <your interface> interface.

TODO
----

1. Complete pcodes
2. Write More extensive Test Suite
3. Document API
4. Document Limitations/Assumptions.
5.

85 changes: 85 additions & 0 deletions ft747/Makefile
@@ -0,0 +1,85 @@
#
#
# Make file for FT-747GX CAT program shared lib
#
# creates: libft747.so
#
# $Id: Makefile,v 1.1 2000-07-18 20:53:46 frank Exp $
#
#
# .h files go in INSTALL_INCLUDEDIR
# .so files go in INSTALL_LIBDIR
#
#


INSTALL_LIBDIR = ./lib/
INSTALL_INCLUDEDIR = ./include/

LIB_NAME = libft747.so
LIB_SONAME = libft747.so.1
LIB_RELEASE = libft747.so.1.0.1
LIB_HEADER = ft747.h
LIB_SRC = ft747.c
LIB_OBJECTS = ft747.o

all: lib

.PHONY: lib
lib:
gcc -fPIC -g -Wall -c $(LIB_SRC)
gcc -shared -Wl,-soname,$(LIB_SONAME) -o $(LIB_RELEASE) $(LIB_OBJECTS) -lc

# install header and lib

install:
make install_lib
make install_header

# install lib in MYLIBDIR

.PHONY: install_lib
install_lib:
mv $(LIB_RELEASE) $(INSTALL_LIBDIR)
cd $(INSTALL_LIBDIR); /sbin/ldconfig -n .
cd $(INSTALL_LIBDIR); ln -s $(LIB_SONAME) $(LIB_NAME)

# install libft747.h in INSTALL_INCLUDEDIR

.PHONY: install_header
install_header:
cp -f $(LIB_HEADER) $(INSTALL_INCLUDEDIR)


# clean up local directory, my include and lib
# directories also.

clean:
make cleanlocal
make cleanlib
make cleaninclude

# clean up local directory

.PHONY: cleanlocal
cleanlocal:
rm -f *.o *.so*

# clean up local lib directory

.PHONY: cleanlib
cleanlib:
cd $(INSTALL_LIBDIR); rm -f $(LIB_NAME)*



# clean up local include directory

.PHONY: cleaninclude
cleaninclude:
cd $(INSTALL_INCLUDEDIR); rm -f $(LIB_HEADER)





34 changes: 34 additions & 0 deletions ft747/README.ft747
@@ -0,0 +1,34 @@
hamlib - (C) Frank Singleton 2000

libft747.so - (C) Frank Singleton 2000
This shared library provides an API for communicating
via serial interface to an FT-747GX using the "CAT" interface
box (FIF-232C) or similar.


Reference Documentation
-----------------------

Operating Manual
FT-747GX
Yaesu Musen Co, LTD.


Status
------

Handles >90% of all opcodes


Warnings
--------

NA


Contributors
------------




16 changes: 16 additions & 0 deletions ft747/TODO.ft747
@@ -0,0 +1,16 @@
hamlib - (C) Frank Singleton 2000

TODO.ft747 - (C) Frank Singleton 2000
This shared library provides an API for communicating
via serial interface to an FT-747GX using the "CAT" interface
box (FIF-232C) or similar.

TODO
----

1. Complete pcodes
2. Write More extensive Test Suite
3.
4.
5.

0 comments on commit 9419ada

Please sign in to comment.