Skip to content

Commit 70a564e

Browse files
committed
GattClient: remove deprecated onDataWrite
1 parent 1a89b77 commit 70a564e

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

features/FEATURE_BLE/ble/GattClient.h

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -525,25 +525,6 @@ class GattClient : public StaticInterface<Impl, GattClient> {
525525
return onDataWriteCallbackChain;
526526
}
527527

528-
/**
529-
* Register an attribute write event handler.
530-
*
531-
* @param[in] callback Event handler being registered.
532-
*
533-
* @note It is possible to remove registered handlers using
534-
* onDataWritten().detach(callbackToRemove).
535-
*
536-
* @note Write commands (issued using writeWoResponse) don't generate a
537-
* response.
538-
*
539-
* @deprecated Use GattServer::onDataWritten().
540-
*/
541-
MBED_DEPRECATED("Use GattServer::onDataWritten()")
542-
void onDataWrite(WriteCallback_t callback)
543-
{
544-
onDataWritten(callback);
545-
}
546-
547528
/**
548529
* Register a service discovery termination event handler.
549530
*

0 commit comments

Comments
 (0)