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

    Function parseJoinRequest

    • Verifies a join-request and reads the identifiers out of it.

      This is the network side of activation: it proves the request came from a holder of the application key before reporting who sent it.

      Parameters

      • bytes: Uint8Array

        The raw join-request as it came off the radio.

      • appKey: Uint8Array

        The 16-byte application root key the device shares.

      Returns JoinRequest

      The verified request.

      If the MIC does not verify or the frame is not a join-request.