mirror of https://github.com/ARMmbed/mbed-os.git
GattClient: remove deprecated onDataWrite
parent
1a89b7718c
commit
70a564e7de
|
@ -525,25 +525,6 @@ public:
|
||||||
return onDataWriteCallbackChain;
|
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.
|
* Register a service discovery termination event handler.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue