From 03882badc8ccf90f88d543fdaf1c84e43cf3ecc3 Mon Sep 17 00:00:00 2001 From: Michael Pollind Date: Wed, 5 Sep 2018 18:53:50 -0700 Subject: [PATCH] updated connection parameters --- common/metawearwrapperbase.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/metawearwrapperbase.cpp b/common/metawearwrapperbase.cpp index 2df55bc..1fc6446 100644 --- a/common/metawearwrapperbase.cpp +++ b/common/metawearwrapperbase.cpp @@ -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(context);