Changelog¶
0.3.0 [2015-01-10]¶
New features
- Updated to latest gradle version
1.0.0
- Added
AdkMessage
class, which exposes the rawbyte[]
array with some utility methods to get string, byte, int and float representations - Issue #13: refactoring
AdkManager
to expose a common interface forread()
andwrite()
- Issue #16:
AdkManager
constructor now accept anActivity
context to initialize the accessory
Backwards incompatible changes from 0.2.x
- removed
writeSerial(String text)
- removed
writeSerial(int value)
- removed
readSerial()
- removed
readString()
- removed
readByte()
0.2.1 [2014-10-14]¶
writeSerial
now accept bothbyte
andString
valuesreadSerial
is now deprecated and default toreadString
method- Added
readString
andreadByte
so you can readString
andbyte
values from the serial port
Bugfixes
- Fixed documentation: #9
0.2.0 [2014-03-24]¶
FileInputStream
andFileOutputStream
areprotected
so they can be mocked easily during testing- Testing with Mockito
Bugfixes
- Better input/output stream management to avoid NullPointerException on Accessory loading
Backwards incompatible changes in 0.2.0
- Some class/method names are misleading so readText/sendText become readSerial/writeSerial and closeAdk/resumeAdk become close/open
AdkReceiver
has been removed because the actual implementation of read/write can handle multiple char
0.1.0 [2014-02-05]¶
- ADK fast constructor
- Simple default implementation of Broadcast receiver and IntentFilter
- Writing and reading features available
- Simple AsyncTask support