Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] DNA bluetooth throughput problem (app development related)

OP HiBoost

25th January 2014, 07:59 AM   |  #1  
OP Junior Member
Thanks Meter: 1
20 posts
Join Date:Joined: Mar 2012
This probably isn't the greatest place to post this but I was desperate to find some place with DNA-specific information. I have an app that reads from a bluetooth connection created using createInsecureRfcommSocketToServiceRecord (reads from a serial port UUID). The capsule summary is the paired device is a Garmin GPS that transmits data every second and the bundles are around 2000 bytes.

This should be no problem for a bluetooth connection and as expected it works perfectly on my old Motorola Photon 4G and my Galaxy Tab 10.1. But on my totally stock ROM (4.2.2, Sense 5.0) Droid DNA the throughput starts at the correct 2000 bytes/sec and then like clockwork, falls down to around 500bytes/sec after only 5-6 seconds of being connected. I've tried upping the thread priority plus my app stays in the foreground with the screen on the whole time. Nothing alters the behavior at all. I'm kind of going crazy over here. Any ideas?

Code was provided in this post:


Thanks for reading!
29th January 2014, 04:01 PM   |  #2  
OP Junior Member
Thanks Meter: 1
20 posts
Join Date:Joined: Mar 2012
I got a chance to test on a second DNA last night and it performed exactly the same as mine. Combined with everything I read about poor bluetooth audio quality on the DNA I'm really starting to think it's a hardware or firmware issue. Does anybody have any other ideas?
Post Reply Subscribe to Thread

development bluetooth performance
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes