Lightly modified version of the BLE stack, that doesn't bring up a DFUService by default... as we have our own.
Fork of BLE_API by
Diff: public/BLEDevice.h
- Revision:
- 110:d5a824cee1d3
- Parent:
- 108:c85ab5f1eca0
- Child:
- 111:189ff241dae1
diff -r 8559a2da6f41 -r d5a824cee1d3 public/BLEDevice.h --- a/public/BLEDevice.h Fri Jul 25 10:34:18 2014 +0100 +++ b/public/BLEDevice.h Thu Jul 31 09:07:59 2014 +0100 @@ -14,15 +14,15 @@ * limitations under the License. */ +#ifndef __BLE_DEVICE__ +#define __BLE_DEVICE__ + #include "mbed.h" #include "blecommon.h" #include "Gap.h" #include "GattServer.h" #include "BLEDeviceInstanceBase.hpp" -#ifndef __BLE_DEVICE__ -#define __BLE_DEVICE__ - /** * The base class used to abstract away BLE capable radio transceivers or SOCs, * to enable this BLE API to work with any radio transparently.