Can anyone give me an idea on how to read the values from the OBD II Bluetooth adapter in an android application.
I want to start with scanning for the bluetooth devices from my android application, then after bluetooth device is found, how would I interact with it and get the values from it?
The engine will be off, but this provides power to your dash lights, radio and also the OBD II diagnostic port. From your Android Smartphone or tablet, go to your SETTINGS, then WIRELESS & NETWORKS, then BLUETOOTH SETTINGS. Turn on Bluetooth, scan for the nearby devices and pair your phone with the scanner.
Android phones and tablets can also be used for both Bluetooth and Wi Fi OBD2 scanners. We all know that Apple and iOS can only be used on Wi Fi wireless OBD2 scanners, and will not work using Bluetooth.
You should start by reading this http://developer.android.com/guide/topics/wireless/bluetooth.html it contains step by step procedure .
add required permissions, make a bt adapter, then find paired/unpaired devices
I used the BluetoothChat Application and was able to get some basic communications, I am not moving into data logging. You can use this application to have a sort of instant messenger conversation with your ECM.
Download the BluetoothChat sample application -
This should get you started!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With