diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2006-03-20 22:32:32 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2006-03-20 22:32:32 +0000 | 
| commit | f8a36952f39f2c51d4cd6f2e170817d89724c422 (patch) | |
| tree | 3f523e905791a3c5d540c64ffe33a49985d12a7e | |
| parent | fc4ca3634da071b9a75961be179cccbe88101b75 (diff) | |
Add skeleton for ST Microelectronics init routine
| -rw-r--r-- | tools/Makefile.am | 2 | ||||
| -rw-r--r-- | tools/hciattach_st.c | 29 | 
2 files changed, 31 insertions, 0 deletions
| diff --git a/tools/Makefile.am b/tools/Makefile.am index 08f5d742..d682448c 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -37,6 +37,8 @@ bin_PROGRAMS = hcitool l2ping sdptool ciptool $(dfutool_programs)  noinst_PROGRAMS = hcisecfilter ppporc +hciattach_SOURCES = hciattach.c hciattach_st.c +  hciconfig_SOURCES = hciconfig.c csr.h csr.c  hciconfig_LDADD = @BLUEZ_LIBS@ $(top_builddir)/common/libtextfile.a diff --git a/tools/hciattach_st.c b/tools/hciattach_st.c new file mode 100644 index 00000000..db73cfb5 --- /dev/null +++ b/tools/hciattach_st.c @@ -0,0 +1,29 @@ +/* + * + *  BlueZ - Bluetooth protocol stack for Linux + * + *  Copyright (C) 2005-2006  Marcel Holtmann <marcel@holtmann.org> + * + * + *  This program is free software; you can redistribute it and/or modify + *  it under the terms of the GNU General Public License as published by + *  the Free Software Foundation; either version 2 of the License, or + *  (at your option) any later version. + * + *  This program is distributed in the hope that it will be useful, + *  but WITHOUT ANY WARRANTY; without even the implied warranty of + *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + *  GNU General Public License for more details. + * + *  You should have received a copy of the GNU General Public License + *  along with this program; if not, write to the Free Software + *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <stdio.h> +#include <errno.h> | 
