Questions tagged [obd-ii]

OBD-II is an automotive term referring to the diagnostic system of a car. The OBD-II specification includes standardized hardware and message protocols. With an OBD-II connector, it's possible to read the diagnostic data from the car, e.g., vehicle speed, RPM, mileage, airflow.

External resources

323 questions
1
vote
1 answer

obdsim: invalid option -- 'b'

When I run user:~$ obdsim -b I get obdsim: invalid option -- 'b' I've already done this: sudo rfcomm bind 0 14:30:C6:50:12:16 1 sudo sdptool add SP When I run user:~$ obdsim -h Usage: obdsim [params] [-g|--generator=
Marian Paździoch
  • 8,813
  • 10
  • 58
  • 103
1
vote
1 answer

Android OBD distance travelled command giving NO DATA

I have connected my android application with bluetooth OBD device. Now, on running commands like vehicle speed,rpm,ambient air temperature,I m getting the desired and right response but when I hit the distance command(0131\r) ,I am again getting…
Devil
  • 11
  • 3
1
vote
1 answer

IOException in Java (Android): Transport endpoint is not connected

In my Android application, which was copied from answer to this question (and then slightly changed due to UUID-related problems with Samsung Galaxy tabs) I successfully connect to OBD device via bluetooth. Then, when I try to send any command…
JanezNovak
  • 123
  • 6
1
vote
1 answer

BluetoothChat-to-ELM327 split response message

I am attempting to communicate with an ELM327 OBDII Bluetooth dongle using the Android BluetoothChat example. I can connect to the device without any trouble, and messages from BluetoothChat to the ODBII device seem to be transmitted and received by…
nth0007
  • 55
  • 1
  • 1
  • 8
1
vote
1 answer

Three digit PIDs in OBD II

I'm in the process of writing a java based application to interface with a car. For hardware I'm using one of the wifi ELM 327 modules available from Amazon (this one to be precise:…
Michael Minella
  • 20,843
  • 4
  • 55
  • 67
1
vote
2 answers

Send String to OBDII

I want to send a String to an OBD2 Adapter, to read some information, for example the battery voltage. So I wrote this little program: public class MainActivity extends Activity { private BluetoothAdapter mBluetoothAdapter = BluetoothAdapter …
1
vote
2 answers

iOS send command to web server

All, I have an OBDII device which has a webserver in it. I connect via wifi. I want to create an app to send commands and read the data received from the device. I first test it using Terminal. I connect using a telnet session and can send a command…
RobertvdBerg
  • 187
  • 2
  • 14
1
vote
2 answers

UUID of OBD 2 dongle

I'm try to develop Bluetooth connection with OBD 2 dongle and android phone.but I't doesn't work for me.I think Error occurs in wrong UUID.I'm using this DongleI'm using this UUID 00001101-0000-1000-8000-00805F9B34FB is it correct? or what is the…
SAGA
  • 349
  • 5
  • 15
1
vote
1 answer

Android establishing bluetooth connection to paired device using thread not working in some devices

I am developing android app for OBD. I have written bluetooth connection with OBD device code in thread. This thread is working for some devices but the device whose processer is very good then it has problem. Let me know how I can manage for…
Shrikant Salunkhe
  • 329
  • 1
  • 4
  • 14
1
vote
2 answers

Unable to communicate with ELM327 bluetooth

Here is my code for establishing a bluetooth connection with an ELM327 and comunicating with it using a laptop: import java.io.*; import java.util.Vector; import javax.bluetooth.*; import javax.microedition.io.Connector; import…
Flame of udun
  • 2,136
  • 7
  • 35
  • 79
1
vote
2 answers

Isolating obd scan tool from other bluetooth devices during bluetooth device search

I am creating a java program to communicate with a bluetooth ELM 327 . I want the program to provide the user with a list of obd adapters in the area after device search and exlude other devices such as cell phones etc. I believed it could be done…
Flame of udun
  • 2,136
  • 7
  • 35
  • 79
1
vote
1 answer

How does the following code snippet work?

I am a novice in python and am going through an opensource project called pyOBD by Donour Sizemore for the ELM327(not really sure,could be aimed at more scantool devices).I can make out that the following is a method to convert a hex value to…
Flame of udun
  • 2,136
  • 7
  • 35
  • 79
1
vote
1 answer

Find out crash from OBD (On Board Diagnostic) data?

In our application we are collecting OBD data continuously from vehicles port. Our requirement is to find out the vehicle crash scenario (accidents etc.). Currently we are reading the OBD parameters speed, temperature, rpm etc. Is it possible to…
Don
  • 51
  • 4
1
vote
1 answer

Connecting BAFX OBD-II Adapter to Modified BluetoothChat App not working

I bought a BAFX OBD-II bluetooth adapter. I'm currently attempting to modify the sample BluetoothChat App to communicate with the adapter. However, whenever I attempt to connect to it the app says "Unable to connect". Pairing outside the app works…
v3rse
  • 68
  • 6
1
vote
0 answers

Android OBD Reader not going through all switch cases

I am working on a Android app that modifies the Bluetooth Chat example given with Eclipse to create an On-Board Diagnostic (OBD) reader. My code sends a message to my vehicle's ECU and retrieves data with the use of switches. Now, my problem is,…
Chris Frey
  • 11
  • 2