API Refactoring and JavaScript Bindings
v0.9.0 introduces several breaking change to the API, the biggest one being how the MblMwBtleConnection struct is defined and used. Developers will need to update their code to reflect the updated fields in the struct as outlined in the documentation.
JavaScript bindings have been added to the repo, see cbindings.js.
Changes
- Added JavaScript bindings
- Updated miniz build to v2.0.6
- Added
OPT_FLAGS
variable to allow devs to add additional compile flags - Added mbl_mw_metawearboard_get_model_name
- Added accounter and packer processor
- Refactored the
MblMwBtleConnection
struct- Modified read_gatt_char to accept an additional function pointer that is used to pass the read characteristic results back to the SDK
- Added enable_notifications field
- Deprecated mbl_mw_metawearboard_notify_char_changed and mbl_mw_metawearboard_char_read
- Removed the
MblMwMetaBootBoard
type, replaced with mbl_mw_metawearboard_perform_dfu method