Skip to content

Commit aaf9435

Browse files
author
Abbas Bracken Ziad
committed
Use general name for POD
1 parent d42c0a7 commit aaf9435

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

connectivity/FEATURE_BLE/include/ble/gatt/GattCallbackParamTypes.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -444,11 +444,11 @@ struct GattDataSentCallbackParams {
444444
};
445445

446446
/**
447-
* Gatt Updates Enabled Attribute related events
447+
* Gatt Updates Changed Attribute related events
448448
*
449-
* Used by `onUpdatesEnabled`
449+
* Used by `onUpdatesEnabled` and 'onUpdatesDisabled'
450450
*/
451-
struct GattUpdatesEnabledCallbackParams {
451+
struct GattUpdatesChangedCallbackParams {
452452

453453
/**
454454
* The handle of the connection that triggered the event.
@@ -461,14 +461,15 @@ struct GattUpdatesEnabledCallbackParams {
461461
GattAttribute::Handle_t attHandle;
462462

463463
/**
464-
* The handle of the characteristic containing the CCCD
464+
* The value handle of the characteristic containing the CCCD
465465
*/
466466
GattAttribute::Handle_t charHandle;
467467

468468
};
469469

470-
using GattUpdatesDisabledCallbackParams = GattUpdatesEnabledCallbackParams;
471-
using GattConfirmationReceivedCallbackParams = GattDataSentCallbackParams;
470+
using GattUpdatesEnabledCallbackParams = GattUpdatesChangedCallbackParams;
471+
using GattUpdatesDisabledCallbackParams = GattUpdatesChangedCallbackParams;
472+
using GattConfirmationReceivedCallbackParams = GattDataSentCallbackParams;
472473

473474
namespace ble {
474475

0 commit comments

Comments
 (0)