OBD-II Generic

  • Interface Name

    obd-generic

  • Supported Since

    V2.0.5-pr.5

  • Sensor Communication Protocol

    CAN

  • PolySync Sensor Type

    370

  • PolySync Configuration

    * [Define the node](https://help.polysync.io/releases/2.0.7//articles/add-a-sensor-node/) in the SDF Configurator
    * [Locate the CAN hardware and circuit identifiers](https://help.polysync.io/releases/2.0.7//articles/parse-can-hardware-and-circuit-identifiers)
    * Copy the hardware and circuit IDs into the nodes entry in the SDF Configurator “IO Parameters” section
    * [Run the Dynamic Driver interface](https://help.polysync.io/releases/2.0.7//articles/manually-starting-nodes/)

  • Driver Notes

    Command line arguments:
    * -c
    * use provided CAN channel system index instead of what is stored in the SDF [optional]
    * -t
    * perform a validation test on the OBD-II interface [optional]
    * -d
    * enable additional debugging output in OBD-II interface [optional]

  • Input Message Types

    Input Message Type Input Message Note
    ps_can_frame_msg Raw CAN frames read by the Dynamic Driver interface
  • Output Message Types

    Output Message Type Output Message Note
    ps_platform_obd_msg Published to the PolySync bus
  • Sensor Configuration Parameters

    Parameter ID Description Value Type Values Notes
    5000 Bitfield of PIDs to query from platform. [0x01 - 0x20] 1 0
    5001 Bitfield of PIDs to query from platform. [0x21 - 0x40] 1 0
    5002 Bitfield of PIDs to query from platform. [0x41 - 0x60] 1 0
    5003 Bitfield of PIDs to query from platform. [0x61 - 0x80] 1 0
    5004 Publish bitfield of supported PIDs before publishing PID responses. [0 is diabled] 1 0
    5005 Frequency with which to publish OBD responses. [Hz] 1 20
  • IO Configuration Parameters

    Parameter ID Description Value Type Values Notes
    400 CAN Channel 0 Hardware Identifier 1 0
    401 CAN Channel 0 Circuit Identifier 1 0
  • Node Configuration Parameters

    Parameter ID Description Value Type Values Notes
    40 4 /usr/local/polysync/bin/polysync-dynamic-driver
    42 4 /usr/local/polysync/lib/libps_obd_generic_interface.so
    2004 Publishes message type "ps_can_frame_msg" (value 0 means disabled) 1 0
    2080 Publishes message type "ps_platform_obd_msg" (value 0 means disabled) 1 1