Commit graph

143 commits

Author SHA1 Message Date
Milos Kozak
15e69a478e RS,Rv2: thread safe history 2018-08-17 13:58:06 +02:00
Milos Kozak
9c1e52bd17 RS,Rv2: more logging on storing boluses 2018-08-17 13:28:37 +02:00
Milos Kozak
0ab5981665
Roumen's Unit tests (#1325)
* initializer

* aading some tests

* ading some tests

* removed try-catch

but added testingMode boolean for the test to run

* update to latest dev

* formatting

* cleanup tests

* More test classes

* some more

* upd

* more coverage in comm

* 50% class coverage in comm

* Delete crashlytics-build.properties

* remove of crashlytics

* removed unneeded checks

* removet mocking of treatmentsService

* removed treatmentsService mock from newNSTreatmentTest

* more testing classes

* tests of _History_ packets

* tests of _Notify_ packets

* 64 / 65 classes covered

* 100% class coverage in comm
2018-08-10 22:17:44 +02:00
Milos Kozak
9a2df7b04c fix #1145 non-consistent singleton-pattern in DanaRPump 2018-08-03 23:35:24 +02:00
Milos Kozak
9d686adf7e finish apllication after clicking Exit 2018-07-31 19:11:32 +02:00
Milos Kozak
4ec0ebfa74 move profile function from ConfigBuilder to extra class 2018-07-30 14:21:11 +02:00
Milos Kozak
54c83dc374 L.class 2018-07-29 14:39:56 +02:00
Milos Kozak
5efad35721 NSUpload refactor 2018-07-28 23:57:25 +02:00
Milos Kozak
6e902cb9ca PUMP logging 2018-07-28 23:38:39 +02:00
Milos Kozak
130fca4c2a RS onConnectionStateChangeSynchronized 2018-07-23 16:33:51 +02:00
Milos Kozak
90729cffe6 RS disconnect synchronized 2018-07-23 16:17:17 +02:00
Milos Kozak
dd687fbb40 RS,Rv2: load only recent history 2018-07-18 17:02:28 +02:00
Milos Kozak
e6baf3ff47 Merge branch 'dev' into last-2.0-something-stuff-update1 2018-07-17 23:05:08 +02:00
Milos Kozak
ebb97be8c5 Dana pumps: better detect wrong profile in pump 2018-07-17 22:56:25 +02:00
Milos Kozak
7d6674267b
Merge branch 'dev' into last-2.0-something-stuff-update1 2018-07-17 19:53:43 +03:00
Milos Kozak
357b947c1d RS: prevent carbs x insulin 2018-07-15 19:45:51 +02:00
Milos Kozak
8f641f994f RSv3 firmware error reporting 2018-07-13 18:03:04 +03:00
Milos Kozak
695997ebb9 RS: delay before reading history 2018-07-13 09:50:04 +03:00
Johannes Mockenhaupt
6ebb13d28d
alarm on failure to add treatment to db. 2018-07-01 17:31:54 +02:00
Milos Kozak
2291472b01
Merge pull request #1168 from MilosKozak/milosremote/dev
ask user if he switches to a HW pump for the first time
2018-06-29 15:43:48 +02:00
AdrianLxM
5a1d696ab1 ask user if he switches to a HW pump for the first time 2018-06-29 03:52:58 +02:00
Milos Kozak
720e938ebf allow longer lowtemp on RS an Rv2 2018-06-28 10:30:45 +02:00
AdrianLxM
54e647bbe1
re-initialize after time-sync 2018-06-24 15:43:42 +02:00
AdrianLxM
78949a34ab
De-initialize RS if time is off by more than 1.5h 2018-06-24 15:03:03 +02:00
AdrianLxM
5f2f0fff40 time sync in Rv2 as in RS 2018-06-24 13:32:19 +02:00
AdrianLxM
3e53c66365 don't set time on large diff, just warn 2018-06-24 13:27:55 +02:00
AdrianLxM
1b047bba69
Warn on large time offsets RS 2018-06-23 20:05:05 +02:00
Milos Kozak
f14ba554f0 RS ble cleanup 2018-06-16 13:18:00 +02:00
Milos Kozak
d051e081e2 Merge branch 'dev' into rsoption 2018-06-12 21:59:20 +02:00
Roumen Georgiev
978d94499f update method names 2018-06-12 11:03:23 +03:00
TebbeUbben
2d94133175 Plugin descriptions 2018-06-08 21:19:46 +02:00
Milos Kozak
f94d1e85e1 cleanup 2018-06-06 18:32:19 +02:00
Milos Kozak
04fffae811 addd setUserOption to Queue (Dana pumps) 2018-06-06 18:29:40 +02:00
Milos Kozak
d2830d1938 DanaRUserOptionActivity update on pump load 2018-06-06 17:13:58 +02:00
Roumen Georgiev
054003460c push new settings to pump 2018-06-01 16:42:56 +03:00
Roumen Georgiev
85bef0036b back to original 2018-06-01 11:45:31 +03:00
Roumen Georgiev
4581733cd7 some debugging output and forced getting user options 2018-06-01 11:41:37 +03:00
Milos Kozak
4fa24fb009 SW add more texts 2018-05-20 23:44:09 +02:00
AdrianLxM
116222858e update lastApproachingDailyLimit 2018-05-05 21:12:09 +02:00
AdrianLxM
d99fafe375 restrict aproaching daily limit to once every 30 minutes RS 2018-05-05 21:10:15 +02:00
Milos Kozak
e2f28e0ae4 fix rounding on bolus delivery 2018-05-02 22:20:27 +02:00
AdrianLxM
74d0c71712 remove direct access to sResources 7 2018-05-02 13:51:24 +02:00
AdrianLxM
3979913a6d remove direct access to sResources 4 2018-05-02 13:46:38 +02:00
AdrianLxM
a8382daefd remove direct access to sResources 2 2018-05-02 13:36:56 +02:00
Milos Kozak
c27ceb0a72 better bolus error handling for Dana pumps 2018-04-21 00:02:15 +02:00
Milos Kozak
870d23c08c fix bolus step for Dana pumps 2018-04-20 22:13:20 +02:00
TebbeUbben
b3c1bf6e7d Hide TDD button if pump doesn't support them
Hide reload button if pump doesn't need it
2018-04-08 17:54:16 +02:00
Milos Kozak
74edadd1e5 fix detailedbolusinfo for DanaRS 2018-04-06 21:07:29 +02:00
Milos Kozak
7cf2505276 Better time synchronization for DanaRS 2018-04-06 19:07:47 +02:00
Milos Kozak
f6cd1201e3 Treatments refactor 2018-04-05 09:39:18 +02:00