Wang Xinglu / BLE_API

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
692:44ebea6c9d8e
Parent:
549:0ade048a19a3
Child:
550:35b3962903af
--- a/public/BLE.h	Fri Jun 19 15:53:04 2015 +0100
+++ b/public/BLE.h	Fri Jun 19 15:53:04 2015 +0100
@@ -1135,7 +1135,7 @@
      * @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.onDataSent(...) should be replaced with
-     * ble.gap().onDataSent(...).
+     * ble.gattServer().onDataSent(...).
      */
     void onDataSent(void (*callback)(unsigned count)) {
         gattServer().onDataSent(callback);
@@ -1162,7 +1162,7 @@
      * @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.onDataWritten(...) should be replaced with
-     * ble.gap().onDataWritten(...).
+     * ble.gattServer().onDataWritten(...).
      */
     void onDataWritten(void (*callback)(const GattWriteCallbackParams *eventDataP)) {
         gattServer().onDataWritten(callback);