Time Synchronization 0x0038
Synchronizes device time with trusted time sources for accurate timestamps.
Attributes 13
Commands 6
Features 4
| Code | Name | Type | Flags |
|---|---|---|---|
| 0x0000 | UTCTime | epoch_us | |
| 0x0001 | Granularity | GranularityEnum | |
| 0x0002 | TimeSource | TimeSourceEnum | Optional |
| 0x0003 | TrustedTimeSource | TrustedTimeSourceStruct | Optional |
| 0x0004 | DefaultNTP | char_string | Optional |
| 0x0005 | TimeZone | array | Optional |
| 0x0006 | DSTOffset | array | Optional |
| 0x0007 | LocalTime | epoch_us | Optional |
| 0x0008 | TimeZoneDatabase | TimeZoneDatabaseEnum | Optional |
| 0x0009 | NTPServerAvailable | boolean | Optional |
| 0x000A | TimeZoneListMaxSize | int8u | Optional |
| 0x000B | DSTOffsetListMaxSize | int8u | Optional |
| 0x000C | SupportsDNSResolve | boolean | Optional |
| Code | Name | Direction | Parameters |
|---|---|---|---|
| 0x00 | SetUTCTime | client→server |
UTCTime: epoch_us, Granularity: GranularityEnum, TimeSource: TimeSourceEnum |
| 0x01 | SetTrustedTimeSource Optional | client→server |
TrustedTimeSource: FabricScopedTrustedTimeSourceStruct |
| 0x02 | SetTimeZone Optional | client→server |
TimeZone: TimeZoneStruct |
| 0x03 | SetTimeZoneResponse Optional | server→client |
DSTOffsetRequired: boolean |
| 0x04 | SetDSTOffset Optional | client→server |
DSTOffset: DSTOffsetStruct |
| 0x05 | SetDefaultNTP Optional | client→server |
DefaultNTP: char_string |
TimeZone
(TZ)
bit 0
Server supports time zone.
NTPClient
(NTPC)
bit 1
Server supports an NTP or SNTP client.
NTPServer
(NTPS)
bit 2
Server supports an NTP server role.
TimeSyncClient
(TSC)
bit 3
Time synchronization client cluster is present.
Device Types Using This Cluster
Device types in the Matter spec that reference this cluster
Devices Implementing This Cluster
25 devices in the survey implement this cluster