Re: Updated documentation?

2017-05-17 Thread Ytai Ben-Tsvi
IOIOLibCore translates the main IOIO API (ioio.lib.api.*) into a
bidirectional serial protocol that the IOIO understands.
IOIOLibAndroid adds an implementation of the serial channel over TCP/ADB as
well as ties the IOIO application model (IOIOLooper, etc) into the Android
application framework. Then, other IOIOLibAndroidXXX merely add more
connectivity options.
Similarly, IOIOLibPc adds support for serial ports as the serial channel to
the IOIO as well as bindings to the Java console or Swing application
framework.
Hope this makes things clearer for you.

On Tue, May 16, 2017 at 7:11 PM, Ben Kokes  wrote:

> Thanks for responding!
>
> QT is a bit of a funny beast, where it requires JNI to interface to
> java-land.  To that end, I need to uncompress the java library and
> strategically place them within the project.  (see this link for more
> explicit description: http://doc.qt.io/qt-5/android3rdpartylibs.html).
> Since the IOIO driver is somewhat split up, I was confused as to which was
> the base libraries and which was the extra/add-on libraries.
>
> Clearly the IOIOLibCore-5.07.jar has all the requisite class files to make
> the board talk and work.  I am mostly interested in the UART aspect, but I
> want to get the base operation working first.To that end, I am focusing on
> IOIOLibCore-5.07.jar and IOIOLibAndroid-debug.aar and just getting things
> compiling and linking.
>
> What I am trying to understand is: What is in IOIOLibAndroid-debug.aar
> that helps out the whole operation of the library?  Is the AAR file merely
> there to interface the JAR file into the android studio framework?
>
> Thanks for any insight you may have.
> Cheers!
>
>
>
> On Tuesday, May 16, 2017 at 1:27:11 PM UTC-7, Ytai wrote:
>>
>> The documentation should be fairly up to date.
>> IOIOLibCore is shared between Android and PC, you typically don't use it
>> directly.
>> IOIOLibAndroid is what you would typically use for an Android app (which
>> includes only an ADB-based connection between the Android and IOIO),
>> and IOIOLibAndroid{Device, Accessory, Bluetooth} respectively add other
>> connectivity modes (device = IOIO acts as a USB device, accessory = IOIO
>> acts as a USB host).
>>
>> On Mon, May 15, 2017 at 10:07 PM, Ben Kokes  wrote:
>>
>>> Hello all,
>>>
>>> Is there some place that has some updated documentation for release
>>> 5.07?  The Wiki has some ( what seems) dated info, and I am trying to sort
>>> out which of the libs I should be using for my project.  I am trying to
>>> integrate this into QT, but am having java integration issues.  I would
>>> appreciate if someone could tell me if IOIOLibCore-5.07.jar is the base
>>> library, or if IOIOLibAndroid-release.aar is the base library as the docs
>>> suggest,
>>>
>>> Also, whats the difference between IOIOLibAndroid-release.aar
>>> and IOIOLibAndroidDevice-release.aar ?
>>>
>>> Thank you,
>>> -Ben
>>>
>>> --
>>> 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 ioio-users+...@googlegroups.com.
>>> To post to this group, send email to ioio-...@googlegroups.com.
>>> Visit this group at https://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 ioio-users+unsubscr...@googlegroups.com.
> To post to this group, send email to ioio-users@googlegroups.com.
> Visit this group at https://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 ioio-users+unsubscr...@googlegroups.com.
To post to this group, send email to ioio-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.


Re: Controlling LoRa radio with IOIO

2017-05-17 Thread Ytai Ben-Tsvi
I don't know specifically about this radio, but indeed SPI is possible.
Usually, unless the device has some weird timing requirements, there should
be no problem. You should be able to translate the Arduino-based library to
Java.
Alternatively, you can leave the Arduino in the loop and use the Android as
display only. In this case, what I would do is have the Arduino present the
data that needs to be displayed over UART or I2C and consume it via a IOIO.
Another option is not to use the IOIO and use one of the Arduino boards
that can talk to Android over USB or add a Bluetooth shield to the Arduino.

On Tue, May 16, 2017 at 2:47 PM, Jerry Howard  wrote:

> We are currently using a small Arduino type board to manage an attached
> LoRa radio similar to the SparkFun RFM69 at 915MHz.  There is a fine
> arduino c++ library (RadioHead) that we use.   We also use sensors attached
> to the arduino board and send sensor data over the LoRa radio to a central
> hub.
>
> We are wanting to use an Android tablet as a display for our
> transmitting/sensing device and would like to use the IOIO or something
> similar that can talk to the Android via usb.   Has anyone used the IOIO to
> control such a radio?   I know SPI can be used to communicate with the
> radio board, but are there any examples or libraries that can give us a
> start?
>
> Or does anyone have other suggestions for using an Android as a display
> for some type of board with sensors and a radio?
>
> Thanks,
> Jerry
>
>
> --
> 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 ioio-users+unsubscr...@googlegroups.com.
> To post to this group, send email to ioio-users@googlegroups.com.
> Visit this group at https://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 ioio-users+unsubscr...@googlegroups.com.
To post to this group, send email to ioio-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.