Use general name for POD

pull/14506/head
Abbas Bracken Ziad 2021-04-07 12:34:25 +01:00
parent d42c0a7269
commit aaf9435f87
1 changed files with 7 additions and 6 deletions

View File

@ -444,11 +444,11 @@ struct GattDataSentCallbackParams {
}; };
/** /**
* Gatt Updates Enabled Attribute related events * Gatt Updates Changed Attribute related events
* *
* Used by `onUpdatesEnabled` * Used by `onUpdatesEnabled` and 'onUpdatesDisabled'
*/ */
struct GattUpdatesEnabledCallbackParams { struct GattUpdatesChangedCallbackParams {
/** /**
* The handle of the connection that triggered the event. * The handle of the connection that triggered the event.
@ -461,13 +461,14 @@ struct GattUpdatesEnabledCallbackParams {
GattAttribute::Handle_t attHandle; GattAttribute::Handle_t attHandle;
/** /**
* The handle of the characteristic containing the CCCD * The value handle of the characteristic containing the CCCD
*/ */
GattAttribute::Handle_t charHandle; GattAttribute::Handle_t charHandle;
}; };
using GattUpdatesDisabledCallbackParams = GattUpdatesEnabledCallbackParams; using GattUpdatesEnabledCallbackParams = GattUpdatesChangedCallbackParams;
using GattUpdatesDisabledCallbackParams = GattUpdatesChangedCallbackParams;
using GattConfirmationReceivedCallbackParams = GattDataSentCallbackParams; using GattConfirmationReceivedCallbackParams = GattDataSentCallbackParams;
namespace ble { namespace ble {