Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: common/BLEDeviceInstanceBase.hpp
- Revision:
- 108:c85ab5f1eca0
- Parent:
- 106:a20be740075d
diff -r bd10367dfd1c -r c85ab5f1eca0 common/BLEDeviceInstanceBase.hpp
--- 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;
};
/**
