Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

obd-java-api with SocketCAN? #130

Open
karu2003 opened this issue Mar 21, 2017 · 10 comments
Open

obd-java-api with SocketCAN? #130

karu2003 opened this issue Mar 21, 2017 · 10 comments

Comments

@karu2003
Copy link

karu2003 commented Mar 21, 2017

Good afternoon,

I'm developing the CAN-Bus controller for Android using SocketCAN.
Does library work obd-java-api with SocketCAN?

Thank you.

Andrew.

@Odmink0
Copy link

Odmink0 commented Mar 21, 2017

95% - Yes. If your controller like ELM327 and understands it's syntaxis.

@karu2003
Copy link
Author

I do not use ELM327. I use RAW CAN (candump & co).

@Odmink0
Copy link

Odmink0 commented Mar 21, 2017

obd-java-api used for connect to car's CANbus via diagnose scanner based on ELM327 chip and firmware.

@karu2003
Copy link
Author

Clear. Tell me please. Is it difficult to change to SocketCAN? SocketCAN dont need AT comand.

@Odmink0
Copy link

Odmink0 commented Mar 21, 2017

I think that it is impossible. obd-java-api developed especially for using with AT comands.

@karu2003
Copy link
Author

If your add SocketCAN, can be used with RPi and more. :)

@Odmink0
Copy link

Odmink0 commented Mar 21, 2017

Read name of project: obd-java-api.
obd == OBD == On-board diagnostics => https://en.wikipedia.org/wiki/On-board_diagnostics

@karu2003
Copy link
Author

ELM327 comand are very similar to the RAW CAN frame. I think it will not be difficult.

@Odmink0
Copy link

Odmink0 commented Mar 21, 2017

So you can fork that project and add any options and any frame format.

@pires
Copy link
Owner

pires commented Mar 22, 2017

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 :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants