pamoja for TypeScript - v0.2.0
    Preparing search index...

    Class LorawanBlockMic

    The code taken over a data block as it arrives, TS004-2.0.0 section 3.3.

    Index
    • Starts a code over one session's block.

      dataBlockIntKey is what lorawanDataBlockIntKey derived, and the rest are the fields the session setup carried.

      Parameters

      • dataBlockIntKey: Buffer
      • sessionCnt: number
      • fragIndex: number
      • descriptor: Buffer
      • blockLen: number

      Returns LorawanBlockMic

    • Finishes the code, returning the four bytes a session setup carries.

      Returns Buffer

    • Adds a piece of the block, in order, without any padding.

      Parameters

      • data: Buffer

      Returns void