This cluster supports all EthernetNetworkDiagnostics features. It may support illegal feature combinations.

If you use this cluster you must manually specify which features are active and ensure the set of active features is legal per the Matter specification.

interface Complete {
    attributes: Merge<{
        acceptedCommandList: Attribute<CommandId[], never>;
        attributeList: Attribute<AttributeId[], never>;
        carrierDetect: OptionalAttribute<null | boolean, any>;
        clusterRevision: Attribute<number, never>;
        collisionCount: Attribute<number | bigint, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                errorCounts: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        featureMap: Attribute<TypeFromPartialBitSchema<{
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        }>, never>;
        fullDuplex: OptionalAttribute<null | boolean, any>;
        generatedCommandList: Attribute<CommandId[], never>;
        overrunCount: Attribute<number | bigint, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                errorCounts: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        packetRxCount: Attribute<number | bigint, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                packetCounts: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        packetTxCount: Attribute<number | bigint, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                packetCounts: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
        phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
        timeSinceReset: OptionalAttribute<number | bigint, any>;
        txErrCount: Attribute<number | bigint, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                errorCounts: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
    }, GlobalAttributes<{
        errorCounts: BitFlag;
        packetCounts: BitFlag;
    }>>;
    base: undefined;
    commands: {
        resetCounts: Command<void, void, any> & {
            isConditional: true;
            mandatoryIf: [] | [{
                packetCounts: boolean;
            }, {
                errorCounts: boolean;
            }];
            optional: true;
            optionalIf: [] | ConditionalFeatureList<BitSchema>;
        };
    };
    events: {};
    extensions: undefined;
    features: {
        errorCounts: BitFlag;
        packetCounts: BitFlag;
    };
    id: Branded<Branded<55, "ClusterId">, "ClusterId">;
    name: "EthernetNetworkDiagnostics";
    revision: 1;
    supportedFeatures: {};
    unknown: false;
    alter<const AlterationsT>(alterations: AlterationsT): WithAlterations<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, AlterationsT>;
    enable<const FlagsT>(flags: FlagsT): WithFlags<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, FlagsT>;
    set<const ValuesT>(values: ValuesT): WithValues<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, ValuesT>;
    with<const SelectionT>(...selection: SelectionT): Of<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, SelectionT>;
}

Hierarchy (view full)

Properties

attributes: Merge<{
    acceptedCommandList: Attribute<CommandId[], never>;
    attributeList: Attribute<AttributeId[], never>;
    carrierDetect: OptionalAttribute<null | boolean, any>;
    clusterRevision: Attribute<number, never>;
    collisionCount: Attribute<number | bigint, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            errorCounts: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    featureMap: Attribute<TypeFromPartialBitSchema<{
        errorCounts: BitFlag;
        packetCounts: BitFlag;
    }>, never>;
    fullDuplex: OptionalAttribute<null | boolean, any>;
    generatedCommandList: Attribute<CommandId[], never>;
    overrunCount: Attribute<number | bigint, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            errorCounts: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    packetRxCount: Attribute<number | bigint, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            packetCounts: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    packetTxCount: Attribute<number | bigint, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            packetCounts: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
    phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
    timeSinceReset: OptionalAttribute<number | bigint, any>;
    txErrCount: Attribute<number | bigint, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            errorCounts: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
}, GlobalAttributes<{
    errorCounts: BitFlag;
    packetCounts: BitFlag;
}>>
base: undefined
commands: {
    resetCounts: Command<void, void, any> & {
        isConditional: true;
        mandatoryIf: [] | [{
            packetCounts: boolean;
        }, {
            errorCounts: boolean;
        }];
        optional: true;
        optionalIf: [] | ConditionalFeatureList<BitSchema>;
    };
}
events: {}
extensions: undefined
features: {
    errorCounts: BitFlag;
    packetCounts: BitFlag;
}

Type declaration

  • ReadonlyerrorCounts: BitFlag

    ErrorCounts

    Node makes available the counts for the number of errors that have occurred during the reception and transmission of packets on the ethernet interface.

  • ReadonlypacketCounts: BitFlag

    PacketCounts

    Node makes available the counts for the number of received and transmitted packets on the ethernet interface.

id: Branded<Branded<55, "ClusterId">, "ClusterId">
name
revision
supportedFeatures: {}
unknown

Methods

  • Modify elements using ElementModifier.alter.

    Type Parameters

    • const AlterationsT extends Alterations<Of<{
          attributes: {
              acceptedCommandList: Attribute<CommandId[], never>;
              attributeList: Attribute<AttributeId[], never>;
              carrierDetect: OptionalAttribute<null | boolean, any>;
              clusterRevision: Attribute<number, never>;
              collisionCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              featureMap: Attribute<TypeFromPartialBitSchema<{
                  errorCounts: BitFlag;
                  packetCounts: BitFlag;
              }>, never>;
              fullDuplex: OptionalAttribute<null | boolean, any>;
              generatedCommandList: Attribute<CommandId[], never>;
              overrunCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              packetRxCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              packetTxCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
              timeSinceReset: OptionalAttribute<number | bigint, any>;
              txErrCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          commands: {
              resetCounts: Command<void, void, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }, {
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          features: {
              errorCounts: BitFlag;
              packetCounts: BitFlag;
          };
          id: Branded<55, "ClusterId">;
          name: "EthernetNetworkDiagnostics";
          revision: 1;
      }>>

    Parameters

    Returns WithAlterations<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, AlterationsT>

  • Modify elements using ElementModifier.enable.

    Type Parameters

    • const FlagsT extends ElementFlags<Of<{
          attributes: {
              acceptedCommandList: Attribute<CommandId[], never>;
              attributeList: Attribute<AttributeId[], never>;
              carrierDetect: OptionalAttribute<null | boolean, any>;
              clusterRevision: Attribute<number, never>;
              collisionCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              featureMap: Attribute<TypeFromPartialBitSchema<{
                  errorCounts: BitFlag;
                  packetCounts: BitFlag;
              }>, never>;
              fullDuplex: OptionalAttribute<null | boolean, any>;
              generatedCommandList: Attribute<CommandId[], never>;
              overrunCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              packetRxCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              packetTxCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
              timeSinceReset: OptionalAttribute<number | bigint, any>;
              txErrCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          commands: {
              resetCounts: Command<void, void, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }, {
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          features: {
              errorCounts: BitFlag;
              packetCounts: BitFlag;
          };
          id: Branded<55, "ClusterId">;
          name: "EthernetNetworkDiagnostics";
          revision: 1;
      }>>

    Parameters

    Returns WithFlags<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, FlagsT>

  • Modify elements using ElementModifier.set.

    Type Parameters

    • const ValuesT extends {
          carrierDetect?: null | boolean;
          collisionCount?: number | bigint;
          fullDuplex?: null | boolean;
          overrunCount?: number | bigint;
          packetRxCount?: number | bigint;
          packetTxCount?: number | bigint;
          phyRate?: null | number;
          timeSinceReset?: number | bigint;
          txErrCount?: number | bigint;
      }

    Parameters

    Returns WithValues<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, ValuesT>

  • Select features using ClusterComposer.compose.

    Type Parameters

    • const SelectionT extends FeatureSelection<Of<{
          attributes: {
              acceptedCommandList: Attribute<CommandId[], never>;
              attributeList: Attribute<AttributeId[], never>;
              carrierDetect: OptionalAttribute<null | boolean, any>;
              clusterRevision: Attribute<number, never>;
              collisionCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              featureMap: Attribute<TypeFromPartialBitSchema<{
                  errorCounts: BitFlag;
                  packetCounts: BitFlag;
              }>, never>;
              fullDuplex: OptionalAttribute<null | boolean, any>;
              generatedCommandList: Attribute<CommandId[], never>;
              overrunCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              packetRxCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              packetTxCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
              phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
              timeSinceReset: OptionalAttribute<number | bigint, any>;
              txErrCount: Attribute<number | bigint, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          commands: {
              resetCounts: Command<void, void, any> & {
                  isConditional: true;
                  mandatoryIf: [] | [{
                      packetCounts: boolean;
                  }, {
                      errorCounts: boolean;
                  }];
                  optional: true;
                  optionalIf: [] | ConditionalFeatureList<BitSchema>;
              };
          };
          features: {
              errorCounts: BitFlag;
              packetCounts: BitFlag;
          };
          id: Branded<55, "ClusterId">;
          name: "EthernetNetworkDiagnostics";
          revision: 1;
      }>>

    Parameters

    Returns Of<Of<{
        attributes: {
            acceptedCommandList: Attribute<CommandId[], never>;
            attributeList: Attribute<AttributeId[], never>;
            carrierDetect: OptionalAttribute<null | boolean, any>;
            clusterRevision: Attribute<number, never>;
            collisionCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            featureMap: Attribute<TypeFromPartialBitSchema<{
                errorCounts: BitFlag;
                packetCounts: BitFlag;
            }>, never>;
            fullDuplex: OptionalAttribute<null | boolean, any>;
            generatedCommandList: Attribute<CommandId[], never>;
            overrunCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetRxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            packetTxCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
            phyRate: OptionalAttribute<null | EthernetNetworkDiagnostics.PhyRate, any>;
            timeSinceReset: OptionalAttribute<number | bigint, any>;
            txErrCount: Attribute<number | bigint, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        commands: {
            resetCounts: Command<void, void, any> & {
                isConditional: true;
                mandatoryIf: [] | [{
                    packetCounts: boolean;
                }, {
                    errorCounts: boolean;
                }];
                optional: true;
                optionalIf: [] | ConditionalFeatureList<BitSchema>;
            };
        };
        features: {
            errorCounts: BitFlag;
            packetCounts: BitFlag;
        };
        id: Branded<55, "ClusterId">;
        name: "EthernetNetworkDiagnostics";
        revision: 1;
    }>, SelectionT>