Firmware v1.3.2 Feature Support and API Refactoring
Pre-release
Pre-release
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
datatypepackage todata - Moved common data wrapper classes into the
datapackage - Separated acceleratiion, angular velocity, and magnetic field data into their own classes
- Renamed
SourceandSourceTypeto Sensor and SensorType respectively