Releases: mbientlab/MetaWear-SDK-Cpp
Maintenance Release
v0.13.4 is a small maintenance release adding a feature missed in the previously release and fixing a spelling mistake.
Changes
- Added support for 16 byte data with the sample delay processor
- Corrected quaternion spelling in the
MblMwSensorFusionData
enum- Was previously spelled quaterion, now properly spelled as quaternion
- This affects usage of the bindings file when using the
SensorFusionData
enum in Python and JavaScript
Logging Update
v0.13.0 adds accessor functions to the logging.h
header file to facilitate debugging the logger. These are purely debugging functions and should only be used by advanced developers.
Timestamp calculations have also been re-implemented to avoid some pitfalls of the previous relative offset implementation.
Quick Bug Fix
SDK v0.12.10 is quick maintenance release to:
- Fix a crash that occurs when anonymous signals are created with an existing
MblMwMetaWearBoard
object that had already setup logging - Run additional cleanup code when a disconnect event is received
Compile and Init Fixes
SDK v0.12.8 is another bug fix on the v0.12 release path.
Changes
- Fix corner cases with the
mbl_mw_metawearboard_initialize
function - Added
std
namespace tosize_t
to address a compile error - Added const definitions for swift bindings
v0.12.0 HotFix
SDK v0.12.1 addresses minor bugs with some of the new features added in v0.12.0 and removes 4 deprecated functions.
Changes
- Fixed bug where deserialized firmware creates a string of the raw bytes, not the str values i.e. \x01 not '1'
- Fixed issue where deserialized state ignores the hw, mft, and serial number characteristics
- Removed
mbl_mw_connection_notify_char_changed
,mbl_mw_metawearboard_notify_char_changed
,mbl_mw_connection_char_read
, andmbl_mw_metawearboard_char_read
- Corrected init timeout test's classname
Swift Compatibility Update
API v0.12.0 introduces breaking changes to accommodate being used in the Swift SDK. These changes also facilitate using the SDK in a C/C++ project but can be ignored when using the Python or NodeJS bindings.
Changes
- Updated function pointers to include a
context
parameter- All functions using the function pointers are modified to have an extra
context
parameter which will then be passed to the callback function context
can be set tonull
if using the Python or NodeJS bindings
- All functions using the function pointers are modified to have an extra
- Added
context
field to theMblMwBtleConnection
andMblMwLogDownloadHandler
structs- This field will be passed into their respective function pointers
- Added orientation data signal for MMA8452Q accelerometer
- Added high-pass filter support
- Added count mode for the accounter processor
- The counter's value is accessed by typecasting the
MblMwData
struct'sextra
field to a unsigned int pointer
- The counter's value is accessed by typecasting the
- Expose device information characteristics
- Fixed null pointer exception when unsubscribing from packed data signals
Log Timestamp Fix
SDK v0.11.4 fixes an issue with the log download where the code would return timestamps in the future.
Anonymous Signal Bug Fix
v0.11.2 is another maintenance release fixing a bug with the new anonymous signal feature.
Updated JavaScript Bindings
This release is a quick maintenance on v0.11, updating the repo with the correct JavaScript bindings file.
Cross Device Downloads
SDK v0.11.0 adds support for cross device downloads of logged data. In other words, you can configure the boards to log data on one device, then use another device to retrieve the data. See the documentation for more details .
Changes
- Added mbl_mw_metawearboard_create_anonymous_datasignals function, which is used for the aforementioned cross device downloads
- Added support for orientation detection on Bosch accelerometers, see documentation
- Added functions to sync accelerometer, gyro, and sensor fusion configuration