File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
connectivity/FEATURE_BLE/include/ble/gatt Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff 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
473474namespace ble {
474475
You can’t perform that action at this time.
0 commit comments