I have a requirement to make Pandaboard as Bluetooth Headset. Is it possible to achieve this?
I followed below URL to flash the source code into sdcard. Before flashing I modified system/etc/bluetooth/audio.conf file. In the audio.config file I enabled HFP=true.
URL: https://releases.linaro.org/13.04/android/panda/
After doing this I tried to connect to bluetooth device via following Android-java
UUID MY_UUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
m_oBluetoothSocket = btDevice.createRfcommSocketToServiceRecord(MY_UUID);
m_oBluetoothSocket.connect();
I also tried connecting without UUID like below
Method m = btDevice.getClass().getMethod("createRfcommSocket", new Class[] {int.class});
m_oBluetoothSocket = (BluetoothSocket) m.invoke(btDevice, Integer.valueOf(1));
m_oBluetoothSocket.connect();
I was unable to connect to device I see invalid argument exception.
If I try to run the code on Android mobile I am able to connect and send AT command.
But in mobile I am not able to make it as handsfree, I have done a related post for it https://stackoverflow.com/questions/19246344/is-it-possible-to-make-my-old-phone-as-handsfree-and-establish-connection-betwee
Comming Back to Pandaboard is my approach correct? How to make Pandaboard Bluetooth has Headset??
Please share thoughts on this....