Skip to content

Commit

Permalink
updated connection parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
pollend committed Sep 6, 2018
1 parent 04c9aa5 commit 03882ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/metawearwrapperbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ void MetawearWrapperBase::configureHandlers() {


connect(this, &MetawearWrapperBase::metawareInitialized, [=]() {
mbl_mw_settings_set_connection_parameters(m_metaWearBoard, 7.5f, 7.5f, 0, 6000);

auto battery_signal = mbl_mw_settings_get_battery_state_data_signal(m_metaWearBoard);
mbl_mw_datasignal_subscribe(battery_signal, this, [](void *context, const MblMwData *data) -> void {
MetawearWrapperBase *wrapper = static_cast<MetawearWrapperBase *>(context);
Expand Down

0 comments on commit 03882ba

Please sign in to comment.