File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 31
31
#include < platform/internal/GenericConfigurationManagerImpl.ipp>
32
32
33
33
using namespace ::chip::DeviceLayer::Internal;
34
+ using namespace chip ::app::Clusters::BasicInformation;
34
35
35
36
namespace chip {
36
37
namespace DeviceLayer {
@@ -664,5 +665,19 @@ CHIP_ERROR FactoryDataProvider::GetRotatingDeviceIdUniqueId(MutableByteSpan & un
664
665
return err;
665
666
}
666
667
668
+ CHIP_ERROR FactoryDataProvider::GetProductFinish (ProductFinishEnum * finish)
669
+ {
670
+ CHIP_ERROR err = CHIP_NO_ERROR;
671
+ *finish = ProductFinishEnum::kOther ;
672
+ return err;
673
+ }
674
+
675
+ CHIP_ERROR FactoryDataProvider::GetProductPrimaryColor (ColorEnum * primaryColor)
676
+ {
677
+ CHIP_ERROR err = CHIP_NO_ERROR;
678
+ *primaryColor = ColorEnum::kBlack ;
679
+ return err;
680
+ }
681
+
667
682
} // namespace DeviceLayer
668
683
} // namespace chip
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ class FactoryDataProvider : public chip::Credentials::DeviceAttestationCredentia
60
60
CHIP_ERROR GetHardwareVersion (uint16_t & hardwareVersion) override ;
61
61
CHIP_ERROR GetHardwareVersionString (char * buf, size_t bufSize) override ;
62
62
CHIP_ERROR GetRotatingDeviceIdUniqueId (MutableByteSpan & uniqueIdSpan) override ;
63
+ CHIP_ERROR GetProductFinish (app::Clusters::BasicInformation::ProductFinishEnum * finish) override ;
64
+ CHIP_ERROR GetProductPrimaryColor (app::Clusters::BasicInformation::ColorEnum * primaryColor) override ;
63
65
64
66
bool kReadFromFlash = false ;
65
67
You can’t perform that action at this time.
0 commit comments