diff --git a/src/app/ReadClient.cpp b/src/app/ReadClient.cpp index f89c8bee528fa9..4e12b5a2bb320c 100644 --- a/src/app/ReadClient.cpp +++ b/src/app/ReadClient.cpp @@ -617,7 +617,7 @@ CHIP_ERROR ReadClient::ProcessReportData(System::PacketBufferHandle && aPayload, // a subscription and have a valid value for mMaxInterval which the function // relies on. // - mpCallback.RefreshLiveness(*this); + mpCallback.NotifySubscriptionStillActive(*this); err = RefreshLivenessCheckTimer(); } } diff --git a/src/app/ReadClient.h b/src/app/ReadClient.h index ebe4de89988f7e..f1226a41b9ae22 100644 --- a/src/app/ReadClient.h +++ b/src/app/ReadClient.h @@ -90,7 +90,7 @@ class ReadClient : public Messaging::ExchangeDelegate * receives an OnDone call to destroy the object. * */ - virtual void RefreshLiveness(const ReadClient & apReadClient) {} + virtual void NotifySubscriptionStillActive(const ReadClient & apReadClient) {} /** * Used to signal the commencement of processing of the first attribute or event report received in a given exchange.