From 81f21bbd18d7fd697e380bc07c990fbbd9a62d03 Mon Sep 17 00:00:00 2001 From: Pankaj Garg Date: Tue, 9 Feb 2021 10:05:55 -0800 Subject: [PATCH] add TODO for discriminator usage --- src/app/server/Server.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/server/Server.cpp b/src/app/server/Server.cpp index 954bfb70aea3b4..8177be01f72311 100644 --- a/src/app/server/Server.cpp +++ b/src/app/server/Server.cpp @@ -63,6 +63,11 @@ bool isRendezvousBypassed() return rendezvousMode == RendezvousInformationFlags::kNone; } +// TODO: The following class is setting the discriminator in Persistent Storage. This is +// is needed since BLE reads the discriminator using ConfigurationMgr APIs. The +// better solution will be to pass the discriminator to BLE without changing it +// in the persistent storage. +// https://github.com/project-chip/connectedhomeip/issues/4767 class DeviceDiscriminatorCache { public: