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

    Function broadcastJ1939

    • Composes the identifier of a J1939 broadcast, which every node on the bus reads.

      Most parameter groups are broadcast, so this is the common case; it saves a caller knowing that a broadcast is addressed to 0xFF.

      Parameters

      • priority: number

        The message priority, 0 (highest) to 7.

      • pgn: number

        The parameter group number.

      • source: number

        The address of the sending node.

      Returns number

      The 29-bit identifier.