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.hpp
- Revision:
- 108:c85ab5f1eca0
- Parent:
- 106:a20be740075d
--- a/common/BLEDeviceInstanceBase.hpp Thu Jul 24 15:35:04 2014 +0100 +++ b/common/BLEDeviceInstanceBase.hpp Thu Jul 24 15:38:15 2014 +0100 @@ -24,11 +24,13 @@ class BLEDeviceInstanceBase { public: - virtual Gap& getGap() = 0; - virtual GattServer& getGattServer() = 0; - virtual ble_error_t init(void) = 0; - virtual ble_error_t reset(void) = 0; - virtual void waitForEvent(void) = 0; + virtual const char *getVersion(void) = 0; + virtual Gap& getGap() = 0; + virtual GattServer& getGattServer() = 0; + virtual ble_error_t init(void) = 0; + virtual ble_error_t reset(void) = 0; + virtual ble_error_t setTxPower(int8_t txPower) = 0; + virtual void waitForEvent(void) = 0; }; /**