From 52a728e601a8a3b41612578bf40deab9d2b6ff67 Mon Sep 17 00:00:00 2001 From: "mila@ringwald.ch" Date: Fri, 30 May 2014 14:14:05 +0000 Subject: [PATCH] removed unsed files --- example/libusb/ble_client.c | 1 - example/libusb/ble_client.h | 66 ------------------------------------- example/libusb/le_central.c | 35 -------------------- example/libusb/le_central.h | 48 --------------------------- 4 files changed, 150 deletions(-) delete mode 100644 example/libusb/ble_client.h delete mode 100644 example/libusb/le_central.c delete mode 100644 example/libusb/le_central.h diff --git a/example/libusb/ble_client.c b/example/libusb/ble_client.c index 661a0966c..cfe286bab 100644 --- a/example/libusb/ble_client.c +++ b/example/libusb/ble_client.c @@ -48,7 +48,6 @@ #include "btstack-config.h" -#include "ble_client.h" #include "ad_parser.h" #include "debug.h" diff --git a/example/libusb/ble_client.h b/example/libusb/ble_client.h deleted file mode 100644 index 0eb56ed40..000000000 --- a/example/libusb/ble_client.h +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright (C) 2011-2013 by BlueKitchen GmbH - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * 4. This software may not be used in a commercial product - * without an explicit license granted by the copyright holder. - * - * THIS SOFTWARE IS PROVIDED BY MATTHIAS RINGWALD AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS - * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ - -//***************************************************************************** -// -// BLE Client -// -//***************************************************************************** - - -// NOTE: Supports only a single connection - -#ifndef __BLE_CLIENT_H -#define __BLE_CLIENT_H - -#include "btstack-config.h" - -#include -#include "gatt_client.h" - -#if defined __cplusplus -extern "C" { -#endif - -#define LE_CENTRAL_MAX_INCLUDE_DEPTH 3 - - -void ble_client_init(); -void le_central_init(); - -void le_central_register_connection_handler(void (*le_callback)(le_event_t * event)); - -#if defined __cplusplus -} -#endif -#endif // __BLE_CLIENT_H diff --git a/example/libusb/le_central.c b/example/libusb/le_central.c deleted file mode 100644 index ab01e272b..000000000 --- a/example/libusb/le_central.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2011-2014 by BlueKitchen GmbH - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * 4. This software may not be used in a commercial product - * without an explicit license granted by the copyright holder. - * - * THIS SOFTWARE IS PROVIDED BY MATTHIAS RINGWALD AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS - * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ - -#include - diff --git a/example/libusb/le_central.h b/example/libusb/le_central.h deleted file mode 100644 index d7172caa8..000000000 --- a/example/libusb/le_central.h +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2011-2014 by BlueKitchen GmbH - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the copyright holders nor the names of - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. - * 4. This software may not be used in a commercial product - * without an explicit license granted by the copyright holder. - * - * THIS SOFTWARE IS PROVIDED BY MATTHIAS RINGWALD AND CONTRIBUTORS - * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS - * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL MATTHIAS - * RINGWALD OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED - * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - */ - -#ifndef btstack_le_central_h -#define btstack_le_central_h - - -#if defined __cplusplus -extern "C" { -#endif - - - -#if defined __cplusplus -} -#endif - -#endif