This structure describes a network interface supported by the Node, as provided in the NetworkInterfaces attribute.

MatterSpecification.v13.Core § 11.12.5.6

interface NetworkInterface {
    hardwareAddress: Uint8Array;
    iPv4Addresses: Uint8Array[];
    iPv6Addresses: Uint8Array[];
    isOperational: boolean;
    name: string;
    offPremiseServicesReachableIPv4: null | boolean;
    offPremiseServicesReachableIPv6: null | boolean;
    type: GeneralDiagnostics.InterfaceType;
}

Hierarchy (view full)

Properties

hardwareAddress: Uint8Array

This field shall contain the current link-layer address for a 802.3 or IEEE 802.11-2020 network interface and contain the current extended MAC address for a 802.15.4 interface. The byte order of the octstr shall be in wire byte order. For addresses values less than 64 bits, the first two bytes shall be zero.

MatterSpecification.v13.Core § 11.12.5.6.5

iPv4Addresses: Uint8Array[]

This field shall provide a list of the IPv4 addresses that are currently assigned to the network interface.

MatterSpecification.v13.Core § 11.12.5.6.6

iPv6Addresses: Uint8Array[]

This field shall provide a list of the unicast IPv6 addresses that are currently assigned to the network interface. This list shall include the Node’s link-local address and SHOULD include any assigned GUA and ULA addresses. This list shall NOT include any multicast group addresses to which the Node is subscribed.

MatterSpecification.v13.Core § 11.12.5.6.7

isOperational: boolean

This field shall indicate if the Node is currently advertising itself operationally on this network interface and is capable of successfully receiving incoming traffic from other Nodes.

MatterSpecification.v13.Core § 11.12.5.6.2

name: string

This field shall indicate a human-readable (displayable) name for the network interface, that is different from all other interfaces.

MatterSpecification.v13.Core § 11.12.5.6.1

offPremiseServicesReachableIPv4: null | boolean

This field shall indicate whether the Node is currently able to reach off-premise services it uses by utilizing IPv4. The value shall be null if the Node does not use such services or does not know whether it can reach them.

MatterSpecification.v13.Core § 11.12.5.6.3

offPremiseServicesReachableIPv6: null | boolean

This field shall indicate whether the Node is currently able to reach off-premise services it uses by utilizing IPv6. The value shall be null if the Node does not use such services or does not know whether it can reach them.

MatterSpecification.v13.Core § 11.12.5.6.4

This field shall indicate the type of the interface using the InterfaceTypeEnum.

MatterSpecification.v13.Core § 11.12.5.6.8