Hierarchy (view full)

Constructors

Methods

getBuffer getByte getPosition getWritten isMore isMoreBy readActiveEndpointsResponse readBindingTableResponse readBindResponse readBuffer readChallengeResponse readClearAllBindingsResponse readDecommissionResponse readDoubleLE readEndDeviceAnnounce readFloatLE readGetAuthenticationLevelResponse readGetConfigurationResponse readGlobalTLV readIeeeAddr readIEEEAddressResponse readInt16 readInt24 readInt32 readInt40 readInt48 readInt56 readInt64 readInt8 readLeaveResponse readListUInt16 readListUInt24 readListUInt32 readListUInt8 readLQITableResponse readMatchDescriptorsResponse readNetworkAddressResponse readNodeDescriptorResponse readNwkBeaconSurveyResponse readNwkEnhancedUpdateResponse readNwkIEEEJoiningListResponse readNwkUnsolicitedEnhancedUpdateResponse readNwkUpdateResponse readParentAnnounceResponse readPermitJoiningResponse readPowerDescriptorResponse readRetrieveAuthenticationTokenResponse readRoutingTableResponse readSetConfigurationResponse readSimpleDescriptorResponse readStartKeyNegotiationResponse readStartKeyUpdateResponse readSystemServerDiscoveryResponse readTLVs readUInt16 readUInt24 readUInt32 readUInt40 readUInt48 readUInt56 readUInt64 readUInt8 readUnbindResponse readUtf8String setByte setPosition writeBuffer writeDoubleLE writeFloatLE writeGlobalTLV writeGlobalTLVs writeIeeeAddr writeInt16 writeInt24 writeInt32 writeInt40 writeInt48 writeInt56 writeInt64 writeInt8 writeListUInt16 writeListUInt24 writeListUInt32 writeListUInt8 writeUInt16 writeUInt24 writeUInt32 writeUInt40 writeUInt48 writeUInt56 writeUInt64 writeUInt8 writeUtf8String buildRequest checkStatus readResponse

Constructors

Methods

  • Get the byte at given position without affecting the internal position tracker. TODO: move to base Buffalo class

    Parameters

    • position: number

    Returns number

  • Check if internal buffer has enough bytes to satisfy: (current position + given count). TODO: move to base Buffalo class

    Parameters

    • count: number

    Returns boolean

    True if has given more bytes

  • ANNEX I ZIGBEE TLV DEFINITIONS AND FORMAT

    Unknown tags => TLV ignored Duplicate tags => reject message except for MANUFACTURER_SPECIFIC_GLOBAL_TLV Malformed TLVs => reject message

    Parameters

    • OptionallocalTLVReaders: Map<number, LocalTLVReader>

      Mapping of tagID to local TLV reader function

    • encapsulated: boolean = false

      Default false. If true, this is reading inside an encapsuled TLV (excludes further encapsulation)

    Returns TLV[]

  • Set the byte at given position without affecting the internal position tracker. TODO: move to base Buffalo class

    Parameters

    • position: number
    • value: number

    Returns void

  • Set the position of the internal position tracker. TODO: move to base Buffalo class

    Parameters

    • position: number

    Returns void