Skip to content
logo
ecu.test 2025.3 Help
Port DIAGNOSTICS - IEEE1722-J1939 🛈
  • English
  • Deutsch
Initializing search
    • Getting Started
    • Overview
    • ecu.test Main program
    • Further included programs
    • Tools
      • A&D: iTest
      • ASAM: ACI
      • ASAM: iLinkRT
      • ASAM: XIL
      • ASAP: STEP
      • ATI: VISION
      • AVL: LYNX
      • AVL: PUMA
      • Basler: pylon
      • Beckhoff: TwinCAT
      • Digiteq: FG4 MultiBox
      • Digiteq: MGB
      • dSPACE: AURELION
      • dSPACE: ControlDesk
      • dSPACE: ModelDesk
      • dSPACE: MotionDesk
      • dSPACE: RTMaps
      • dSPACE: XIL API
      • EA: UTA 12
      • EMVA: GenICam
      • ESI: SimulationX
      • ETAS: BOA
      • ETAS: COSYM-SIL
      • ETAS: INCA
      • ETAS: LABCAR-PINCONTROL
      • FEP
      • FEP3
      • FEV: Morphée
      • froglogic: Squish
      • Google: ADB
      • Göpel: Video Dragon
      • Hexagon: VTD
      • HMS: ACT - Restbussimulation
      • HMS: Legacy Bus Interfaces (VCI V2)
      • HMS: VCI V4
      • HORIBA FuelCon: TestWork
      • IDS: uEye
      • IPETRONIK: ETHOS
      • IPG: CarMakerHeadless
      • IPG: CarMaker|RealTimeMaker
      • JS Foundation: Appium
      • Keysight: CDS
      • Keysight: ESD
      • KS Engineers: TornadoACI
      • Lauterbach: TRACE32
      • MAGNA: BluePiraT
      • Mathworks: MATLAB & Simulink
      • Mechanical Simulation Corporation: CarSim
      • MicroNova: NovaCarts
      • Modelica Association: FMI
      • MOTEON: MTB
      • NI: LabVIEW
      • NI: VeriStand
      • NI: VISA
      • Opal-RT: RT-LAB
      • PEAK: PCAN
      • PLS: UDE
      • QUANCOM: QLIB
      • RA Consulting: DiagRA D
      • ROS2
      • SAE: PassThru
      • SFC: Selenium
      • Softing: DTS
      • Speedgoat: SimulinkRealTimeXIL
      • Synopsys: Silver
      • Synopsys: SilverXIL
      • Synopsys: Virtualizer
      • Technica: BTS
      • Technica: CM
      • The GNU Project: GDB
      • TOSUN: libTSCAN API
      • tracetronic: Ethernet
        • Ports
          • Port SERVICEACCESS - ARP 🛈
          • Port SERVICEACCESS - ETHERNET-RAW 🛈
          • Port SERVICEACCESS - ICMP-RAW 🛈
          • Port SERVICEACCESS - UDP-RAW 🛈
          • Port SERVICEACCESS - RECORDING-PCAP 🛈
          • Port SERVICEACCESS - TCP-SERVER-PCAP-SOCKET 🛈
          • Port SERVICEACCESS - TCP-CLIENT-PCAP-SOCKET 🛈
          • Port SERVICEACCESS - UDP-PCAP-SOCKET 🛈
          • Port SERVICEACCESS - SERVICE-PCAP-PASSIVE 🛈
          • Port BUSACCESS - CAPTURE-CAN(-FD) 🛈
          • Port BUSACCESS - CAPTURE-LIN 🛈
          • Port BUSACCESS - CAPTURE-FLX 🛈
          • Port LOGGING - DLT-VERBOSE 🛈
          • Port BUSACCESS - SOCKETADAPTOR 🛈
          • Port SERVICEACCESS - IPSEC 🛈
          • Port BUSACCESS - IEEE1722-CAN(-FD) 🛈
          • Port SERVICEACCESS - MACSEC 🛈
          • Port SERVICEACCESS - SERVICE 🛈
          • Port SERVICEACCESS - TCP-SERVER-SOCKET 🛈
          • Port SERVICEACCESS - TCP-CLIENT-SOCKET 🛈
          • Port SERVICEACCESS - UDP-SOCKET 🛈
          • Port SERVICEACCESS - TLS 🛈
          • Port DIAGNOSTICS - DOSOAD-SOCKET 🛈
          • Port DIAGNOSTICS - DOIP-SOCKET 🛈
          • Port DIAGNOSTICS - DOIP-PCAP 🛈
          • Port DIAGNOSTICS - IEEE1722-J1939 🛈
            • Stimulation
            • Properties 🛈
            • Jobs 🛈
              • ClearDTC
              • CloseJ1939MemoryAccessSession
              • DTCRequest
              • GenericPGNSendReceive
              • GetAvailableTLAs
              • MemoryAccessRequest
              • OpenJ1939MemoryAccessSession
              • Receive
              • Send
              • StandardPGNRequestResponse
          • Port APPLICATION - XCP-ETH 🛈
          • Port APPLICATION - XCP-PCAP 🛈
          • Port MODELACCESS - CAPTURE-ANALOG 🛈
          • Port DIAGNOSTICS - SOVD-SOCKET 🛈
      • tracetronic: Multimedia
      • tracetronic: RemoteCommand
      • tracetronic: RemoteCommandLinux
      • tracetronic: Serial interface
      • tracetronic: SocketCAN
      • tracetronic: SSH MultiConnect
      • tracetronic: ZeroMQ
      • TTTech: TTXConnexion
      • Typhoon HIL: THCC
      • Vector: CANape
      • Vector: CANoe / CANalyzer
      • Vector: DYNA4
      • Vector: SIL Kit
      • Vector: XL API
      • Vehinfo: LABCAR
      • ViGEM: CCA
      • VW: ODIS
      • X2E: Xoraya
      • Tools with stimulus support
    • Test execution
    • Trace analysis
    • Workspace
    • Handling
    • Test management
    • test.guide
    • Extensions
    • Specific Tutorials
    • API references
    • System requirements
    • ecu.test on Linux
    • ecu.test code
    • ecu.test agent
    • ecu.test lab
    • Stimulation
    • Properties 🛈
    • Jobs 🛈
      • ClearDTC
      • CloseJ1939MemoryAccessSession
      • DTCRequest
      • GenericPGNSendReceive
      • GetAvailableTLAs
      • MemoryAccessRequest
      • OpenJ1939MemoryAccessSession
      • Receive
      • Send
      • StandardPGNRequestResponse

    Port DIAGNOSTICS - IEEE1722-J1939 🛈¶

    Port for diagnostics based on the J1939 protocol using IEEE1722

    This port is only available if Npcap is installed.

    Stimulation¶

    This port has no stimulus capabilities.

    Properties 🛈¶

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Network interface card

    string

    Used network interface card

    VLAN settings

    ‘no tagging’

    [‘no tagging’, ‘single tagging’]

    string

    Used VLAN setting

    VLAN-VID

    1

    int

    Integer, only used if VLAN tagging is enabled

    Source MAC address

    ‘Default’

    string

    Default MAC which will be used as source address for ethernet frames, leave Default if the primary adapter MAC address should be used

    Source IP address

    ‘Default’

    string

    Default IP which will be used as source address for ethernet frames, leave Default if the primary adapter IP address should be used

    Subnet mask for IP network

    ‘Default’

    string

    Subnet mask for IP network (necessary for broadcast detection, e.g. ARP), leave Default for using the primary NIC subnet mask

    Source port

    17221

    int

    Default port to be used as source in the UDP header

    Destination port

    17221

    int

    Default port to be used as destination in the UDP header

    Target IP address

    string

    IP used as target for IP packets

    Gateway address

    string

    IP address, leave empty if no gateway is needed

    J1939 Tester Name

    ‘00:00:20:04:00:81:00:20’

    string

    Byte sequence for the Address Claim name (separated by a colon)

    J1939 Tester Source Address

    123

    int

    Source address used for the J1939 Address Claim (must be> 0).

    Jobs 🛈¶

    ClearDTC¶

    Deletes all previously active (DM3) and active (DM11) error codes

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DestinationAddress

    string

    Numeric Id or TLA of the receiver. Use 0xff for broadcast.

    DTC

    ‘Previously Active’

    [‘Active’, ‘Previously Active’]

    string

    Type of DTC

    CloseJ1939MemoryAccessSession¶

    Closes the diagnostic session

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DestinationAddress

    string

    Numerical ID or TLA of the receiver.

    DTCRequest¶

    Request of active (DM1) and previously active (DM2) error codes

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DestinationAddress

    string

    Numeric Id or TLA of the receiver. Use 0xff for broadcast.

    DTC

    ‘Active’

    [‘Active’, ‘Previously Active’]

    string

    Type of DTC

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    object

    List of J1939 objects

    GenericPGNSendReceive¶

    Sends a user-specific J1939 message and expects the response message with the specified parameters

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    ReceivePayloadFilterMask

    ByteStream

    Mask for the Byte to be checked (ByteStream)

    ReceivePayloadFilterValue

    ByteStream

    Byte values which the payload of the message must accept (ByteStream)

    ReceivePduFormat

    0

    int

    First byte of the received PGN

    ReceivePduSpecific

    0

    int

    Second byte of the received PGN

    SendPayload

    ByteStream()

    ByteStream

    Payload for sending, if the ByteStream is empty, it is only received.

    SendPduFormat

    0

    int

    First byte of the PGN to be sent

    SendPduSpecific

    0

    int

    Second byte of the PGN to be sent

    SendPriority

    0

    int

    Priority of the message to be sent

    Timeout

    1

    int

    Time in seconds to wait for answers

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    object

    J1939 message object

    GetAvailableTLAs¶

    Returns a dictionary of all active participants with their source address and their TLA (Three Letter Acronym)

    Parameterization

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    object

    Dict {sourceAddress: TLA}

    MemoryAccessRequest¶

    Sends a memory access request (DM14) and provides the corresponding answers (DM15, DM16)

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Command

    ‘Read’

    [‘Erase’, ‘Read’, ‘Write’, ‘Status Request’, ‘Operation Completed’, ‘Operation Failed’, ‘Boot Load’, ‘EDCP Generation’]

    string

    Type of memory access

    DestinationAddress

    string

    Numerical ID or TLA of the receiver.

    Key

    65535

    int

    Default: No Key (0xFFFF)

    Length

    0

    int

    Depending on Pointer Type (PT) the length of the addressed memory in bytes (PT = 0) or the number of objects (PT = 1)

    Pointer

    0

    int

    PointerExtension

    0

    int

    PointerType

    ‘Direct Spatial Addressing’

    [‘Direct Memory Addressing’, ‘Direct Spatial Addressing’]

    string

    WriteData

    ByteStream()

    ByteStream

    Write data for “Write” command

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    object

    List of received J1939Message objects

    OpenJ1939MemoryAccessSession¶

    Opens a J1939 diagnostic session (memory access) and keeps it open, by sending the specified message content cyclically via DM14 every [timeout] ms.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DestinationAddress

    string

    Numerical ID or TLA of the receiver.

    Key

    65535

    int

    Default: No Key (0xFFFF)

    Length

    0

    int

    Depending on Pointer Type (PT) the length of the addressed memory in bytes (PT = 0) or the number of objects (PT = 1)

    Pointer

    0

    int

    PointerExtension

    0

    int

    PointerType

    ‘Direct Spatial Addressing’

    [‘Direct Memory Addressing’, ‘Direct Spatial Addressing’]

    string

    Timeout

    80

    int

    Time in ms in which a message is sent to the test object to maintain diagnostic access

    Receive¶

    Returns the last received message with the specified PduFormat, PduSpecific and if required the SourceAddress

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    PduFormat

    int

    PduSpecific

    int

    SourceAddress

    int

    Sender ID or the filtered TLA (empty if no filter)

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    object

    J1939 message object

    Send¶

    Sends a custom J1939 message

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Payload

    ByteStream()

    ByteStream

    Payload for the request.

    PduFormat

    int

    PduSpecific

    int

    Priority

    int

    StandardPGNRequestResponse¶

    Sends a standard PGN request and returns the response

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DestinationAddress

    string

    Numeric Id or TLA of the receiver. Use 0xff for broadcast.

    Payload

    ByteStream()

    ByteStream

    Payload for the request.

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Return

    object

    List of J1939Message objects

    2025-12-05
    Previous
    Port DIAGNOSTICS - DOIP-PCAP 🛈
    Next
    Port APPLICATION - XCP-ETH 🛈
    © Copyright 2025, tracetronic GmbH.
    Created using Sphinx 8.2.3. and Sphinx-Immaterial
    Logo of tracetronic GmbH
    legal notice privacy policy