Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid Bluetooth java.io.IOException: Connection refused?
    primarykey
    data
    text
    <p>I need to connect a <a href="http://www.socketmobile.com/products/embedded-wireless-communications/kwikblue4-module/" rel="nofollow">KwikBlue-2 Module Development Kit</a> to the Android <a href="http://developer.android.com/resources/samples/BluetoothChat/index.html" rel="nofollow">BluetoothChat example</a> on a Nexus One using SPP. I was able to connect and exchange serial data (once) using tera term after changing the UUID in the <a href="http://developer.android.com/resources/samples/BluetoothChat/index.html" rel="nofollow">BluetoothChat example</a> example to 00001101-0000-1000-8000-00805F9B34FB for SPP devices. Then I power cycled the <a href="http://www.socketmobile.com/products/embedded-wireless-communications/kwikblue4-module/" rel="nofollow">KwikBlue-2 Module Development Kit</a> to verify that the connection was repeatable but continually get <code>java.io.IOException: Connection refused</code> when I try to connect. Any ideas?</p> <pre><code>43.200: ERROR/BluetoothEventLoop.cpp(96): event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/219/hci0 52.200: ERROR/BluetoothChat(707): - ON PAUSE - 54.470: ERROR/BluetoothService.cpp(96): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session) 54.520: ERROR/BluetoothChat(707): + ON RESUME + 54.530: ERROR/BluetoothService.cpp(96): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session) 54.620: ERROR/BluetoothService.cpp(96): stopDiscoveryNative: D-Bus error in StopDiscovery: org.bluez.Error.Failed (Invalid discovery session) 55.520: ERROR/BluetoothEventLoop.cpp(96): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/219/hci0/dev_00_60_57_FD_42_18 56.010: ERROR/BluetoothChatService(707): unable to connect 56.010: ERROR/BluetoothChatService(707): java.io.IOException: Connection refused 56.010: ERROR/BluetoothChatService(707): at android.bluetooth.BluetoothSocket.connectNative(Native Method) 56.010: ERROR/BluetoothChatService(707): at android.bluetooth.BluetoothSocket.connect(BluetoothSocket.java:204) 56.010: ERROR/BluetoothChatService(707): at com.cti.BluetoothChat.BluetoothChatService$ConnectThread.run(BluetoothChatService.java:329) 00.110: ERROR/BluetoothEventLoop.cpp(96): event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/219/hci0/dev_00_60_57_FD_42_18 </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload