GattClient: remove deprecated onDataWrite

pull/12742/head
Lingkai Dong 2020-04-01 13:22:15 +01:00
parent 1a89b7718c
commit 70a564e7de
1 changed files with 0 additions and 19 deletions

View File

@ -525,25 +525,6 @@ public:
return onDataWriteCallbackChain;
}
/**
* Register an attribute write event handler.
*
* @param[in] callback Event handler being registered.
*
* @note It is possible to remove registered handlers using
* onDataWritten().detach(callbackToRemove).
*
* @note Write commands (issued using writeWoResponse) don't generate a
* response.
*
* @deprecated Use GattServer::onDataWritten().
*/
MBED_DEPRECATED("Use GattServer::onDataWritten()")
void onDataWrite(WriteCallback_t callback)
{
onDataWritten(callback);
}
/**
* Register a service discovery termination event handler.
*