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

    Function session

    • Creates a session for a device already activated by personalization.

      Parameters

      • devAddr: number

        The device address the network assigned.

      • nwkSKey: Uint8Array

        The 16-byte network session key, which authenticates frames.

      • appSKey: Uint8Array

        The 16-byte application session key, which encrypts payloads.

      Returns lorawan.Session

      The session, ready to encode and decode data frames.

      If either key is not 16 bytes.