Skip to content

Expanded Feature Support for Environment, Detector, CPro, and Firmware v1.1.0

Compare
Choose a tag to compare
@mbientlab mbientlab released this 30 Mar 04:40
· 158 commits to master since this release

C++ API v0.4.0 adds support for the sensors on the MetaWear CPro, MetaEnvironment, and MetaDetector boards, provides a framework for onboard logging, and expands the settings module to support features added in firmware v1.1.0. This update does introduce minor breaking changes by renaming a few header files and the structs defined in the types.h header file.

Changes

  • Added logging framework
  • Added functions to use the I2C bus
  • Added BMM150 magnetometer support
    • Available on the CPro board
  • Added TCS34725 color detector and TSL2671 proximity support
    • Sensors for the detect boards
  • Added BME280 environment sensor support
    • Sensor for the env board
    • Provides a humidity and barometer sensor
    • Barometer functionality placed in barometer_bosch.h file, which is renamed from barometer_bmi160.h
    • BME280 and BMP280 have nearly identical pressure configuration options except standby times
  • Added BMA255 accelerometer support
    • Placed in accelerometer_bosch.h file, which is renamed from accelerometer_bmi160.h
    • BMA255 and BMI160 accelerometer shares many features
    • Bosch accelerometer for the env and detect boards
  • Added disconnect event and battery state support
    • Requires firmware v1.1.0 or later
  • Pre-pended MblMw to the structs defined in the types.h header file
  • Removed CartesianShort from the types.h header file
  • Fixed bug with setting up GPIO pin change monitoring