[Q] Bluetooth MAC address problem, Please DEV's help find a solution! - HD2 Android Q&A, Help & Troubleshooting and Genera

I've looked everywhere on this forum and all around for a definitive answer as to why the HD2 + Android results in the HD2 only having a generic Bluetooth MAC address.
This causes problems such as pairing with other devices that use a generic address and also stops some Apps ( Wireless Tether in Bluetooth PAN mode) working.
There doesn't seem to be an answer anywhere? Is it due to the flashing of MAGLDR or ??
As far as i can tell this is the last hurdle with regards to android + the HD2 now that the bluetooth drain has been fixed and tytung has gotten 2-way call recording working as well.
Please guys any ideas on a fix? I'd be totally willing to donate to the fixer!
Links:
Wireless tether bluetooth MAC issue with HD2

Related

missing bluetooth address

Hi to you people, sorry for bad english...
My problem is that my bluetooth dos'not working anymore, i cant turn it on, when i go into device information it says that bluetooth is EDR2.0 and address of bluetooth is none. Is my bluetooth dead or this is some software problem? I have new miri ROM, try other, nothing, bluetooth dos'n have the address. HELP ME PLESAEEEEE. :-(
MOD EDIT
Not specifically related to rom development so moved into general discussion forum

missing bluetooth address

Hi to you people, sorry for bad english...
My problem is that my bluetooth dos'not working anymore, i cant turn it on, when i go into device information it says that bluetooth is EDR2.0 and address of bluetooth is none. Is my bluetooth dead or this is some software problem? I have new miri ROM, try other, nothing, bluetooth dos'n have the address. HELP ME PLESAEEEEE. :-(

HD Touch + 6.5 + in-car advice please

Hi, i recently got a HTC HD Touch on Orange which i bought on ebay. The phone already came loaded with WM 6.5 on and so far i love it except for one problem. I have a Datsun 350z with intergrated bluetooth. When i tried to search on my phone it couldnt see anything, so this morning i upgraded my phones ROM to the latest Dutty's_HD_WM6.5_5.2.23016.5.0.3_Leo_R5. Since then i can search and find the bluetooth device of the car, input the pin code for it and it is added in my devices tab, however nothing appears in the "Select services to use from this device" section.
I am wondering if nyone had any idea if i am doing something wrong or whether its jsut that my car doesnt support the phone? I was also thinking about reverting back to WM6.1, would that work? Also, how do i go about getting a vanilla copy of WM 6.1?
Any help would be much appreciated,
Regards
jc0r
Just a quick update. I can get the phone to connect to the bluetooth module in the car but its not easy. Basically when i put the keys in ignition that bluetooth gets power, i then have to quickly search for bluetooth devices on my phone and then it will connect. Would be nice if the phone just connected everytime to the car like my Blackberry did. Is this hardware or software problem please?
Not that anyone actually cares about my problem but i thought i post the answer up for anyone that might be struggling in future.
What was stopping my Bluetooth working with my car was having WiFi on. When i disable WiFi the car + phone works perfectly together. In my particular situation i use my phone to connect to an ad-hoc network, and because the phone is not connected to the ad-hoc when in my car the searching constantly is causing the problem. Whether this would be the same with infrustucture mode im not sure.

how to detect a bluetooth connection

hello,
i search a solution to detect a bluetooth connection, device is equal.
all what i found is getBondedDevices() from BluetoothAdapter, but pairing this is not a connection...
thanks 4 help
Solved!
i use ACTION_ACL_CONNECTED and ACTION_ACL_DICONNECTED from class BluetoothDevice.
Code:
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_CONNECTED));
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_DISCONNECTED));
Android-Wireless
Helo Sir,
How to switch On Bluetooth and Wireless programatically? Even i can't switch on bluetooth and wireless manually in android.
Emulator shows error.
dineshsubramanian said:
Helo Sir,
How to switch On Bluetooth and Wireless programatically? Even i can't switch on bluetooth and wireless manually in android.
Emulator shows error.
Click to expand...
Click to collapse
Emulator actualy dosn't support Bluetooth, WLan and GPS!
CodeFlatter said:
i use ACTION_ACL_CONNECTED and ACTION_ACL_DICONNECTED from class BluetoothDevice.
Code:
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_CONNECTED));
getApplicationContext().registerReceiver(receiver,
new IntentFilter(BluetoothDevice.ACTION_ACL_DISCONNECTED));
Click to expand...
Click to collapse
This only works if the device isn't yet connected. If the device is ALREADY connected when your app starts, how do you detect that, without starting a discovery?
been searching for a few days for an answer to this. Anyone got one?
Thanks
Scott
No one has any ideas on this? A month of searching has so far proven futile, but I can't believe it's not possible...
On the Google android developers site there is a complete example (a bluetooth chat).
http://developer.android.com/intl/de/resources
Hi!
I'm trying to connect my phone (HTC desire running Opendesire last update or HTC stock 2.2) to a serial to bluetooth converter module.
It seems to me that BluetoothChat sample is a good point to start as this application sends bytes over bluetooth.
That's just what i want to do: send some bytes from phone, receive some bytes from the module
I tried to run the Bluetoothchat sample on my phone:
Discovering and pairing the module is ok, but I'm unable to open a connection.
Anyone ever tried (and get success) to do same things as me?
Thank you.
Delvorak said:
This only works if the device isn't yet connected. If the device is ALREADY connected when your app starts, how do you detect that, without starting a discovery?
been searching for a few days for an answer to this. Anyone got one?
Thanks
Scott
Click to expand...
Click to collapse
Take a look at my SpeakerProximity Project => http://code.google.com/p/speakerproximity/
I faced the same problem and the solution that fitted the best was using BT connect/disconnect receivers that always get triggered and update a shared preference.
Hi,
I'm still having some issue with the bluetoothchat sample from sdk and bluetooth to serial converter module.
Now it works fine with AOSP rom but i'm still unable to make connection with HTC stock rom.
I've tried with a friend to run the application on a galaxy spica and we had the same issue. First the application didn't even start on spica and we had to change permissions to avoid Force Close.
Somebody knows what's wrong with bluetooth and HTC or Samsung?
Thank you
detecting bluetooth STATE_ON
in your OnStart() use :
mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();
if (mBluetoothAdapter != null) //if null device does not support bluetooth
{
if (mBluetoothAdapter.getState()==BluetoothAdapter.STATE_ON) {
//do stuff
}
}
I use a bluetooth listener for the STATUS_CHANGED event to check if BT is switched on.
If so, i enable my scanning avtivities, else i disable them.
Greetz,
Mike
STATE_ON is not the same as connected, though. (I think).
Personally, I've be having trouble figuring out the disconnect event to listen for, but I think the ACL one is what I need. Will try to remember to post back if I get it working. Damn WiFi process always interupts my transfers epecially when email decides it's time to sync.
Anyways, one tip for those having trouble with the BluetoothChat example is that for some reason you dont want to be listening for a connection at the same time as trying to make one. If you try the BluetoothChat example it actually almost always fails to connect. But if you make sure only one device is using listenforRfcomm... and the other is connecting, you'll connect fine.
The Spica thing is some bug with that phone specifically, though I think some people have solved it with some type of strange method reflection. Check stackoverflow for spica/bluetooth.
Just an update for my problem the ACL braodcasts were just what I was looking for though the diconnect broadcast is sometimes very slow to trigger.

[Q] Bluetooth Mac

Is there anything new about this issue?
Until every device has the same bluetooth mac I have a problem with my parrot car kit (I have a HD2 and my wife too).
Any solution right now to chance the mac adress?
Or is anyone working on this problem???

Categories

Resources