Closed jan-pintr closed 10 years ago
Ok, I went deeper in the code and found this behavior is caused by IOException from ServerSocket constructor(SocketIOIOConnection.java:66). Which was not properly catched for Permission denied exception.
Actual exception was: socket failed: EACCES (Permission denied)
So after adding INTERNET permission everything worked well.
But I am not still sure that this behavior is requested. I would expect BluetoothIOIOConnection class implementation is used for bluetooth connections. Am I right?
The app framework will constantly listen for connections over all known media. Those will depend on which libraries actually got linked into the app. SocketIOIOConnection is always available, since it is part of IOIOLib itself.
Hi,
I am trying to connect IOIO to phone by bluetooth. Led blinking works, but there is so much those LogCat messages:
This happens when I use IOIOLib Application Framework to handle connections (code also same as IOIOSimpleApp example).
I also tried to write own connection handling implementation and it works properly.
Is there anything I am doing wrong?
Android 4.3 BT dongle: Miniature Bluetooth Dongle V2.0
App version: IOIO0504
IOIO Hardware: SPRK0020 IOIO Bootloader: IOIO0400 IOIO Firmware: IOIO0500