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.
Fork of BLE_API by
Diff: hw/BLEDevice.h
- Revision:
- 99:58c47085e816
- Parent:
- 98:d751acb2543f
- Child:
- 100:1e80e8032c13
diff -r d751acb2543f -r 58c47085e816 hw/BLEDevice.h
--- a/hw/BLEDevice.h Thu Jul 03 09:57:05 2014 +0100
+++ b/hw/BLEDevice.h Thu Jul 03 09:59:53 2014 +0100
@@ -201,7 +201,7 @@
/**
* Setup a callback for the GATT event DATA_SENT.
*/
- void onDataSent(GattServer::EventCallback_t callback);
+ void onDataSent(GattServer::ServerEventCallback_t callback);
/**
* Setup a callback for when a characteristic has its value updated by a
@@ -415,7 +415,7 @@
}
inline void
-BLEDevice::onDataSent(GattServer::EventCallback_t callback)
+BLEDevice::onDataSent(GattServer::ServerEventCallback_t callback)
{
transport->getGattServer().setOnDataSent(callback);
}
