Hi Nathan, I am working on a client app that talks to custom hardware using the BT SPP. The UUID I am using is the well known 00001101-0000-1000-8000-00805F9B34FB. The app sends commands (a few bytes) to the HW and that responds with anything up to a few hundred bytes of data. The custom HW uses a BT serial module (called an arf32). I can run it for extended periods without any problems.
I initially developed the app on the T-Mobile Pulse-Mini (2.1) and now I am using an HTC Desire (2.2). When I moved to the Desire, it was ignoring my HW during pairing because I had failed to set the BT device class in the serial module to a non-zero value (the 2.1 stack didn't care about the zero device class). The device class I am using is: 0x081FFC. It works extremely reliably with no lost characters as far as I can tell. The only problems I have had are when my app screws up and you have to kill it off while one of the threads is still reading/writing the BT socket. That tends to leave the BT unusable requiring a reboot. The app consists of a number of activities, each of which can talk to the HW so I put the BT stuff into a service which each of the activities use. I use synchronized to ensure that only one activity can talk to the BT at any one time. Cheers, Mark -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

