Support for Firmware v1.2.3 Features
Release v2.6.0 adds support for the new features in firmware v1.2.3, deprecates the updateFirmware functions, and updates the API with some additional utility functions and support for a few sensor features. The new API features that require firmware v1.2.3 are:
- Multi-value comparisons
- High frequency acc/gyro/mag streams
- New analog read function
- SPI interface
Changes
- Updated Comparison class to support multi-value comparisons
- Added support for packed accelerometer, gyro, and magnetometer data
- Used to stream data >100Hz
- Cannot use with data processing nor logging
- Added SPI interface
- Added initiateAnalogInRead function
- Added setDelay function to the ColorChannelEditor interface
- Added BMM150 threshold detection
- Added lookupModule function
- It is a variant of the getModule function that does not throw exceptions
- Added [tearDown](https://github.com/mbientlab/Metawear-AndroidAPI/blob/2.6.0/library/src/main/java/com
/mbientlab/metawear/MetaWearBoard.java#L298) function which removes all routes and timers - Added support for the illuminator LED on the color detector
- Added silentExecute variant to the Macro interface
- Deprecated firmware update functions
- Replaced with downloadLatestFirmware which will download the latest firmware release to your mobile device
- Use the Nordic DFU library to update firmware
- Fixed spelling for the setPowerPreset function
- Fixed bug with using the macro to schedule tasks