move files around

This commit is contained in:
hathach committed 2017-01-11 13:56:45 +07:00
1 parent 9dbaf7cd49
commit 09ae3f22ce
18 files changed
+59 -19

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ uint32_t setLoopStacksize(void);
#include "delay.h"
#include "binary.h"
#include "common_inc.h"
#ifdef __cplusplus
#include "Uart.h"
File renamed without changes.
@@ -36,15 +36,8 @@
#ifndef COMMON_INC_H_
#define COMMON_INC_H_
#include <Arduino.h>
#include "ble.h"
#include "ble_hci.h"
#include "nrf_sdm.h"
typedef uint32_t err_t;
#include "utility/compiler_macro.h"
#include "utility/verify.h"
#include "utility/common_func.h"
#include "compiler_macro.h"
#include "verify.h"
#include "common_func.h"
#endif /* COMMON_INC_H_ */
File renamed without changes.
@@ -36,7 +36,7 @@
#ifndef BLECHARACTERISTIC_H_
#define BLECHARACTERISTIC_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "BLEUuid.h"
class AdafruitBluefruit;
+1 -1
View File
@@ -36,7 +36,7 @@
#ifndef BLESERVICE_H_
#define BLESERVICE_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "BLEUuid.h"
class BLEService
+1 -1
View File
@@ -36,7 +36,7 @@
#ifndef BLEUUID_H_
#define BLEUUID_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
class BLEUuid
{
+1 -1
View File
@@ -35,7 +35,7 @@
/**************************************************************************/
#include <Arduino.h>
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "BLEUuid.h"
#include "BLECharacteristic.h"
@@ -0,0 +1,46 @@
/**************************************************************************/
/*!
@file bluefruit_common.h
@author hathach
@section LICENSE
Software License Agreement (BSD License)
Copyright (c) 2017, Adafruit Industries (adafruit.com)
All rights reserved.
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 its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''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 THE COPYRIGHT HOLDER 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 BLUEFRUIT_COMMON_H_
#define BLUEFRUIT_COMMON_H_
#include <Arduino.h>
#include "ble.h"
#include "ble_hci.h"
#include "nrf_sdm.h"
typedef uint32_t err_t;
#endif /* BLUEFRUIT_COMMON_H_ */
@@ -36,7 +36,7 @@
#ifndef BLEBAS_H_
#define BLEBAS_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "BLECharacteristic.h"
#include "BLEService.h"
@@ -36,7 +36,7 @@
#ifndef BLEBEACON_H_
#define BLEBEACON_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "BLECharacteristic.h"
#include "BLEService.h"
@@ -36,7 +36,7 @@
#ifndef BLEDFU_H_
#define BLEDFU_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "BLECharacteristic.h"
#include "BLEService.h"
@@ -36,7 +36,7 @@
#ifndef BLEDIS_H_
#define BLEDIS_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "BLECharacteristic.h"
#include "BLEService.h"
@@ -36,7 +36,7 @@
#ifndef BLEUART_H_
#define BLEUART_H_
#include "utility/common_inc.h"
#include "bluefruit_common.h"
#include "utility/adafruit_fifo.h"
#include "BLECharacteristic.h"