Hi,
I am trying to establish a Bluetooth connection from an Android Smartphone (client) to F5438 + PAN1323 development board (Serv.er). I am using the sample application provided by the EtherMind SDK "simple". As I have been analyzing and lightly modifying the code and I have come across a couple of questions.
1.) As I am aware the appl_spp_start() function sets up the SPP profile and the RFCOMM service 0x0003. Is this enough to establish a connection and open an RFCOMM from an Android Smartphone?
2.) I am having a very hard time debugging this code because I do not know where sdk_display() is sending data to, and how to look at it.
3.) In android, I can find the device and pair with it, but once I try to open an RFCOMM socket, the program crashes
tmp = mmDevice.createRfcommSocketToServiceRecord( UUID.fromString("00001101-0000-1000-8000-00805F9B34FB" ) );
I don't understand what the RFCOMM UUID is supposed to be. Any help will be greatly appreciated.
Thanks in advance,
-Adrian