Update: The Bluetooth connection is working now with a replacement USB-OTG cable. With the original cable the LED in the Bluetooth dongle would turn on steady. With the replacement the LED on the dongle blinks every few seconds and communication works. However it seems like Windows 8.1 is being ornery about reconnecting after the IOIO is unpowered and later powered on again.
Here's my working configuration as a reference for others:
- Windows 8.1 laptop (HP, built-in Bluetooth)
- IOIO-OTG:
-- Hardware: SPRK0020
-- Bootloader: IOIO0400
-- Firmware ID: IOIO0506
- Bluetooth dongle: the one that came with the IOIO. Looks similar to the CSR V4.0 listed on the page of supported dongles, except this one has no external labeling.
- USB-OTG cable: Newegg p/n 12-400-315 (StarTech cable)
- Tested with <java -Dioio.SerialPorts=COM7 -jar HelloIOIOConsole-5.07-standalone.jar>
- Also tested with my own JafaFX application compiled with JDK 1.8.0_60-ea, IOIO application version 0507, purejavacomm 1.0.0, and JNA 4.2.1
The remaining trouble seems to be that Windows does not reconnect gracefully once the IOIO has been unavailable and then available again (same Windows session). I have to go to the Bluetooth Settings "Manage Bluetooth Devices" screen, manually remove the previous connection, wait for Windows to rediscover the IOIO, and then pair again. After this the COM port number sometimes changes so then I have to go to "Change Bluetooth Settings", to the COM Ports tab, and then find the Outgoing port for the IOIO. For some reason this takes Windows a few minutes to perform. I've tried not specifying any port number but HelloIOIOConsole never seems to connect without the port having been specified.