B4A Library IOIO board library

kolbe

Active Member
Licensed User
Longtime 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.
 

Cableguy

Expert
Licensed User
Longtime 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
 

Jiemde

Member
Licensed User
Longtime User


How did you modify the IOIO bluetooth name ?
 

Reyes5

Member
Licensed User
Longtime 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.

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 !
 

JTKEK

Member
Licensed User
Longtime User
How did you modify the IOIO bluetooth name ?

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
 

Cableguy

Expert
Licensed User
Longtime 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:

Roycefer

Well-Known Member
Licensed User
Longtime User
As far as I know, not yet. kolbe had said something about porting the IOIO library to B4J but it hasn't materialized.
 

rosippc64a

Active Member
Licensed User
Longtime 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:

Reyes5

Member
Licensed User
Longtime 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.
 

Cableguy

Expert
Licensed User
Longtime User
If i'm not mistaken, open accessory is hardware dependant and only available on devices capable of OTG.
 
Last edited:

Cableguy

Expert
Licensed User
Longtime User
Well, if you're not afraid of bricking it, try a custom rom to see it it solves the issue.
 

Reyes5

Member
Licensed User
Longtime User
Yep, I know, but bad luck, our customer does not want rooted devices (security issue) ... thanks anyhow
 

Reyes5

Member
Licensed User
Longtime 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.
 

Reyes5

Member
Licensed User
Longtime 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

Expert
Licensed User
Longtime User
I need to upgrade my forward!!!
Does it bring any other changes?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…