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
0
votes
1 answer

How can I get "mode & PIDs" from raw OBD2 identifier 11 or 29 bit?

I have connected OBD2 and getting the can data (11bit 500kpbs CAN) using atmel can controller. I get data. Now, how do I get the mode and PIDs from this data? For example, my data looks like this: 15164A8A-FF088B52 -- Data:…
Eugene
  • 17
  • 2
  • 6
0
votes
1 answer

Can I connect bluetooth device automatically with the device which already paired without showing choose dialog

I am developing a solution for connection between OBD2(Vehicle ECU scanner) with the mobile app. I want that when ever that OBD device is found and it is already paired then the application automatically connect with the device and create a socket…
Muhammad Jamal
  • 442
  • 4
  • 21
0
votes
1 answer

Python constantly refresh variable

I don't know if it's a dumb question, but I'm really struggling with solving this problem. I'm coding with the obd library. Now my problem with that is the continuous actualization of my variables. For instance, one variable outputs the actual speed…
0
votes
1 answer

OBD 2 iOS wifi swift communication

I want to create an iOS app to connect my Wifi OBD 2 to the iPhone. But i have no idea on how to do the peer connection with swift 2. I have the OBD doc to communicate with it (https://www.elmelectronics.com/wp-content/uploads/2016/07/ELM327DS.pdf -…
0
votes
3 answers

Test OBD iOS App without using vehicle

Currently, I am working on an iOS App using OBD device. How can I test it without using a vehicle.
0
votes
0 answers

EAAccessory, iOS, Bluetooth

I'm having a problem to send commands to my external accessory. According to the manufacturer the command 'N', returns the hardware info. But nothing in return . PS : i'm using Apple sample code for EAAccessory. Any help would be appreciated.
Skander Fathallah
  • 503
  • 1
  • 5
  • 10
0
votes
0 answers

CoreBluetooth , BLE : couldn't discover peripheral

I have a BLE device (obd2 dongle) that I want to connect to. I can pair with it through "settings" but I can't discover it via didDiscoverPeripheral delegate method , any help ? - (void)viewDidLoad { [super viewDidLoad]; _centralManager…
Skander Fathallah
  • 503
  • 1
  • 5
  • 10
0
votes
1 answer

CoreBluetooth : Why DidDiscover delegate method is not always being called?

when it's called i have this log here PS : i am working with an OBD2 dongle as a peripheral and my iphone is the centralManager
0
votes
0 answers

Problems with bash codes to automate connecting ELM327's bluetooth and execute python code

I have some problems in my bash code on raspberry pi(jessie). My goal is connecting ELM327(https://i.stack.imgur.com/Zkfo7.jpg) and run python code,"pyobd"(https://sourceforge.net/projects/pyobd2/), logging some automotive data. Thanks to…
NEWBIEEBIEE
  • 197
  • 2
  • 13
0
votes
2 answers

OBD2 PIDs 0101 vs. 0141 w/ regards to injection type

PIDs 0101 (monitor status since DTCs cleared) and 0141 (monitor status this drive cycle) are both returning the monitor status, however as per the specification only 0101 differentiates between spark ignition and compression ignition, hence the…
DrMickeyLauer
  • 4,455
  • 3
  • 31
  • 67
0
votes
1 answer

Auto determine the bluetooth device is OBD or not?

Current I am working on OBDII. While in bluetooth discovery to connect obd, How I determine which device is obd and which device is normal bluetooth device.Because I want auto connect my app with obd. Is there any common characteristic of obd device…
pRaNaY
  • 24,642
  • 24
  • 96
  • 146
0
votes
0 answers

Send CAN Message

I'm trying to use my smartphone to move my cars windows up and down. I recorded the CAN traffic two times by using AT MA. First time I just turned the ignition on. The second time I pushed the buttons for the electric windows. I guess the PIDs for…
stefan
  • 1,336
  • 3
  • 21
  • 46
0
votes
4 answers

How to show values other than the sample text that's on textView in Android

I'm making a OBDII reader app and would like to see the (in this case) voltage on text rather than in the Logcat which is what I currently see. You can see in the code below where I read the voltage in my while loop. Is it possible to update the…
swess
  • 171
  • 19
0
votes
1 answer

I can get the state of the parking brake by OBDII?

I do engine autostart. To get the data from the car I use the ELM327 OBDII Bluetooth adapter. We already got the engine speed (010C) and coolant temperature (0105). For safety, I still have the position of the parking brake and the gearbox. It is…
krawa
  • 583
  • 6
  • 12
0
votes
1 answer

How do I initiate my BluetoothHandler to another (several) activity?

I'm making a OBDII Bluetooth Android app and i'm having some issues sending out commands. I've already made a successfully connection between my mobile device and my OBDII adapter, but when I click on another activity, the Bluetooth connection seems…
swess
  • 171
  • 19