With the basic BT libraries available with Android OS, is creating a custom protocol to interface with a proprietary BT device supported? I've worked a bit with the TCP/IP stack, and it was fairly straightforward, but before I try to support BT I'd like to know how difficult that would be. I could see BT protocols being locked down to a few well known ones.
I did a bit of Googling on this and either my search text kung fu is not up to par, or documentation for doing this is quite sparse.
So, in summation, does Android OS (2.3+) support building your own protocols, and if so, where can I find documentation on it?
Yes, if you'd like to build on a rfcomm stack, insecure connections are available at API level 10. Bluetooth Dev Article. For other protocols like l2cap or ACL there is no API for that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With