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

    Class MavlinkSigner

    A signing key and the monotonic timestamp that goes with it.

    Index
    • Creates a signer.

      The link id separates two links from one system, so traffic on one does not look like a replay of the other.

      Parameters

      • key: Buffer
      • linkId: number
      • timestamp: number

      Returns MavlinkSigner

    • get linkId(): number

      Which link this signer signs on.

      Returns number

    • Signs a message into a v2 frame.

      Each call advances the timestamp, which is what makes a replayed frame detectable.

      Parameters

      • header: MavlinkHeader
      • msgid: number
      • payload: Buffer
      • crcExtra: number

      Returns MavlinkFrame