Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modify Bluetooth Chat Sample Code to connect with non-Android Devices

I am making an App based on the Sample Bluetooth Chat given on the Official Android Developer website. My App works fine whilst chatting with another Android Phone. However, it does not work when I connect it to a non-Android Device (namely some electronic circuit that my team has made). Internet Research has shown that the Sample Code is only meant to communicate between two Android Devices. So, how do I change the Sample Code to make it work with other non-Android Devices as well.

like image 756
Zainykhas Avatar asked Jun 17 '12 18:06

Zainykhas


1 Answers

I figured out the Answer through analysing the source-code of the BlueTerm App. Effectively, I only needed to change the UUID that I was setting in the App from fa87c0d0-afac-11de-8a39-0800200c9a66 to 00001101-0000-1000-8000-00805F9B34FB"

I'm not an expert on this area so I can't say WHY that is the case, but it does help solve my problem. The BlueTerm SourceCode is available on Official Download Website of Pymasde

like image 72
Zainykhas Avatar answered Nov 10 '22 15:11

Zainykhas