obd-java-api with SocketCAN?
Good afternoon,
I'm developing the CAN-Bus controller for Android using SocketCAN. Does library work obd-java-api with SocketCAN?
Thank you.
Andrew.
95% - Yes. If your controller like ELM327 and understands it's syntaxis.
I do not use ELM327. I use RAW CAN (candump & co).
obd-java-api used for connect to car's CANbus via diagnose scanner based on ELM327 chip and firmware.
Clear. Tell me please. Is it difficult to change to SocketCAN? SocketCAN dont need AT comand.
I think that it is impossible. obd-java-api developed especially for using with AT comands.
If your add SocketCAN, can be used with RPi and more. :)
Read name of project: obd-java-api. obd == OBD == On-board diagnostics => https://en.wikipedia.org/wiki/On-board_diagnostics
ELM327 comand are very similar to the RAW CAN frame. I think it will not be difficult.
So you can fork that project and add any options and any frame format.
In theory the library can do whatever you want. Feel free to open one or more pull-requests that add features and related tests and I'll take a look :)