2018-05-01 23:44:53 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-05-20 21:53:55 +02:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory android:title="@string/medtronic_name">
|
2018-05-01 23:44:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="000000"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:key="@string/key_medtronic_serial"
|
2018-05-01 23:44:53 +02:00
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:singleLine="false"
|
|
|
|
android:title="@string/medtronic_serial_number" />
|
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="1"
|
|
|
|
android:entries="@array/medtronicPumpTypeArray"
|
|
|
|
android:entryValues="@array/medtronicPumpTypeArray"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:key="@string/key_medtronic_pump_type"
|
2018-05-01 23:44:53 +02:00
|
|
|
android:title="@string/medtronic_pump_type" />
|
|
|
|
|
|
|
|
|
|
|
|
<ListPreference
|
2019-08-14 17:49:01 +02:00
|
|
|
android:defaultValue="@string/key_medtronic_pump_frequency_us_ca"
|
2018-05-01 23:44:53 +02:00
|
|
|
android:entries="@array/medtronicPumpFreqArray"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:entryValues="@array/medtronicPumpFreqValues"
|
|
|
|
android:key="@string/key_medtronic_frequency"
|
2018-05-01 23:44:53 +02:00
|
|
|
android:selectable="true"
|
|
|
|
android:title="@string/medtronic_pump_frequency" />
|
|
|
|
|
2018-05-12 01:41:44 +02:00
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="35"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:key="@string/key_medtronic_max_basal"
|
2018-05-12 01:41:44 +02:00
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="number"
|
2018-07-22 17:45:26 +02:00
|
|
|
android:digits="0123456789."
|
2018-05-12 01:41:44 +02:00
|
|
|
android:title="@string/medtronic_pump_max_basal" />
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:defaultValue="25"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:key="@string/key_medtronic_max_bolus"
|
2018-05-12 01:41:44 +02:00
|
|
|
android:selectAllOnFocus="true"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="number"
|
2018-07-22 17:45:26 +02:00
|
|
|
android:digits="0123456789."
|
2018-05-12 01:41:44 +02:00
|
|
|
android:title="@string/medtronic_pump_max_bolus" />
|
|
|
|
|
2019-01-04 14:02:10 +01:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="10"
|
|
|
|
android:entries="@array/medtronicBolusDelay"
|
|
|
|
android:entryValues="@array/medtronicBolusDelay"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:key="@string/key_medtronic_bolus_delay"
|
2019-01-04 14:02:10 +01:00
|
|
|
android:selectable="true"
|
|
|
|
android:title="@string/medtronic_pump_bolus_delay" />
|
|
|
|
|
|
|
|
<ListPreference
|
2019-08-14 17:49:01 +02:00
|
|
|
android:defaultValue="@string/key_medtronic_pump_encoding_4b6b_rileylink"
|
2019-01-04 14:02:10 +01:00
|
|
|
android:entries="@array/medtronicEncoding"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:entryValues="@array/medtronicEncodingValues"
|
|
|
|
android:key="@string/key_medtronic_encoding"
|
2019-01-04 14:02:10 +01:00
|
|
|
android:selectable="true"
|
|
|
|
android:title="@string/medtronic_pump_encoding" />
|
|
|
|
|
2019-05-26 15:44:33 +02:00
|
|
|
<ListPreference
|
2019-08-14 17:49:01 +02:00
|
|
|
android:defaultValue="@string/key_medtronic_pump_battery_no"
|
2019-05-26 15:44:33 +02:00
|
|
|
android:entries="@array/medtronicBatteryType"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:entryValues="@array/medtronicBatteryTypeValues"
|
|
|
|
android:key="@string/key_medtronic_battery_type"
|
2019-05-26 15:44:33 +02:00
|
|
|
android:selectable="true"
|
|
|
|
android:title="@string/medtronic_pump_battery_select" />
|
|
|
|
|
2019-10-26 17:45:34 +02:00
|
|
|
<ListPreference
|
|
|
|
android:defaultValue="@string/common_off"
|
|
|
|
android:entries="@array/onOff"
|
|
|
|
android:entryValues="@array/onOff"
|
|
|
|
android:key="@string/key_medtronic_bolus_debug"
|
|
|
|
android:selectable="true"
|
|
|
|
android:title="@string/medtronic_bolus_debugging" />
|
|
|
|
|
2019-03-02 21:39:14 +01:00
|
|
|
<info.nightscout.androidaps.plugins.pump.common.ui.RileyLinkSelectPreference
|
2018-05-20 21:53:55 +02:00
|
|
|
android:enabled="true"
|
2018-10-20 14:24:36 +02:00
|
|
|
android:summary=""
|
|
|
|
android:title="RileyLink Configuration"
|
2019-08-14 17:49:01 +02:00
|
|
|
android:key="@string/key_rileylink_mac_address">
|
2018-05-20 21:53:55 +02:00
|
|
|
<intent android:action="info.nightscout.androidaps.plugins.PumpCommon.dialog.RileyLinkBLEScanActivity" />
|
2019-03-02 21:39:14 +01:00
|
|
|
</info.nightscout.androidaps.plugins.pump.common.ui.RileyLinkSelectPreference>
|
2018-10-20 14:24:36 +02:00
|
|
|
|
2018-05-01 23:44:53 +02:00
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen>
|