Releases: mbientlab/MetaWear-SDK-Android
Firmware v1.3.3 Flat Detection Support
API v2.8.8 is maintanence release, supporting minor changes made to firmware v1.3.3 regarding flat detection.
Null Pointer Exception Fix for v2.8
Release v2.8.6 fixes a null pointer exception with the v2.8 release (issue #9).
Bug Fixes for the v2.8 Release
API v2.8.5 is a maintanence release that addresses a few bugs with the v2.8 release and api features for the BMI160, BMA255, and BMM150 sensors.
Fixes
- Fixed non-silent reads being ignored by the API
- Fixed no-motion duration configuration for bma255
- Fixed slow-motion count configuration for bmi160
- Fixed low-high low hysterersis and high duration configuration for bma255
- Properly scale threshold value for magnetic field threshold detection
- Corrected toString implementation for the LowHighResponse interface
- Added
sign
value to the string representation of the MotionResponse interface
Firmware v1.3.2 Feature Support and API Refactoring
Beta03 of the 3.0.0 API adds support for upcoming firmware v1.3.2 features and refactors the API and some of the implementation of it. This release has breaking changes to both the interfaces and the underlying serialization. You will need to update your code and reserialize any saved MetaWearBoard objects.
Changes
- Updated time filter configuration to reduce the frequency of sensor fusion data
- Requires firmware v1.3.2
- Added support for power and charge status notifications
- Requires firmware v1.3.2
- Created common DataProducer interface that the async and forced variants derive from
- Refactored the SerialPassthrough interface
- Changed SpiParameterBuilder to set the data parameter
- Data parameter removed from the Spi.read function
- Have I2c and Spi interfaces extend from DataProducer
- Added direct spi and i2c reads
- Encapsulates data in a Task object rather than sending the data to a Subscriber
- Changed SpiParameterBuilder to set the data parameter
- Modified ambient light, color detector, humidity, and proximity interfaces to no longer extends from a data producer interface
- Instead, they have methods that return data producer objects: illuminance, adc, value, and adc respectively
- Both color detector and proximity have an adc method
- Instead, they have methods that return data producer objects: illuminance, adc, value, and adc respectively
- Renamed SensorFusion interface to SensorFusionBosch
- Renamed the editor interfaces under the DataProcessor interface
- Appended "Editor" to the names and removed extraneous text like "Finder" and "Limiter"
- Renamed
datatype
package todata
- Moved common data wrapper classes into the
data
package - Separated acceleratiion, angular velocity, and magnetic field data into their own classes
- Renamed
Source
andSourceType
to Sensor and SensorType respectively
MetaMotion Feature Support
API v2.8.0 adds support for features in the next firmware release (v1.3.2) and re-implements a null pointer exception fix.
Changes
- Added support for power and charge status notifications
- Only available for supported boards, such as MetaMotion R
- Requires firmware v1.3.2
- See documentation for more details
- Updated time filter configuration to handle sensor fusion data
- Requires firmware v1.3.2
- Re-implemented the null pointer check added in the previous release
Macro Support for API v3.0.0
Release v3.0.0-beta02 adds macro support to the API and also introduces breaking changes to the Led interface. See the macro section of the wiki for examples with the new macro interface.
Changes
- Added Macro interface to the API
- Removed the "set" prefix from the Led.PatternEditor functions
NullPointerException Fix for v2.7
API v2.7.2 fixes a null pointer exception that occurs when unhandled packed data (for high frequency streams) is received by the API.
New API With Lambda and Bolts Support
This is not a new release. The tag was pointing to the v2.7.0 API and has been updated to point to the correct commit
Version 3.0.0 completely redesigns the API to take advantage of Java 8 features offered by the Jack compiler and of the Bolts Framework. The new API is still in beta and thus could have several breaking changes until the full release and does not have much documentation yet outside of example code.
Please see the wiki for differences between the v2.0 branch and checkout some of the sample projects for full working code.
Sensor Fusion Support
Android API 2.7.0 adds sensor fusion support for MetaMotion boards running firmware v1.3.0. A few changes were also made to the Bmm150Magnetometer interface to accomodate the sensor fusion support.
Changes
- Added SensorFusion interface
- See documentation for code examples
- Added BfieldSamplingConfigEditor enabling manual configuration of the sensor
- Configure with configureBFieldSampling
- Only for advanced users, recommded that one of the preset modes are used
- Fixed issues with reading battery state, ad config, and connection parameters for boards running firmware v1.2.3 and later
API Bug Fixes
API v2.6.5 is a small release addressing a few bugs and updated the build.gradle files
Changes
- Fixed bug using multiple loggers in a route
- Fixed log removal when using the RouteManager.remove() function
- Updated Gradle files to target Android N (API 24) and to match Android Studio 2.2.1 suggestions