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.h
- Revision:
- 230:2c414d3240a8
- Parent:
- 111:189ff241dae1
- Child:
- 305:71367f7cd078
--- 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
