Bluetooth code code for Android OBD-II does not work

I need to develop an Android app that retrieves data from an OBD-II Bluetooth dongle. As a first step, I downloaded the API from https://code.google.com/p/android-obd-reader/ and tried to run the Sample application in it, but it did not work for me. Can someone tell me who used this API and where is the error in this code? It has many packages and classes. I cannot clarify them.

+7
android api bluetooth obd-ii
source share
1 answer

It is very difficult to find out what your problem may be. I used the library you specified and includes an example application to help you understand how the library works.

I recommend that you use the obdgpslogger application ( http://icculus.org/obdgpslogger/ ), which includes the OBDSim module ( http://icculus.org/obdgpslogger/obdsim.html ). This module can act as an emulator of an ELM327 device. Using it under Linux, you can emulate the ELM327 Bluetooth dongle. Using this application, you will be able to receive a message about connecting and disconnecting Bluetooth, AT configuration addresses sent to the ELM327 device, and request speed.

I think it will be easier than using a real car.

I know that it takes time to understand everything, but you can do it.

Hope this helps.

+6
source share

All Articles