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/BLEDeviceInstanceBase.h
- Revision:
- 230:2c414d3240a8
- Parent:
- 111:189ff241dae1
- Child:
- 305:71367f7cd078
diff -r 6664b6c0e92b -r 2c414d3240a8 common/BLEDeviceInstanceBase.h --- a/common/BLEDeviceInstanceBase.h Wed Dec 03 14:38:40 2014 +0000 +++ b/common/BLEDeviceInstanceBase.h Wed Dec 03 14:38:40 2014 +0000 @@ -28,6 +28,7 @@ virtual Gap& getGap() = 0; virtual GattServer& getGattServer() = 0; virtual ble_error_t init(void) = 0; + virtual ble_error_t shutdown(void) = 0; virtual ble_error_t reset(void) = 0; virtual ble_error_t setTxPower(int8_t txPower) = 0; virtual void waitForEvent(void) = 0; @@ -43,4 +44,4 @@ */ extern BLEDeviceInstanceBase *createBLEDeviceInstance(void); -#endif // ifndef __BLE_DEVICE_INSTANCE_BASE__ +#endif // ifndef __BLE_DEVICE_INSTANCE_BASE__ \ No newline at end of file