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: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: public/BLE.h
- Revision:
- 553:434770194877
- Parent:
- 552:9bf985a8a49b
- Child:
- 554:59e95a0efa37
--- a/public/BLE.h Fri Jun 19 15:52:10 2015 +0100
+++ b/public/BLE.h Fri Jun 19 15:52:10 2015 +0100
@@ -1208,8 +1208,8 @@
*
* @note: This API is now *deprecated* and will be dropped in the future.
* You should use the parallel API from GattServer directly. A former call
- * to ble.onUpdatesEnabled(...) should be replaced with
- * ble.gattServer().onUpdatesEnabled(...).
+ * to ble.onUpdatesEnabled(callback) should be replaced with
+ * ble.gattServer().onUpdatesEnabled(callback).
*/
void onUpdatesEnabled(GattServer::EventCallback_t callback) {
gattServer().onUpdatesEnabled(callback);
@@ -1221,8 +1221,8 @@
*
* @note: This API is now *deprecated* and will be dropped in the future.
* You should use the parallel API from GattServer directly. A former call
- * to ble.onUpdatesEnabled(...) should be replaced with
- * ble.gattServer().onUpdatesEnabled(...).
+ * to ble.onUpdatesEnabled(callback) should be replaced with
+ * ble.gattServer().onUpdatesEnabled(callback).
*/
void onUpdatesDisabled(GattServer::EventCallback_t callback) {
gattServer().onUpdatesDisabled(callback);