Hi,
Since a few days im a proud owner of a HTC desire.
On this device i am trying to connect my bluetooth OBD2 car diagnose device.
Unfortunatly i cannot get it working.
What i did was search for the device in bluetooth settings, pair it with the phone (The bluetooth device says paired, but disconnected), and change the settings in the obd2 app to make sure it uses the device ( i tried torque and obd2 reader). This will result in the following bluetooth error :
1270932653682 **** OBD Comms thread starting ****
1270932653682 **** Connecting to OBD via bluetooth ****
1270932653686 **** Connecting to OBD via bluetooth (1) ****
1270932654262 *** EXCEPTION:Service discovery failed ***
Service discovery failed android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:377)_ android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)_ org.prowl.torquefree.comms.OBD$CommsThread.run(OBD.java:305)_
The previous phone i had was a touch pro 2 running Windows mobile. I managed to use the diagnose device on this phone for a while without any issues.
What i am thinking is that i maybe miss out on a step on the android phone to get it working. This is because on my windows mobile phone i had to setup a serial port first. Could this be different in android, or am i doing something wrong?
Any help is welcome!
Anyone with ideas ?
Thanks alot!
do you need the software on the phone to run the obd2 connector? do they have that software available or is it just for data logging? the connection is there but there is no software calling for the data connection.
good luck. hopefully. the manufacturer developes or ports their software to Android
Yes you need to software to communicate with the obd2 bluetooth connector. You pair it with the phone, and then need to software to get the info.
There are currently 2 apps available, but they both fail to work. I thought it could maybe be a bug in android, but i can't seem to find any info about it.
I also expected i could have made a mistake while pairing the device to the phone, since i am only using android for a few weeks
it should be working, the only thing is that further down the debug the bluetooth stack blows up inside a native method
>>>> 1270932756398 *** EXCEPTION:Unknown error: 0 ***
>>>> Unknown error: 0 >>>> android.bluetooth.BluetoothSocket.initSocketNative(Native Method)_ >>>> android.bluetooth.BluetoothSocket.<init>(BluetoothSocket.java:142)_ android.bluetooth.BluetoothDevice.createRfcommSocketToServiceRecord(BluetoothDevice.java:715)_ g.prowl.torquefree.comms.OBD$CommsThread.run(OBD.java:303)_
I'm itching to see what the UUIDs your bluetooth device advertises
Hey ! we have spoken through email
Im trying to see how i can get the UUID of the device. I tried it with my ubuntu laptop, but couldnt find it yet.
Im using the same bluetooth device as listed on the torque website, the one with the blue sticker on the side
I have bonded the adapter with my laptop. Then setup Serial port.
I did not manage to get the UUID yet, is the info below helpfull?
[email protected]:~$ sdptool search SP
Inquiring ...
Searching for SP on 00:0D:18:B0:04:78 ...
Service Name: Dev B
Service RecHandle: 0x10002
Service Class ID List:
"Serial Port" (0x1101)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x656e
encoding: 0x6a
base_offset: 0x100
Yes we did talk on email, thats how I found the thread here
Yep thats fine on the bluetooth info, this is looking like a bug in androids handling of bluetooth, and it's a weird one at that.
Is your firmware a completley stock ROM for the phone? You haven't put a modified ROM onto it?
Well good to hear you at least know what is wrong.
My rom is a stock rom. This is the info from settings, software information :
Firmwareversion :
2.1-update1
Smallbandversion :
32.30.00.28U_4.05.00.11
Kernelversion :
2.6.29-97da29ed
[email protected] # 1
Build number :
1.14.405.4 CL144070 release keys
Software number :
1.15.405.4
Browserversion :
WebKit 3.1
The phone's model number is HTC Desire A8181
Do you know what the bug consists of?
Thanks again !
Sorry, I haven't replied earlier, been busy for a few days.
It's looking very much like a bluetooth stack issue on the HTC Desire. Googling a reveals a couple more grumblings with the desires bluetooth stack but nothing concrete. Unfortunately I haven't got one of the devices directly to play with to verify my assumption, so fixing it is probably not going to happen (if I am able to work around the bug at all!).
Unfortunately I'll have to say you're out of luck /for the moment/, if one of my friends aquires one (or I can reproduce it on my Nexus one if/whenever Google/Brightpoint decide to deliver it!) then I will try to reproduce the fault and to get it to work for you (from my point of view I want this to work with as many devices/vehicles as possible!!)
Ian
Is there anything i can help you with? as i also really like to use this app.
If you provide me with things to check, gather or investigate i would be happy to do so!
Hi to all
I have the same bluetooth OBD2 car diagnose device.
I am trying to pair it with wm 6.5 HTC HD but it ask always for secure password for bluetooth.
Does anybody know whitch is the passcode?
Thanks
blueeyedme said:
Hi,
Since a few days im a proud owner of a HTC desire.
On this device i am trying to connect my bluetooth OBD2 car diagnose device.
Unfortunatly i cannot get it working.
What i did was search for the device in bluetooth settings, pair it with the phone (The bluetooth device says paired, but disconnected), and change the settings in the obd2 app to make sure it uses the device ( i tried torque and obd2 reader). This will result in the following bluetooth error :
1270932653682 **** OBD Comms thread starting ****
1270932653682 **** Connecting to OBD via bluetooth ****
1270932653686 **** Connecting to OBD via bluetooth (1) ****
1270932654262 *** EXCEPTION:Service discovery failed ***
Service discovery failed android.bluetooth.BluetoothSocket$SdpHelper.doSdp(BluetoothSocket.java:377)_ android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:201)_ org.prowl.torquefree.comms.OBD$CommsThread.run(OBD.java:305)_
The previous phone i had was a touch pro 2 running Windows mobile. I managed to use the diagnose device on this phone for a while without any issues.
What i am thinking is that i maybe miss out on a step on the android phone to get it working. This is because on my windows mobile phone i had to setup a serial port first. Could this be different in android, or am i doing something wrong?
Any help is welcome!
Click to expand...
Click to collapse
evagelos said:
Hi to all
I have the same bluetooth OBD2 car diagnose device.
I am trying to pair it with wm 6.5 HTC HD but it ask always for secure password for bluetooth.
Does anybody know whitch is the passcode?
Thanks
Click to expand...
Click to collapse
the passcode is 1234
I have the same problem - same obd2 elm bt reader - with samsung moment (with unreleased 2.1) - the phone and CBT pair but torque keeps oin saying adapter not found .. retrying etc ...
Hi
Just to let you know I managed to sort a workaround out for torque with regards to the bluetooth problems and it is now connecting fine
dandruff1 said:
the passcode is 1234
I have the same problem - same obd2 elm bt reader - with samsung moment (with unreleased 2.1) - the phone and CBT pair but torque keeps oin saying adapter not found .. retrying etc ...
Click to expand...
Click to collapse
Thanks
The code was 1,2,3,4
I've been a android user since Sept '09 (G1/Dream) and now I recently got my X10.
I've had a Nokia 770,800, and now N810. I used a application called 'Carman' which would read a OBD2 Bluetooth unit which was connected in my car. I would simply plug it into the port under my steering wheel and it would show up easily on my Nokia. The software worked great.
There is code available, and the website for carman is: http://openbossa.indt.org/carman/
The bluetooth unit I got was this one: http://www.dealextreme.com/details.dx/sku.16921 (although mine is orange, got mine back in Dec '08)
It would be great to see this being ported over to Android. Hopefully this is helpful!
how many cm is the Height of this bt?
evagelos said:
how many cm is the Height of this bt?
Click to expand...
Click to collapse
Hmm not including the connector its about 2.5cm
Hello!
Are there any known issues with Android and bt devices? I can't seem to get my desire and a bt obd reader to pair, the phone doesn't even see it.
piemmmm said:
Hi
Just to let you know I managed to sort a workaround out for torque with regards to the bluetooth problems and it is now connecting fine
Click to expand...
Click to collapse
what did you do to get it working?
drdino said:
Hello!
Are there any known issues with Android and bt devices? I can't seem to get my desire and a bt obd reader to pair, the phone doesn't even see it.
Click to expand...
Click to collapse
yeah i've been searching for awhile and apparently HTC broke the stock bluetooth stack with some kind of proprietary settings that makes most advanced functions not work (HID, SPP, etc) it appears if you use a rom thats not sense based (like cyanogenmod) then the profiles work
I've got a question I have not been able to find a definitive answer to.
Everyday other day on a blog I read I am seeing someone has created a robot controlled via an application running on a iPhone/Android, using either Bluetooth or Wifi.
But my question is, can an android device function as a wired remote via the usb port?
Is there any IO class for the USB port that can be used to turn on various things and read back various sensor information given the propper platform?
Am I seeking USB Host mode or is that something else?
My goal is to have an android device running an application monitoring various sensors and controlling various other hardware devices with a nice touch screen interface if possible. Since the phone would be located with the control hardware using Bluetooth for this seems silly if I am able to use USB and a cable from the Android Device to the Control Hardware, essentially making the android device the brains.
thanks in advance guys!
Nobody has any feedback on this?
Hello everyone !
I don't know if it already exists but do you know if there is an app that would allow to send "touch command" from an Android to another (over bluetooth, or Wifi) ?
If you want an example :
I have a phone, that I stream with Miracast on a tablet. But the problem with Miracast is that I can't control the phone (no touch action).
So I was thinking of sending commands from the tablet to the phone.
For example there is an app doing something similar between a phone and a Pioneer (ARunchained, and also ARliberator).
Any chance an app like that already exists ?
Hello,
does anyone know where Android stores its Bluetooh Pairing Keys ?
On Debian these data is located in "/var/lib/bluetooth/<Device Mac/info" But on Android it seems different.
On normal Linux i can pair a Bluetooth mouse with my Windows an Linux Multiboot installation if i just change the pairing key in this file.
Now on Android i want to pair a Pokemon Go Plus with two smartphones where i can access the /system partition via TWRP.
So i want to use the Pokemon Go plus on EITHER device 1 OR device 2. I just want to get rid of resetting and repairing the plus.
I dont want to use the plus the same time on both smartphones, this will not work i think.
Greetings
Chris
Hi.
I've successfully ported a Marshmallow rom to an old tablet that was running Kitkat.
Almost everything works ok, but I can't pair a bluetooth keyboard I need to use.
The tablet can pair with other android devices, and can send and receive files.
Also, the keyboard works with any other device and with the tablet doing a downgrade.
When I try to connect the keyboard to the ported tablet it's detected and shows the pin alert, I type the pin on the keyboard and then nothing else happens.
I've dumped the bluetooth logs and I've seen that, in the ported tablet, the log stopped when waiting for the pin. In any other device the log continues showing the complete connection.
I've tried to replace any bluetooth library form stock to ported rom, individually and by sets, and can't get it better (ever worst)
So please, can anyone help me? Where should I look for making it work?
Thanks and best regards.
PS: I've attached the HCI log files: the one named huawei is for the well pairing device, and the other is the problematic pairing with the ported tablet.