High level Bluetooth Low Energy API and radio abstraction layer
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Overview
The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.
Supported Services
Supported services can be found in the BLE_API/services folder.
Diff: source/services/DFUService.cpp
- Revision:
- 994:1f46234b1237
- Parent:
- 992:ca834f7ae8ed
- Child:
- 1006:76ae9bbf173f
--- a/source/services/DFUService.cpp Wed Dec 02 10:29:44 2015 +0000 +++ b/source/services/DFUService.cpp Wed Dec 02 10:29:44 2015 +0000 @@ -14,6 +14,8 @@ * limitations under the License. */ +#ifdef TARGET_NRF51822 /* DFU only supported on nrf51 platforms */ + #include "ble/services/DFUService.h" const uint8_t DFUServiceBaseUUID[] = { @@ -37,4 +39,6 @@ 0x15, 0x23, 0x78, 0x5F, 0xEA, 0xBC, 0xD1, 0x23, }; -DFUService::ResetPrepare_t DFUService::handoverCallback = NULL; \ No newline at end of file +DFUService::ResetPrepare_t DFUService::handoverCallback = NULL; + +#endif /* #ifdef TARGET_NRF51822 */ \ No newline at end of file