How to communicate with OBD-II device

后端 未结 1 387
夕颜
夕颜 2021-02-09 01:19

There is OBD-II device like http://www.rczd.com/c/2015/Car_Diagnostic_Tools_0223/41193.html this device provider does not have its web page or documentation source

1条回答
  •  南笙
    南笙 (楼主)
    2021-02-09 01:51

    If your device is compatible with the ELM327 you can use multiple PID requests but only if adapter is connected to the vehicle with CAN protocol. So it would work only with a subset of vehicles because not all vehicles support CAN.

    Popular scan tools simply sends sequential requests. Maximum throughput you can gain with this approach is about 30-40 rps.

    I don't know how freematics dongle works but I can see it has some SD card mounted - maybe it gives only emulation of parallelism and internally every request is sent sequentially?

    If you are searching for reliable Java library for connecting to OBD II device I would recommend you https://github.com/pires/obd-java-api . You can also take a look at my library - https://github.com/devesion/java-obd-adapter

    0 讨论(0)
提交回复
热议问题