Documentation ¶
Index ¶
- Constants
- func IPV6Multicast(flag, scope uint8, fid FabricId, gid GroupId) netip.Addr
- func IsControlMessage(payloadHeader *raw.PayloadHeader) bool
- func IsSecureChannel(id protocols.Id) bool
- func IsSecureMessage(msgType uint8) bool
- func IsStandaloneAck(msg uint8) bool
- func MakeIPv6PrefixMulticast(scope uint8, prefixLength uint8, prefix uint64, gid GroupId) netip.Addr
- func MakeIPv6TransientMulticast(fabricId FabricId, gid GroupId) netip.Addr
- func MatterTraceEventScope(mod string, args ...string)
- func MatterTraceMessageSent(payloadHeader *raw.PayloadHeader, packHeader *raw.PacketHeader, msg []byte)
- func Multicast(id FabricId, gid GroupId) netip.Addr
- type ActionId
- type AttributeId
- type AttributePersistence
- type AttributePersistenceProvider
- type CASEAuthTag
- type CATValues
- type ClusterId
- type ClusterStatus
- type CommandId
- type CompressedFabricId
- type DataVersion
- type DeviceTypeId
- type EndpointId
- type EventId
- type EventNumber
- type FabricId
- type FabricIndex
- type FieldId
- type GroupId
- type InteractionModelRevision
- type KeysetId
- type ListIndex
- type NodeId
- func (aNodeId NodeId) GroupId() GroupId
- func (aNodeId NodeId) IsCASEAuthTag() bool
- func (aNodeId NodeId) IsGroupId() bool
- func (aNodeId NodeId) IsOperationalNodeId() bool
- func (aNodeId NodeId) IsPAKEKeyId() bool
- func (aNodeId NodeId) IsTemporaryLocalNodeId() bool
- func (aNodeId NodeId) PasscodeId() PasscodeId
- func (aNodeId NodeId) String() string
- type PasscodeId
- type PersistentDataBase
- type PersistentDataImpl
- type ProductId
- type ReferenceCounted
- type ReleasedHandler
- type ScopedNodeId
- type SessionResumptionStorage
- type SessionResumptionStorageImpl
- type StorageKeyName
- func AttributeValue(endpointId EndpointId, clusterId ClusterId, attributeId AttributeId) StorageKeyName
- func FabricGroup(index FabricIndex, group GroupId) StorageKeyName
- func FabricGroupEndpoint(fabric FabricIndex, group GroupId, endpoint EndpointId) StorageKeyName
- func FabricGroupKey(fabric FabricIndex, index uint16) StorageKeyName
- func FabricGroups(index FabricIndex) StorageKeyName
- func FabricKeyset(fabric FabricIndex, keyset uint16) StorageKeyName
- func Formatted(format string, args ...any) StorageKeyName
- type SubscriptionId
- type TransactionId
- type VendorId
Constants ¶
View Source
const IPv6MulticastFlagPrefix uint8 = 0x20
View Source
const IPv6MulticastFlagTransient uint8 = 0x30
View Source
const IPv6MulticastPort = 5540
View Source
const KTagIdentifierShift uint32 = 16
Variables ¶
This section is empty.
Functions ¶
func IsControlMessage ¶
func IsControlMessage(payloadHeader *raw.PayloadHeader) bool
func IsSecureChannel ¶
func IsSecureMessage ¶
func IsStandaloneAck ¶
func MakeIPv6PrefixMulticast ¶
func MatterTraceEventScope ¶
func MatterTraceMessageSent ¶
func MatterTraceMessageSent(payloadHeader *raw.PayloadHeader, packHeader *raw.PacketHeader, msg []byte)
Types ¶
type AttributePersistence ¶
type AttributePersistence struct {
// contains filtered or unexported fields
}
func NewAttributePersistence ¶
func NewAttributePersistence() *AttributePersistence
func (AttributePersistence) Init ¶
func (p AttributePersistence) Init(storage store.PersistentStorageDelegate) (err error)
type AttributePersistenceProvider ¶
type AttributePersistenceProvider interface {
Init(storage store.PersistentStorageDelegate) error
}
type CASEAuthTag ¶
type CASEAuthTag uint32
type ClusterStatus ¶
type ClusterStatus uint8
type CompressedFabricId ¶
type CompressedFabricId uint64
func (CompressedFabricId) String ¶
func (f CompressedFabricId) String() string
type DataVersion ¶
type DataVersion uint32
type DeviceTypeId ¶
type DeviceTypeId uint32
type EndpointId ¶
type EndpointId uint16
type EventNumber ¶
type EventNumber uint64
type FabricIndex ¶
type FabricIndex uint8
const (
MinValidFabricIndex FabricIndex = 0x1
)
func UndefinedFabricIndex ¶
func UndefinedFabricIndex() FabricIndex
func (FabricIndex) IsValidFabricIndex ¶
func (index FabricIndex) IsValidFabricIndex() bool
type GroupId ¶
type GroupId uint16
func UndefinedGroupId ¶
func UndefinedGroupId() GroupId
func (GroupId) IsOperationalGroupId ¶
func (GroupId) IsUniversal ¶
type InteractionModelRevision ¶
type InteractionModelRevision uint8
type NodeId ¶
type NodeId uint64
const KTagIdentifierMask NodeId = 0x0000_0000_FFFF_0000
const KTagVersionMask NodeId = 0x0000_0000_0000_FFFF
func NodeIdFromPAKEKeyId ¶
func NodeIdFromPAKEKeyId(aPAKEKeyId PasscodeId) NodeId
func ParseNodeId ¶
func UndefinedNodeId ¶
func UndefinedNodeId() NodeId
func (NodeId) IsCASEAuthTag ¶
func (NodeId) IsOperationalNodeId ¶
func (NodeId) IsPAKEKeyId ¶
func (NodeId) IsTemporaryLocalNodeId ¶
func (NodeId) PasscodeId ¶
func (aNodeId NodeId) PasscodeId() PasscodeId
type PasscodeId ¶
type PasscodeId uint16
const DefaultCommissioningPasscodeId PasscodeId = 0
func PAKEKeyIdFromNodeId ¶
func PAKEKeyIdFromNodeId(aNodeId NodeId) PasscodeId
func (PasscodeId) NodeId ¶
func (p PasscodeId) NodeId() NodeId
type PersistentDataBase ¶
type PersistentDataBase interface {
Save(base store.PersistentStorageDelegate)
}
type PersistentDataImpl ¶
type PersistentDataImpl struct{}
type ReferenceCounted ¶
type ReferenceCounted struct {
// contains filtered or unexported fields
}
func NewReferenceCounted ¶
func NewReferenceCounted(initRefCount int, deleter ReleasedHandler) *ReferenceCounted
func (*ReferenceCounted) ReferenceCount ¶
func (r *ReferenceCounted) ReferenceCount() int
func (*ReferenceCounted) Release ¶
func (r *ReferenceCounted) Release()
func (*ReferenceCounted) Retain ¶
func (r *ReferenceCounted) Retain()
type ReleasedHandler ¶
type ReleasedHandler interface {
Released()
}
type ScopedNodeId ¶
type ScopedNodeId struct {
// contains filtered or unexported fields
}
func NewScopedNodeId ¶
func NewScopedNodeId(id NodeId, index FabricIndex) ScopedNodeId
func UndefinedScopedNodeId ¶
func UndefinedScopedNodeId() *ScopedNodeId
func (ScopedNodeId) FabricIndex ¶
func (s ScopedNodeId) FabricIndex() FabricIndex
func (ScopedNodeId) IsOperational ¶
func (s ScopedNodeId) IsOperational() bool
func (ScopedNodeId) LogValue ¶
func (s ScopedNodeId) LogValue() log.Value
func (ScopedNodeId) NodeId ¶
func (s ScopedNodeId) NodeId() NodeId
type SessionResumptionStorage ¶
type SessionResumptionStorage interface {
Init(delegate store.PersistentStorageDelegate) error
}
type SessionResumptionStorageImpl ¶
type SessionResumptionStorageImpl struct {
// contains filtered or unexported fields
}
func NewSimpleSessionResumptionStorage ¶
func NewSimpleSessionResumptionStorage() *SessionResumptionStorageImpl
func (*SessionResumptionStorageImpl) Init ¶
func (s *SessionResumptionStorageImpl) Init(delegate store.PersistentStorageDelegate) error
type StorageKeyName ¶
type StorageKeyName string
func AttributeValue ¶
func AttributeValue(endpointId EndpointId, clusterId ClusterId, attributeId AttributeId) StorageKeyName
func FabricGroup ¶
func FabricGroup(index FabricIndex, group GroupId) StorageKeyName
func FabricGroupEndpoint ¶
func FabricGroupEndpoint(fabric FabricIndex, group GroupId, endpoint EndpointId) StorageKeyName
func FabricGroupKey ¶
func FabricGroupKey(fabric FabricIndex, index uint16) StorageKeyName
func FabricGroups ¶
func FabricGroups(index FabricIndex) StorageKeyName
func FabricKeyset ¶
func FabricKeyset(fabric FabricIndex, keyset uint16) StorageKeyName
func Formatted ¶
func Formatted(format string, args ...any) StorageKeyName
func (*StorageKeyName) IsInitialized ¶
func (s *StorageKeyName) IsInitialized() bool
func (*StorageKeyName) IsUninitialized ¶
func (s *StorageKeyName) IsUninitialized() bool
func (*StorageKeyName) Name ¶
func (s *StorageKeyName) Name() string
type SubscriptionId ¶
type SubscriptionId uint32
type TransactionId ¶
type TransactionId uint32
Source Files ¶
Click to show internal directories.
Click to hide internal directories.