Application: Matter product using nRF54L15, SDK 3.0.0
Ecosystem: Matter product joins Apple HomePod
I am not able to get time/date delivered via Matter to the product.
1. Time Sync Cluster has been enabled using ZAP tool. Server is checked off.
2. FeatureMap bit map: Bit 0=1, Server supports time Zone, NTPC: server supports NTP client, TSC: Time Sync client cluster is present.
3. To read time, the below has been added.
System::Clock::Microseconds64 utcTime;
auto chipError = System::SystemClock().GetClock_RealTime(utcTime);
if(chipError == CHIP_NO_ERROR)
{
printk("Read time=%lld \n", utcTime.count());
}
else printk("Not able to read time: chipError=%s \n", chipError.AsString());
4. Generate ZAP files, and build.
5. When executed, I get the error:
Read Calendar and Time Info ---->Not able to read time: chipError=Error CHIP:0x00000003
Not able to read time; Chip Error=3
Please let me know what is not correct. Do we have any documentation or sample code?
Thanks in advance.
Subu