What phone is this? Is this its stock OS or some unofficial upgrade? It
appears that there might be something wrong at the USB layer, were bytes
are either being read multiple times or the IOIO loses connection. There's
also a small chance that this is power related. What power supply are you
using?
On Apr 11, 2015 4:44 AM, "charlieh" <[email protected]> wrote:

> See attachements.
>
> On Friday, April 10, 2015 at 12:09:58 AM UTC+2, Ytai wrote:
>>
>> Seems like some data is getting corrupt coming from the IOIO to the
>> Android. In IOIOProtocol there are commented out lines that log every byte
>> coming in and going out. Can you enable them and repeat?
>>
>> On Thu, Apr 9, 2015 at 12:17 PM, charlieh <[email protected]> wrote:
>>
>>> Hello Ytai, on another phone it works. For my phone I have two logs
>>> attached. One when the phone cannot connect to the IOIO and one when it
>>> succeeds. It seems that the AccessoryConnectionBootstrap is not called at
>>> all. Any idea? Thanks.
>>>
>>> On Saturday, April 4, 2015 at 8:33:07 PM UTC+2, Ytai wrote:
>>>>
>>>> That is strange. Haven't seen it happen on the device I used for
>>>> testing (moto X mostly). Do you have another phone to test with? Otherwise,
>>>> can you dig into what's actually happening, e.g. whether the app ever gets
>>>> notified by the Android OS that anything had happened?
>>>>
>>>> On Fri, Apr 3, 2015 at 12:23 AM, charlieh <[email protected]> wrote:
>>>>
>>>>> That did help a lot. I do not need to start the phone with USB
>>>>> debugging enable. But it is not 100%. I have to unplug and replug the IOIO
>>>>> several times before communication is established (each time the accessory
>>>>> dialog appears). Once connection is made, it will always connect, after
>>>>> switching the phone on or off or reconnecting the IOIO. But as soon as the
>>>>> IOIO is unpowered then I have do again several tries. It looks like that
>>>>> the IOIO firmware has difficulties in getting into OpenAccessory mode. 
>>>>> IOIO
>>>>> Hardware: SPRK0020, IOIO Bootloader: IOIO0400, IOIO Firmware:IOIO0500.
>>>>>
>>>>> On Thursday, April 2, 2015 at 10:48:13 AM UTC+2, Ytai wrote:
>>>>>>
>>>>>> I've recently made some changes to IOIOLib which have made
>>>>>> OpenAccesory more reliably. In fact, all the people who have reported
>>>>>> problems before and have tried it have reported that it seems to have
>>>>>> solved the issue.
>>>>>> I haven't gotten around to making a software release including this
>>>>>> fix. I'll try to do that soon. In the meantime, it would be great if you
>>>>>> can just grab the latest version from the master branch on GitHub and see
>>>>>> if things get better.
>>>>>>
>>>>>> On Wed, Apr 1, 2015 at 11:38 PM, charlieh <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Dear Ytai, thanks for the response.
>>>>>>> When my phone has USB debugging *disabled*, I connect the IOIO and
>>>>>>> switch it on then the accessory dialog appears, I select HelloIOIO,
>>>>>>> HelloIOIO appears but doesn't connect, yellow led cannot be switched 
>>>>>>> on/off.
>>>>>>> When my phobe has USB debugging *enabled*, I connect the IOIO and
>>>>>>> switch it on then the accessory dialog doesn't appear. I switch USB
>>>>>>> debugging off, accessory dialog appears, I select HelloIOIO, HelloIOIO
>>>>>>> appears and connects, yellow led can be switched on/off. As long as the
>>>>>>> IOIO is not switched off, disconnecting the cable and reconnecting the
>>>>>>> cable shows the accessory dialog again and HelloIOIO can connect to the
>>>>>>> IOIO. Hope this helps.
>>>>>>>
>>>>>>> On Wednesday, April 1, 2015 at 11:27:57 PM UTC+2, Ytai wrote:
>>>>>>>>
>>>>>>>> Doesn't work how? Are you getting the accessory dialog or not even
>>>>>>>> that?
>>>>>>>> On Apr 1, 2015 2:26 PM, "charlieh" <[email protected]> wrote:
>>>>>>>>
>>>>>>>>> I have the latest firmware, latest HelloIOIO application and
>>>>>>>>> Android 4.4.2. To get HelloIOIO starting communication I have to 
>>>>>>>>> connect
>>>>>>>>> the IOIO OTG with the USB cable, switch it on, enable USB debugging 
>>>>>>>>> and
>>>>>>>>> disable USB debugging while the OTG is kept connected and switched 
>>>>>>>>> on. Just
>>>>>>>>> connecting the IOIO OTG and switch it on while USB debugging is 
>>>>>>>>> switched
>>>>>>>>> off doesn't work. Any idea? Thanks.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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 http://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 http://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 http://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 http://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 http://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 http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to