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

    Class LorawanDevice

    The root credentials over-the-air activation is built on.

    Index
    • Creates a device from its two 8-byte EUIs and its 16-byte application key.

      Parameters

      • devEui: Buffer
      • appEui: Buffer
      • appKey: Buffer

      Returns LorawanDevice

    • Turns the join accept a network sent into the settings it grants.

      devNonce is the nonce the matching join request carried.

      Parameters

      • bytes: Buffer
      • devNonce: number

      Returns LorawanJoinAccept

    • Builds the join request this device broadcasts to activate.

      devNonce must never repeat for a device, since the network rejects a replayed one.

      Parameters

      • devNonce: number

      Returns Buffer