Skip to content
logo
ecu.test 2025.3 Help
Port BUSACCESS - SOCKETADAPTOR 🛈
  • 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
      • 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
        • Ports
          • Port BUSACCESS - CAN 🛈
          • Port DIAGNOSTICS - CAN 🛈
          • Port BUSACCESS - CAN-FD 🛈
          • Port DIAGNOSTICS - CAN-FD 🛈
          • Port DIAGNOSTICS - CAN-FD_TOLERANT 🛈
          • Port BUSACCESS - FLX 🛈
          • Port DIAGNOSTICS - FLX 🛈
          • Port BUSACCESS - LIN 🛈
          • Port BUSACCESS - SOCKETADAPTOR 🛈
            • Stimulation
            • Properties 🛈
            • Jobs 🛈
              • ClearFrame
              • ClearPdu
              • DeregisterFrameForInbox
              • DeregisterPduForInbox
              • DisableSendPduCyclic
              • GetFirstValue
              • GetLastReceptionTimestamp
              • InitFrame
              • InitPdu
              • ReadFrame
              • ReadFrameEx
              • ReadPdu
              • RegisterFrameForInbox
              • RegisterPduForInbox
              • ResetFirstValue
              • SendPdu
              • SendPduCyclic
          • Port DIAGNOSTICS - DOIP 🛈
          • Port APPLICATION - XCP-ETH 🛈
          • Port APPLICATION - XCP-CAN 🛈
          • Port APPLICATION - XCP-CAN-FD 🛈
          • Port APPLICATION - XCP-CAN-FD-TOLERANT 🛈
          • Port LOGGING - DLT-VERBOSE 🛈
          • Port SERVICEACCESS - ETHERNET-RAW 🛈
          • Port SERVICEACCESS - SERVICE-PASSIVE 🛈
          • Port SERVICEACCESS - SERVICE 🛈
          • Port SERVICEACCESS - ARP 🛈
          • Port SERVICEACCESS - UDP-SOCKET 🛈
          • Port SERVICEACCESS - TCP-SERVER-SOCKET 🛈
          • Port SERVICEACCESS - TCP-CLIENT-SOCKET 🛈
          • Port SERVICEACCESS - UDP-RAW 🛈
          • Port SERVICEACCESS - ICMP-RAW 🛈
          • Port SERVICEACCESS - RECORDING-PCAP 🛈
          • Port SERVICEACCESS - IPSEC 🛈
          • Port SERVICEACCESS - MACSEC 🛈
          • Port MODELACCESS - DEFAULT 🛈
          • Port SERVICEACCESS - TLS 🛈
      • 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 🛈
      • ClearFrame
      • ClearPdu
      • DeregisterFrameForInbox
      • DeregisterPduForInbox
      • DisableSendPduCyclic
      • GetFirstValue
      • GetLastReceptionTimestamp
      • InitFrame
      • InitPdu
      • ReadFrame
      • ReadFrameEx
      • ReadPdu
      • RegisterFrameForInbox
      • RegisterPduForInbox
      • ResetFirstValue
      • SendPdu
      • SendPduCyclic

    Port BUSACCESS - SOCKETADAPTOR 🛈¶

    Active and passive communication with AUTOSAR PDUs transmitted via SocketAdaptor.

    Stimulation¶

    This port has no stimulus capabilities.

    Properties 🛈¶

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Active mode

    ☐

    bool

    Whether the port is also allowed to send network packets. If unset, the port can only passively receive packets.

    Physical Layer ❲Network Access❳

    Network name

    string

    Name of the network. Must be the same like the network name used by other participants whose packets should be received if no Switches etc. are defined in the SIL Kit configuration.

    Controller name

    string

    An arbitrary name to be used when registering the ethernet controller to SIL Kit.

    MAC address ❲client❳

    ‘02:00:4C:4F:4F:50’

    string

    String (format: 02:00:4C:4F:4F:50), ‘default’ if a default MAC address should be used

    VLAN Settings ❲IEEE 802.1Q❳

    VLAN mode

    auto

    [auto, disable, single tagging]

    string

    Set to ‘auto’ if the VLAN id from the database should be used, ‘disable’ if no VLAN should be used or ‘single tagging’ if a fixed VLAN id should be specified

    VLAN id

    VLAN mode: ‘single tagging’

    0

    int

    If incoming packets have a VLAN tag, they will be filtered and only packets having this VLAN id will pass. Incoming packets without any VLAN tag will also pass the filter.

    IP Settings

    Active mode is enabled

    IP version

    Active mode is enabled

    IPv4

    [IPv4, IPv6]

    string

    Selection of the IP version used

    IP address ❲client❳

    Active mode is enabled

    string

    IP address to be used as a client. It must be located in the same subnet as the IP address of the device under test, and must not be equal to the IP address of another participant or the IP address which the operating system assigned to the selected network interface.

    Subnet mask / prefix length

    Active mode is enabled

    ‘default’

    string

    For IPv4 addresses a subnet mask or prefix length can be given (format: ‘255.255.255.0’ or ‘24’). ‘default’ uses the default subnet mask of the network class of IP address (client).

    For IPv6 only a prefix length is accepted and the value ‘default’ is not supported.

    Gateway address

    Active mode is enabled

    string

    IP address of the gateway that allows reaching hosts outside of the local subnet. Leave empty if no gateway is needed

    UDP Settings

    Active mode is enabled

    Port number ❲client❳

    Active mode is enabled

    int

    Local UDP port for sending and receiving

    Socket-Adaptor Settings

    Active mode is enabled

    Remote IP address

    Active mode is enabled

    string

    IP address to which the socket adapter messages should be sent - e.g. a multicast address

    Remote port number

    Active mode is enabled

    int

    UDP port to which socket-adapter messages should be sent

    Placeholder value for automatic E2E calculation

    Active mode is enabled

    int

    Whenever this value is specified for an E2E signal (e.g. CRC), upon transmission ecu.test automatically replaces it with the correct, calculated value. The purpose of this option is to allow transmission of arbitrary fixed values (unequal to the value chosen here). Leaving this option empty completely disables the feature.

    Jobs 🛈¶

    ClearFrame¶

    Erases the receiving buffer of given frame

    Note: ClearFrame can be replaced by the job ClearPdu

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting “Mode” from the test bench configuration

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    ByteStream

    ByteStream

    ClearPdu¶

    Clears the input buffer of the specified socket adapter PDU

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    HeaderId

    int

    Socket adapter PDU header ID

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    ByteStream

    Read Socket Adapter PDU as ByteStream.

    DeregisterFrameForInbox¶

    Deregisters a frame that is streamed to the inbox

    Note: DeregisterFrameForInbox can be replaced by the job DeregisterPduForInbox

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    Inbox

    object

    Existing inbox

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting “Mode” from the test bench configuration

    DeregisterPduForInbox¶

    Deregisters a socket adapter PDU streamed to the inbox

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    HeaderId

    int

    Socket adapter PDU header ID

    Inbox

    object

    Existing inbox

    DisableSendPduCyclic¶

    Disable cyclic sending of a socket adapter PDU with specified header ID

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    HeaderId

    int

    Socket adapter PDU header ID

    GetFirstValue¶

    Returns the first value of the signal received since the test case started.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameName

    string

    Frame name

    NodeName

    string

    Name of the electronic control unit

    RawValue

    False

    [False, True]

    bool

    If ‘True’, the Raw value is returned.

    Reset

    False

    [False, True]

    bool

    If ‘True’ the first received value will be deleted after it has been read

    SignalName

    string

    Signal name

    GetLastReceptionTimestamp¶

    Get the last reception timestamp in seconds

    InitFrame¶

    Registers the message ID for later use, e.g. ReadFrame

    Note: InitFrame can be replaced by the job InitPdu

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting “Mode” from the test bench configuration

    InitPdu¶

    Registers the header ID for later use e.g. by ReadPdu

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    HeaderId

    int

    Socket adapter PDU header ID

    ReadFrame¶

    Reads the given frame ID (use InitCanFrame before!)

    Note: ReadFrame can be replaced by the job ReadPdu

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    doDelete

    False

    [False, True]

    bool

    Deletes the Frame after reading if “True”

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting “Mode” from the test bench configuration

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    ByteStream

    ByteStream

    ReadFrameEx¶

    Reads the given frame ID (use InitCanFrame before!)

    Note: ReadFrameEx can be replaced by the job ReadPdu (returning a read frame as frame object is no longer supported for SocketAdaptor)

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    doDelete

    False

    [False, True]

    bool

    Deletes the Frame after reading if “True”

    FrameId

    int

    Frame ID

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting “Mode” from the test bench configuration

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    object

    CanFrame

    ReadPdu¶

    Reads a socket adapter PDU

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DoDelete

    [False, True]

    bool

    Flag for deleting the last message: True: delete, False: do not delete (default)

    HeaderId

    int

    Socket adapter PDU header ID

    Return value

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    result

    ByteStream

    Read Socket Adapter PDU as ByteStream.

    RegisterFrameForInbox¶

    Registers a frame to be streamed to an inbox.

    Note: RegisterFrameForInbox can be replaced by the job RegisterPduForInbox

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameId

    int

    Frame ID

    Inbox

    object

    Existing inbox

    isExtended

    None

    [False, True]

    bool

    Address format: True for 29 bit, False for 11 bit, None uses the setting “Mode” from the test bench configuration

    saveAsCanFrame

    False

    [False, True]

    bool

    If True, the frame is saved as a CanFrame object, else as a ByteStream

    RegisterPduForInbox¶

    Registers a socket adapter PDU to be streamed into an inbox.

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    HeaderId

    int

    Socket adapter PDU header ID

    Inbox

    object

    Existing inbox

    ResetFirstValue¶

    Erases the first received value of the given signal

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    FrameName

    string

    Frame name

    NodeName

    string

    Name of the electronic control unit

    SignalName

    string

    Signal name

    SendPdu¶

    Sends a socket adapter PDU to the specified address

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    DestinationIp

    string

    Target IP address

    DestinationPort

    int

    Destination port

    HeaderId

    int

    Header ID of the socket adapter PDU if it is to be sent with a header

    Payload

    ByteStream

    Payload to be sent as a ByteStream.

    SendPduCyclic¶

    Cyclic sending of a socket adapter PDU with specified header ID and data

    Parameterization

    Parameter

    Name

    Available if

    Default value

    Valid values

    Type

    Description

    Count

    int

    Number of sending repetitions

    HeaderId

    int

    Socket adapter PDU header ID

    Interval

    int

    Cycle time in ms

    Payload

    ByteStream

    Payload to be sent as a ByteStream.

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