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.


On Sat, Apr 23, 2016 at 8:43 PM, Jonathan W <[email protected]> wrote:

> Thanks for the reply.  I ordered a different dongle (one from the list you
> referred to) and also a new adapter cable for it.  I'll post back with
> results in a few weeks (waiting now for overseas shipping).
>
> On Sun, Mar 20, 2016 at 3:35 PM, Ytai Ben-Tsvi <[email protected]> wrote:
>
>> You seem to be doing everything OK. The mode switch to "H" thing is not
>> typically needed ("A" is for "auto-detect" and should work).
>> If your power supply is adequate, the only problem I can think of is the
>> dongle itself. Try a different one. There's a list of known working ones on
>> the wiki and some of which are very cheap.
>>
>> On Sat, Mar 19, 2016 at 2:49 PM, Jonathan W <[email protected]>
>> wrote:
>>
>>> I have a IOIO-OTG with the following versions reported by the IOIODUDE
>>> application:
>>>
>>> Hardware version: SPRK0020
>>> Bootloader version: IOIO0400
>>> Application version: IOIO0506
>>>
>>> The problem is getting the Bluetooth to work.  USB connection to my PC
>>> (Windows 8.1) is working now, though not at first.  At first Windows kept
>>> saying it was not a recognized device and would not let me select the
>>> driver for it.  Once I started the IOIO in bootloader mode then Windows
>>> finally enumerated the USB connection.  I took the opportunity then to
>>> update to the 506 application firmware (prior to that IOIODUDE reported
>>> "Platform version: IOIO0030" instead of an Application Version).  Now USB
>>> connection works fine even in normal boot mode.  Perhaps this bit about
>>> starting in bootloader mode will help others too.
>>>
>>> So now for the Bluetooth...  My PC recognizes and pairs with a Bluetooth
>>> mouse as well as my dumb phone without any trouble.  So I know that the
>>> PC's own Bluetooth is working.  I am using the USB cable and Bluetooth
>>> adaptor that came with the IOIO.  I have a 6V power supply and I have the
>>> charge limiting potentiometer turned fully clockwise and I have the mode
>>> switch set to "H".  I have tried powering up the IOIO with the Bluetooth
>>> adaptor already plugged in and also tried powering up the IOIO first and
>>> then plugging in the Bluetooth adaptor to the USB cable.  Still when I go
>>> to Windows 8.1's "Bluetooth Settings" app and watch it trying to discover
>>> devices it does not show the IOIO.  What I am missing?
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "ioio-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/ioio-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "ioio-users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/ioio-users/BgTK5laSLts/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/ioio-users.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to