Hierarchy (view full)

Constructors

Methods

getBuffer getBufferLength getCommandByte getExtFrameControl getExtFrameId getFrameId getPosition getResponseByte getResponseMetadata getWritten isMore readBuffer readDoubleLE readEmberAesMmoHashContext readEmberApsFrame readEmberBeaconClassificationParams readEmberBeaconData readEmberBeaconIterator readEmberBindingTableEntry readEmberCertificate283k1Data readEmberCertificateData readEmberChildData readEmberCurrentSecurityState readEmberDutyCycleLimits readEmberEndpointDescription readEmberGpAddress readEmberGpProxyTableEntry readEmberGpSinkList readEmberGpSinkTableEntry readEmberInitialSecurityState readEmberKeyData readEmberMessageDigest readEmberMulticastTableEntry readEmberMultiPhyRadioParameters readEmberMultiprotocolPriorities readEmberNeighborTableEntry readEmberNetworkInitStruct readEmberNetworkParameters readEmberPerDeviceDutyCycle readEmberPrivateKey283k1Data readEmberPrivateKeyData readEmberPublicKey283k1Data readEmberPublicKeyData readEmberRouteTableEntry readEmberRxPacketInfo readEmberSignature283k1Data readEmberSignatureData readEmberSmacData readEmberTokenData readEmberTokenInfo readEmberTokTypeStackZllData readEmberTokTypeStackZllSecurity readEmberZigbeeNetwork readEmberZllAddressAssignment readEmberZllDeviceInfoRecord readEmberZllInitialSecurityState readEmberZllNetwork readEmberZllSecurityAlgorithmData readFloatLE readIeeeAddr readInt16 readInt24 readInt32 readInt40 readInt48 readInt56 readInt64 readInt8 readListUInt16 readListUInt24 readListUInt32 readListUInt8 readPayload readRest readSecManAPSKeyMetadata readSecManContext readSecManKey readSecManNetworkKeyInfo readStatus readUInt16 readUInt24 readUInt32 readUInt40 readUInt48 readUInt56 readUInt64 readUInt8 readUtf8String setCommandByte setPosition writeBuffer writeDoubleLE writeEmberAesMmoHashContext writeEmberApsFrame writeEmberBeaconClassificationParams writeEmberBeaconData writeEmberBeaconIterator writeEmberBindingTableEntry writeEmberCertificate283k1Data writeEmberCertificateData writeEmberChildData writeEmberCurrentSecurityState writeEmberDutyCycleLimits writeEmberGpAddress writeEmberGpProxyTableEntry writeEmberGpSinkList writeEmberGpSinkTableEntry writeEmberInitialSecurityState writeEmberKeyData writeEmberMessageDigest writeEmberMulticastTableEntry writeEmberMultiPhyRadioParameters writeEmberMultiprotocolPriorities writeEmberNeighborTableEntry writeEmberNetworkInitStruct writeEmberNetworkParameters writeEmberPerDeviceDutyCycle writeEmberPrivateKey283k1Data writeEmberPrivateKeyData writeEmberPublicKey283k1Data writeEmberPublicKeyData writeEmberRouteTableEntry writeEmberSignature283k1Data writeEmberSignatureData writeEmberSmacData writeEmberTokenData writeEmberTokenInfo writeEmberTokTypeStackZllData writeEmberTokTypeStackZllSecurity writeEmberZigbeeNetwork writeEmberZllInitialSecurityState writeEmberZllNetwork writeEmberZllSecurityAlgorithmData writeFloatLE writeIeeeAddr writeInt16 writeInt24 writeInt32 writeInt40 writeInt48 writeInt56 writeInt64 writeInt8 writeListUInt16 writeListUInt24 writeListUInt32 writeListUInt8 writePayload writeSecManAPSKeyMetadata writeSecManContext writeSecManKey writeSecManNetworkKeyInfo writeUInt16 writeUInt24 writeUInt32 writeUInt40 writeUInt48 writeUInt56 writeUInt64 writeUInt8 writeUtf8String

Constructors

Methods

  • Get the byte at given position without affecting the internal position tracker.

    Parameters

    • position: number

    Returns number

  • Get the byte at given position without affecting the internal position tracker.

    Parameters

    • position: number

    Returns number

  • Get the frame control, ID and params index according to format version. Throws if frame control is unsupported (using reserved).

    Returns [status: EzspStatus, frameControl: number, frameId: EzspFrameID, parametersIndex: number]

    Anything but SUCCESS should stop further processing.

  • Get a copy of the rest of the buffer (from current position to end). WARNING: Make sure the length is appropriate, if alloc'ed longer, it will return everything until the end.

    Returns Buffer

  • EZSP switched to using SLStatus for command returns from version 14.

    Parameters

    • version: number

      EZSP protocol version in use

    • mapFromEmber: boolean = true

      If true, map from EmberStatus, otherwise map from EzspStatus

    Returns SLStatus

    EzspStatus, EmberStatus or SLStatus as SLStatus

  • Set the byte at given position without affecting the internal position tracker.

    Parameters

    • position: number
    • value: number

    Returns void

  • Write a uint8_t for payload length, followed by payload buffer (copied at post-length position).

    WARNING: payload must have a valid length (as in, not a Buffer allocated to longer length). Should be passed with getWritten() in most cases.

    Parameters

    • payload: Buffer

    Returns void