Time Synchronization 0x0038
Accurate time is required for a number of reasons, including scheduling, display and validating security materials.
Spec History
Matter 1.0
Matter 1.1
Matter 1.2
rev 2
Matter 1.3
rev 2
Matter 1.4
rev 2
Matter 1.5
rev 2
Matter master
rev 2
Attributes (13)
| Code | Name | Type |
|---|---|---|
| 0x0000 | UTCTime | epoch_us |
| 0x0001 | Granularity | GranularityEnum |
| 0x0002 | TimeSource | TimeSourceEnum |
| 0x0003 | TrustedTimeSource | TrustedTimeSourceStruct |
| 0x0004 | DefaultNTP | char_string |
| 0x0005 | TimeZone | array |
| 0x0006 | DSTOffset | array |
| 0x0007 | LocalTime | epoch_us |
| 0x0008 | TimeZoneDatabase | TimeZoneDatabaseEnum |
| 0x0009 | NTPServerAvailable | boolean |
| 0x000A | TimeZoneListMaxSize | int8u |
| 0x000B | DSTOffsetListMaxSize | int8u |
| 0x000C | SupportsDNSResolve | boolean |
Commands (6)
| Code | Name | Direction |
|---|---|---|
| 0x00 | SetUTCTime | client→server |
| 0x01 | SetTrustedTimeSource | client→server |
| 0x02 | SetTimeZone | client→server |
| 0x03 | SetTimeZoneResponse | server→client |
| 0x04 | SetDSTOffset | client→server |
| 0x05 | SetDefaultNTP | client→server |
Features (4)
| Bit | Code | Name |
|---|---|---|
| 0 | TZ | TimeZone — Server supports time zone. |
| 1 | NTPC | NTPClient — Server supports an NTP or SNTP client. |
| 2 | NTPS | NTPServer — Server supports an NTP server role. |
| 3 | TSC | TimeSyncClient — Time synchronization client cluster is present. |