Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
ADK failing when reconnecting to a phone #245
I'm having issues with the ADK connecting to a Android phone after been disconnected by the USB cord once. The first time the phone is connected everything works fine, then if it is disconnected then reconnected, the phone does not see the arduino and it is unable to connect.
If the reset button is pressed quickly then "data is received" with the value of 0x0D and 0x04 (04 is very rare) even when no data is being sent by the phone. A long press of the reset button or a power cycle is needed to get the communication working again. This happens with all the example code.
In debug mode I sometimes get this
I also receive the bellow but only if the cable has been disconnected and reconnected
Thanks in advance.
Did you ever get this working 100 % of the time?
I believe a VBUS power switch should solve the issue: https://www.circuitsathome.com/mcu/vbus-power-control-on-usb-host-shield/.
I'm closing this issue. Feel free to re-open.
No I didn't get it working. The vbus wasn't the issue. On 13 Oct 2017 00:05, "Kristian Sloth Lauszus" <firstname.lastname@example.org> wrote: Did you ever get this working 100 % of the time? I believe a VBUS power switch should solve the issue: https://www.circuitsathome.com/mcu/vbus-power-control-on-usb-host-shield/. I'm closing this issue. Feel free to re-open. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#245 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADupaV79oCWJ2ZYbQ3OchG-jHLijIaqqks5srjjSgaJpZM4I2fVb> .