On Sun, Nov 23, 2014 at 10:08 PM, Shindong <[email protected]> wrote:
> Thanks Ytai. > > IOIO OTG works fine with usb device mode. > > I have used IOIO v1 board. > > Q1 : > IOIO OTG board use virtual serial port over usb on usb device mode ? > Yes > > Q2 : > IOIO OTG virtual serial port is stable as IOIO v1 adb mode ? > Not really sure. Where I would do most checking is in repetitive connecting / disconnection and making sure the connection always gets re-established. Also, you might have a problem using this with a Service (as opposed to an Activity). > > Q3 : > apk for IOIO v1 must be recompile using IOIO OTG LIB to run apk with IOIO > OTG board as usb device mode ? > The apk must be compiled with the IOIOLibAndroidDevice library and some manifest / project properties declarations (see HelloIOIO as example). This apk would work with both modes. HelloIOIO is an example of how you can link in ALL possible connection modes, so the resulting APK would work with however you connect the IOIO. > > > > > 2014년 11월 24일 월요일 오전 1시 58분 33초 UTC+9, Ytai 님의 말: >> >> It is not a bug. Upgrade the firmware on your board to v5.x and >> everything will work. >> On Nov 23, 2014 1:25 AM, "Shindong" <[email protected]> wrote: >> >>> Thanks Ytai >>> >>> The result of test >>> >>> 1. LED turned on ok >>> 2. 0504 HelloIOIO.apk installed ok >>> 3. error screen as below >>> >>> Incompatible firmware version >>> IOIOLib: IOIO0504 >>> Application firmware : IOIO0330 >>> Bootloader firmware : IOIO0400 >>> Hardware : SPRK0020 >>> >>> How to fix the bug ? >>> >>> 2014년 11월 23일 일요일 오전 2시 45분 52초 UTC+9, Ytai 님의 말: >>>> >>>> Steps to get this working: >>>> >>>> 1. Verify that the IOIO gets power (red LED) when connected to the >>>> Android. >>>> 2. Install the pre-build HelloIOIO.apk from the IOIO software >>>> bundle. >>>> 3. Verify that it works correctly. >>>> 4. Write your own app. Make sure to link in the >>>> *IOIOLibAndroidDevice* library and copy the relevant manifest / >>>> project properties from the HelloIOIO example project. >>>> >>>> There should be *no* change in the way you write your code to use the >>>> IOIO in device mode. This is completely under the hood. >>>> >>>> On Sat, Nov 22, 2014 at 3:55 AM, Shindong <[email protected]> wrote: >>>> >>>>> The smart phone is Galaxy Nexus. >>>>> Galaxy Nexus supports OTG host mode, and test it with usb ethernet >>>>> adapter. the phone works fine. >>>>> >>>>> >>>>> 2014년 11월 22일 토요일 오후 8시 52분 36초 UTC+9, Shindong 님의 말: >>>>> >>>>>> I have used IOIO v1 >>>>>> IOIO v1 works fine. >>>>>> And, IOIO OTG board as usb host mode works fine too. >>>>>> >>>>>> >>>>>> And, >>>>>> I am trying to use IOIO OTG board as usb device with usb host Android >>>>>> phone. >>>>>> >>>>>> Connection cable topology is below : >>>>>> Android smart phone usb host --- OTG cable --- micro usb cable --- >>>>>> IOIO OTG board usb device >>>>>> >>>>>> Q 1) >>>>>> At this situation, usb host smart phone app is using Virtual Serial >>>>>> Port over usb ? >>>>>> >>>>>> Q 2) >>>>>> I have to code with serial port coding, not IOIOLooper ? >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>> 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.
