Variable CompleteInstanceConst Complete Instance : MutableCluster < { attributes : { acceptedCommandList : Attribute < . [] , never > ; attributeList : Attribute < . [] , never > ; clusterRevision : Attribute < number , never > ; defaultNtp : Attribute < string | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; dstOffset : Attribute < TypeFromFields [] , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; dstOffsetListMaxSize : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; featureMap : Attribute < TypeFromPartialBitSchema , never > ; generatedCommandList : Attribute < . [] , never > ; granularity : Attribute < TimeSynchronization . Granularity , any > ; localTime : Attribute < number | bigint | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; ntpServerAvailable : Attribute < boolean , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpServer : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; supportsDnsResolve : FixedAttribute < boolean , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeSource : OptionalAttribute < TimeSynchronization . TimeSource , any > ; timeZone : Attribute < TypeFromFields [] , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeZoneDatabase : FixedAttribute < TimeSynchronization . TimeZoneDatabase , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeZoneListMaxSize : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; trustedTimeSource : Attribute < TypeFromFields | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; utcTime : Attribute < number | bigint | null , any > ; } ; commands : { setDefaultNtp : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setDstOffset : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setTimeZone : Command < TypeFromFields , TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setTrustedTimeSource : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setUtcTime : Command < TypeFromFields , void , any > ; } ; events : { dstStatus : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; dstTableEmpty : Event < void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; missingTrustedTimeSource : Event < void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeFailure : Event < void , any > ; timeZoneStatus : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; } ; features : { ntpClient : BitFlag ; ntpServer : BitFlag ; timeSyncClient : BitFlag ; timeZone : BitFlag ; } ; id : @matter/general ; name : "TimeSynchronization" ; revision : 2 ; } , [ ] > Type declaration Readonlyattributes : { acceptedCommandList : Attribute < . [] , never > ; attributeList : Attribute < . [] , never > ; clusterRevision : Attribute < number , never > ; defaultNtp : Attribute < string | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; dstOffset : Attribute < TypeFromFields [] , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; dstOffsetListMaxSize : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; featureMap : Attribute < TypeFromPartialBitSchema , never > ; generatedCommandList : Attribute < . [] , never > ; granularity : Attribute < TimeSynchronization . Granularity , any > ; localTime : Attribute < number | bigint | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; ntpServerAvailable : Attribute < boolean , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpServer : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; supportsDnsResolve : FixedAttribute < boolean , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeSource : OptionalAttribute < TimeSynchronization . TimeSource , any > ; timeZone : Attribute < TypeFromFields [] , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeZoneDatabase : FixedAttribute < TimeSynchronization . TimeZoneDatabase , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeZoneListMaxSize : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; trustedTimeSource : Attribute < TypeFromFields | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; utcTime : Attribute < number | bigint | null , any > ; } Readonlyaccepted Command List : Attribute < . [] , never > Readonlyattribute List : Attribute < . [] , never > Readonlycluster Revision : Attribute < number , never > Readonlydefault Ntp : Attribute < string | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlydst Offset : Attribute < TypeFromFields [] , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlydst Offset List Max Size : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyfeature Map : Attribute < TypeFromPartialBitSchema , never > Readonlygenerated Command List : Attribute < . [] , never > Readonlylocal Time : Attribute < number | bigint | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyntp Server Available : Attribute < boolean , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpServer : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlysupports Dns Resolve : FixedAttribute < boolean , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlytime Zone : Attribute < TypeFromFields [] , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlytime Zone Database : FixedAttribute < TimeSynchronization . TimeZoneDatabase , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlytime Zone List Max Size : FixedAttribute < number , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlytrusted Time Source : Attribute < TypeFromFields | null , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyutc Time : Attribute < number | bigint | null , any > Readonlycommands : { setDefaultNtp : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setDstOffset : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setTimeZone : Command < TypeFromFields , TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setTrustedTimeSource : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; setUtcTime : Command < TypeFromFields , void , any > ; } Readonlyset Default Ntp : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { ntpClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyset Dst Offset : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyset Time Zone : Command < TypeFromFields , TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyset Trusted Time Source : Command < TypeFromFields , void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyset Utc Time : Command < TypeFromFields , void , any > Readonlyevents : { dstStatus : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; dstTableEmpty : Event < void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; missingTrustedTimeSource : Event < void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; timeFailure : Event < void , any > ; timeZoneStatus : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } ; } Readonlydst Status : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlydst Table Empty : Event < void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlymissing Trusted Time Source : Event < void , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeSyncClient : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlytime Failure : Event < void , any > Readonlytime Zone Status : Event < TypeFromFields , any > & { isConditional : true ; mandatoryIf : [ ] | [ { timeZone : boolean ; } ] ; optional : true ; optionalIf : [ ] | ConditionalFeatureList ; } Readonlyfeatures : { ntpClient : BitFlag ; ntpServer : BitFlag ; timeSyncClient : BitFlag ; timeZone : BitFlag ; } Readonlyname : "TimeSynchronization" Readonlyrevision : 2 Defined in packages/types/dist/esm/clusters/time-synchronization.d.ts:2130
This command may be issued by Administrator to set the time. If the Commissioner does not have a valid time source, it may send a Granularity of NoTimeGranularity.
Upon receipt of this command, the node may update its UTCTime attribute to match the time specified in the command, if the stated Granularity and TimeSource are acceptable. The node shall update its UTCTime attribute if its current Granularity is NoTimeGranularity.
If the time is updated, the node shall also update its Granularity attribute based on the granularity specified in the command and the expected clock drift of the node. This SHOULD normally be one level lower than the stated command Granularity. It shall also update its TimeSource attribute to Admin. It shall also update its Last Known Good UTC Time as defined in Section 3.5.6.1, “Last Known Good UTC Time”.
If the node updates its UTCTime attribute, it shall accept the command with a status code of SUCCESS. If it opts to not update its time, it shall fail the command with a cluster specific Status Code of TimeNotAccepted.