B4A Library IOIO board library

Discussion in 'Additional libraries, classes and official updates' started by agraham, Apr 30, 2011.

  1. kolbe

    kolbe Active Member Licensed User

    Main is the main activity. The code I gave you is running in a service.
     
  2. kolbe

    kolbe Active Member Licensed User

    I would go this route or this.

    I know the multi ioio BT works. I've never tried through usb. You're device would have to be the host and also support usb hubs.
     
  3. Cableguy

    Cableguy Expert Licensed User

    If all the inputs and Outputs are digital, why not go "single IO-IO board; Multiplexed Inputs and Outputs"?
    I am almost sure that the latency wouldn't be that different, plus cost effective and even scalable
     
  4. Reyes5

    Reyes5 Member Licensed User

    Thanks kolbe, thanks Cableguy, I'll dive into mux ...
     
  5. Jiemde

    Jiemde Member Licensed User


    How did you modify the IOIO bluetooth name ?
     
  6. Reyes5

    Reyes5 Member Licensed User

    Where can I find the latest library for USB (open accessories) connection and the latest workbench example ?
    I find many of them, but I think we are already at lib V4 ?
    Please let me know ?
    Thanks !
     
  7. JTKEK

    JTKEK Member Licensed User

    i modify from ioio firmware in ytai website
    if you modify ioio bluetooth name, your not able to use this library unless you edit the library so that it will find the name that you edit
     
  8. JTKEK

    JTKEK Member Licensed User

  9. Cableguy

    Cableguy Expert Licensed User

    Hi guys,

    Am I right in assuming that a b4j app can communicate and control an ioio board through Bluetooth!?

    If so, what are the steps/libs needed to make it work?
     
    Last edited: Oct 17, 2015
  10. Roycefer

    Roycefer Well-Known Member Licensed User

    As far as I know, not yet. kolbe had said something about porting the IOIO library to B4J but it hasn't materialized.
     
  11. Cableguy

    Cableguy Expert Licensed User

    Maybe due to the lack of "group pressure"...
     
  12. rosippc64a

    rosippc64a Active Member Licensed User

    Hi Guys!
    I use a ioio hardware with ioio 1.4 lib. ioiolib 3.20
    Hardware SPRK0020
    Bootloader ioio0401
    Firmware ioio0500
    All works ok.
    When I want to move to ioio 2.05 lib (same hw), and I want to connect yoyo.connect(...), it cant' connect, with any connection mode.
    Nothing special, just the simpleioio program.
    Do I need the newer ioiolib 4.00, what mentioned in library manual? Where can I get this?
    Is there any special thing to use ioio 2.05 lib?
    Thanks in advance
    Steve

    the 1.9 ioio lib works.
     
    Last edited: Oct 21, 2015
  13. Reyes5

    Reyes5 Member Licensed User

    Hi Kolbe, Hi all, does somebody know the trick to get it working on 'older' devices ?
    I have the latest workbench app installed on both a Nexus 5 (2013) running Android 6 AND on a tablet "CONNECT 7 Pro" running Android 4.4.2.
    I want to use "open accessories" mode. Developper options and USB debug are OFF in both devices.
    When I connect a powered IOIO to the devices, both ask me what app to run, so both recognise there is an open accessories attached.
    I choose for the Workbench.
    In Workbench, I choose ACCESSORY mode and press the (Dis)connect button.
    The NEXUS does it perfect and shows me versions etc.
    The 4.4.2 tablet does several attempts but always returns "connection lost"
    My question : is there anything else to be installed or changed on the 4.4.2 tablet (or in the workbench app) to get it working ?
    (PS, in ADB it can work, but I need accessory mode to charge the tablet ...)
    It would great if somebody knew a sollution !
    Thanks, Reyes.
     
  14. Cableguy

    Cableguy Expert Licensed User

    If i'm not mistaken, open accessory is hardware dependant and only available on devices capable of OTG.
     
    Last edited: Oct 22, 2015
  15. Reyes5

    Reyes5 Member Licensed User

  16. Cableguy

    Cableguy Expert Licensed User

    Well, if you're not afraid of bricking it, try a custom rom to see it it solves the issue.
     
  17. Reyes5

    Reyes5 Member Licensed User

    Yep, I know, but bad luck, our customer does not want rooted devices (security issue) ... thanks anyhow
     
  18. Reyes5

    Reyes5 Member Licensed User

    Very strange, it works now! but not always ... when I first connect the ioio to my nexus, disconnect from the nexus and connect to the tablet again, sometimes it connects and i can use the workbench (led on/off) . I have the feeling it is a timing issue, I think I wll rework the timing in the workbench, allowing more time for init and handshake.
    Keep you posted.
     
  19. Reyes5

    Reyes5 Member Licensed User

    After upgrading the IOIO board to firmware 506 it seems to connect to all my android devices (4.0 , 4.4.2 , 5.1 and 6 ) without troubles ...
    506 is a CANDIDATE release ... hope not to find other surprises now.
     
    Cableguy likes this.
  20. Cableguy

    Cableguy Expert Licensed User

    I need to upgrade my forward!!!
    Does it bring any other changes?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice