On Wed, Oct 6, 2010 at 1:33 PM, Mina Shokry
<minas...@gmail.com> wrote:
try changing the UUID of the service. I expect this problem may be because a service with the same UUID is already running on your system. try using a custom UUID.
Tried changing the UUID, but still the same problem:
String url = "btspp://localhost:" + new UUID("57e33d1fc1674f5aa94f5f0c58f49356", false).toString()
+ ";name=SampleServer";btspp://localhost:57e33d1fc1674f5aa94f5f0c58f49356;name=SampleServer
javax.bluetooth.ServiceRegistrationException: Can not open SDP session. [2] No such file or directory
at com.intel.bluetooth.BluetoothStackBlueZ.openSDPSessionImpl(Native Method)
at com.intel.bluetooth.BluetoothStackBlueZ.getSDPSession(BluetoothStackBlueZ.java:518)
at com.intel.bluetooth.BluetoothStackBlueZ.registerSDPRecord(BluetoothStackBlueZ.java:543)
at com.intel.bluetooth.BluetoothStackBlueZ.rfServerOpen(BluetoothStackBlueZ.java:607)
at com.intel.bluetooth.BluetoothRFCommConnectionNotifier.<init>(BluetoothRFCommConnectionNotifier.java:42)
at com.intel.bluetooth.MicroeditionConnector.openImpl(MicroeditionConnector.java:377)
at com.intel.bluetooth.MicroeditionConnector.open(MicroeditionConnector.java:162)
at javax.microedition.io.Connector.open(Connector.java:83)
at com.buglabs.bug.jni.bluetooth.tests.Activator$1.run(Activator.java:101)
Are there jni-level debug messages I could enable to shed more light?