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: common/BLEDevice.cpp
- Revision:
- 403:f24e0ea73138
- Parent:
- 260:ea7f9f14cc15
--- a/common/BLEDevice.cpp Wed Apr 15 09:05:11 2015 +0100 +++ b/common/BLEDevice.cpp Thu May 21 09:34:46 2015 +0000 @@ -31,7 +31,7 @@ /* Platforms enabled for DFU should introduce the DFU Service into * applications automatically. */ #if defined(TARGET_OTA_ENABLED) - static DFUService dfu(*this); // defined static so that the object remains alive + //static DFUService dfu(*this); // defined static so that the object remains alive #endif // TARGET_OTA_ENABLED return BLE_ERROR_NONE;