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

    Function fdFrame

    • Builds a CAN-FD frame, which carries up to 64 bytes.

      Parameters

      • id: number

        The arbitration identifier.

      • data: Uint8Array

        The payload, at one of the discrete CAN-FD lengths: 0 to 8, then 12, 16, 20, 24, 32, 48, or 64 bytes.

      • Optionalextended: boolean

        Whether the identifier is a 29-bit extended one.

      Returns can.CanFrame

      The frame.

      If the payload length is not one CAN-FD can carry.