From 79d05488c341da2983802bf59fff1a330bad647c Mon Sep 17 00:00:00 2001 From: AdrianLxM Date: Wed, 27 Dec 2017 02:24:26 +0100 Subject: [PATCH] RS create bond --- .../plugins/PumpDanaRS/activities/BLEScanActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java index 2a113b3c8d..319a64f713 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpDanaRS/activities/BLEScanActivity.java @@ -162,6 +162,7 @@ public class BLEScanActivity extends AppCompatActivity { public void onClick(View v) { SP.putString(R.string.key_danars_address, item.device.getAddress()); SP.putString(R.string.key_danars_name, mName.getText().toString()); + item.device.createBond(); MainApp.bus().post(new EventDanaRSDeviceChange()); finish(); }