Changelog¶
0.3.0 [2015-01-10]¶
New features
- Updated to latest gradle version
1.0.0 - Added
AdkMessageclass, which exposes the rawbyte[]array with some utility methods to get string, byte, int and float representations - Issue #13: refactoring
AdkManagerto expose a common interface forread()andwrite() - Issue #16:
AdkManagerconstructor now accept anActivitycontext 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]¶
writeSerialnow accept bothbyteandStringvaluesreadSerialis now deprecated and default toreadStringmethod- Added
readStringandreadByteso you can readStringandbytevalues from the serial port
Bugfixes
- Fixed documentation: #9
0.2.0 [2014-03-24]¶
FileInputStreamandFileOutputStreamareprotectedso 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
AdkReceiverhas 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