Simplest way to debug an android bluetooth application
Posted
by intiha
on Stack Overflow
See other posts from Stack Overflow
or by intiha
Published on 2010-03-30T03:02:22Z
Indexed on
2010/03/30
3:13 UTC
Read the original article
Hit count: 329
android
I am trying to test and build a sample android application that can simply connect to a BT server to send and receive a few packets. Since the emulator has no support what is the next best thing to test BT communication? Can I just run a code that acts as a server on my laptop and dumps BT connection onto a console? Do I have to write this code, or is their a simple tool that saves me that hassle?
One more thing, I have windows 7, and currently I attach to my PC an anycom USB BT adapter. This is able to show up my nexus one as a BT device. I can pair to my laptop but connection always fails. When it tries to pair I have tried both 0000 and 1234 as suggested on my nexus, but in my connection list it still lists my laptop as paired but not connected. Any idea why? I searched for this problem and apparently people talk about rebooting and power cycling BT, but these solutions dont work for me.
Thanks.
Affan.
© Stack Overflow or respective owner