-
Notifications
You must be signed in to change notification settings - Fork 356
Release Notes
ytai edited this page Feb 27, 2012
·
25 revisions
- Added buffered reading to
AnalogInput
. Allows reading acquired samples one by one. More details on the Analog Input page. - Added batch operations to the
IOIO
interface. This allows the client to group several write operations together, thus reducing latency and jitter. Read more on the IOIOLib Basics page, in the section called "Batching Operations". -
ioio.lib.util.AbstractIOIOActivity
is now deprecated. Clients should move toioio.lib.util.android.IOIOActivity
. The latter is similar, but not identical. Notably,IOIOThread
has been replaced byIOIOLooper
, which is an interface. Likewise,createIOIOThread()
is nowcreateIOIOLooper()
. The implementation of this interface is encouraged to useioio.lib.util.BaseIOIOLooper
as a base class. Converting from the old style to the new style should be trivial. See the example projects as reference. - Added
ioio.lib.util.android.IOIOService
, which serves as a base class for creating Android services using IOIO. - Added
ioio.lib.util.IOIOApplicationHelper
, which can be used by clients that need a different model than the Activity or Service above. - Read more about the new utilities API on the IOIOLib Basics page, in the section called "Using the Application-Level Utilities".
- Added
IOIO.getState()
for querying the connection state.
- Added Open-Accessory support. Open Accessory will provide improved latency, throughput and jitter and will work when USB debugging is off. It will also cause Android to open a launch dialog upon connection of the IOIO. Some changes are required in the application manifest (see Wiki page), and you also need to add IOIOLibAccessory to your application dependencies. If ADB is enabled on the Android, ADB will take precedence over Open Accessory. Disable ADB to have IOIO working over Open Accessory.
- Fixed issue #2: broken backward compatibility between firmware V3 and software V1.
- Improved IOIOLib Javadocs.
- Fixed issue #15: the
loop()
method will no longer be called after a disconnection, even if the client hasn't thrown an exception. -
DigitalOutput.write()
will now silently ignore the operation if writing the same value as the last written value. This is merely an optimization, but may result in performance boost for applications doing high-rate digital output. - In
IOIOActivity
(andAbstractIOIOActivity
) IOIO connection is opened / closed inonStart()
/onStop()
and not itonResume()
/onPause()
as it used to. - Fixed several bugs in
Uart
. Most notably, it now works OK withBufferedReader
, and itsInputStream.read()
will exit cleanly with a -1 return value when callingUart.close()
.