Merge pull request #5 from xiongyihui/master
make the library less dependent on the mbed.h headermaster
commit
d93ad344b3
|
@ -27,6 +27,7 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
/** @defgroup BLE_UUID_VALUES Assigned Values for BLE UUIDs
|
||||
* @{ */
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#ifndef __BLE_DEVICE__
|
||||
#define __BLE_DEVICE__
|
||||
|
||||
#include "mbed.h"
|
||||
#include "blecommon.h"
|
||||
#include "Gap.h"
|
||||
#include "GattServer.h"
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
#include <string.h>
|
||||
#include "FunctionPointerWithContext.h"
|
||||
|
||||
namespace mbed {
|
||||
|
||||
/** Group one or more functions in an instance of a CallChainOfFunctionPointersWithContext, then call them in
|
||||
* sequence using CallChainOfFunctionPointersWithContext::call(). Used mostly by the interrupt chaining code,
|
||||
|
@ -27,7 +26,6 @@ namespace mbed {
|
|||
*
|
||||
* Example:
|
||||
* @code
|
||||
* #include "mbed.h"
|
||||
*
|
||||
* CallChainOfFunctionPointersWithContext<void *> chain;
|
||||
*
|
||||
|
@ -147,7 +145,4 @@ private:
|
|||
CallChainOfFunctionPointersWithContext & operator = (const CallChainOfFunctionPointersWithContext &);
|
||||
};
|
||||
|
||||
} // namespace mbed
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
namespace mbed {
|
||||
|
||||
/** A class for storing and calling a pointer to a static or member void function
|
||||
* which takes a context.
|
||||
|
@ -126,6 +125,5 @@ private:
|
|||
* external memory to manage the chain. Also refer to
|
||||
* 'CallChain' as an alternative. */
|
||||
};
|
||||
} // namespace mbed
|
||||
|
||||
#endif // ifndef MBED_FUNCTIONPOINTER_WITH_CONTEXT_H
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#ifndef __GAP_H__
|
||||
#define __GAP_H__
|
||||
|
||||
#include "mbed.h"
|
||||
#include "blecommon.h"
|
||||
#include "GapAdvertisingData.h"
|
||||
#include "GapAdvertisingParams.h"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#define __GAP_EVENTS_H__
|
||||
|
||||
#include "blecommon.h"
|
||||
#include "mbed.h"
|
||||
|
||||
/**************************************************************************/
|
||||
/*!
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#ifndef __GATT_SERVER_H__
|
||||
#define __GATT_SERVER_H__
|
||||
|
||||
#include "mbed.h"
|
||||
#include "blecommon.h"
|
||||
#include "GattService.h"
|
||||
#include "GattServerEvents.h"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#define __GATT_SERVER_EVENTS_H__
|
||||
|
||||
#include "blecommon.h"
|
||||
#include "mbed.h"
|
||||
|
||||
/**************************************************************************/
|
||||
/*!
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#ifndef __BLE_UART_SERVICE_H__
|
||||
#define __BLE_UART_SERVICE_H__
|
||||
|
||||
#include "mbed.h"
|
||||
#include "Stream.h"
|
||||
|
||||
#include "UUID.h"
|
||||
|
|
Loading…
Reference in New Issue