Module time_sync

Source
Expand description

Generated Matter TLV encoders and decoders for Time Synchronization Cluster Cluster ID: 0x0038

This file is automatically generated from TimeSync.xml

Structs§

DSTOffset
FabricScopedTrustedTimeSource
TimeZone
TrustedTimeSource

Functions§

decode_attribute_json
Decode attribute value and return as JSON string
decode_default_ntp
Decode DefaultNTP attribute (0x0004)
decode_dst_offset
Decode DSTOffset attribute (0x0006)
decode_dst_offset_list_max_size
Decode DSTOffsetListMaxSize attribute (0x000B)
decode_granularity
Decode Granularity attribute (0x0001)
decode_local_time
Decode LocalTime attribute (0x0007)
decode_ntp_server_available
Decode NTPServerAvailable attribute (0x0009)
decode_supports_dns_resolve
Decode SupportsDNSResolve attribute (0x000C)
decode_time_source
Decode TimeSource attribute (0x0002)
decode_time_zone
Decode TimeZone attribute (0x0005)
decode_time_zone_database
Decode TimeZoneDatabase attribute (0x0008)
decode_time_zone_list_max_size
Decode TimeZoneListMaxSize attribute (0x000A)
decode_trusted_time_source
Decode TrustedTimeSource attribute (0x0003)
decode_utc_time
Decode UTCTime attribute (0x0000)
encode_set_default_ntp
Encode SetDefaultNTP command (0x05)
encode_set_dst_offset
Encode SetDSTOffset command (0x04)
encode_set_time_zone
Encode SetTimeZone command (0x02)
encode_set_trusted_time_source
Encode SetTrustedTimeSource command (0x01)
encode_set_utc_time
Encode SetUTCTime command (0x00)
get_attribute_list
Get list of all attributes supported by this cluster