• Preparing search index...
  • The search index is not available
matter.js-monorepo
  • matter.js-monorepo
  • @matter/protocol
  • sortAttributeDataByPath

Function sortAttributeDataByPath

  • sortAttributeDataByPath(data1, data2): -1 | 0 | 1
  • Sort function to sort AttributeReportPayloads by nodeId/EndpointId/clusterId/attributeId to generate an ideal ground for tag compression.

    Parameters

    • data1: AttributeReportPayload
    • data2: AttributeReportPayload

    Returns -1 | 0 | 1

    • Defined in packages/protocol/src/interaction/AttributeDataEncoder.ts:173

Settings

Member Visibility
matter.js-monorepo
  • Loading...

Generated using TypeDoc