Commit Graph

8 Commits

Author SHA1 Message Date
Paul Plant 60874af5fd initial implementation sensor info view
- replaces the old image-based sensor countdown (only for Libre)
- will now work for all CGM systems that report a sensor start date (or sensor age in the case of Libre)
- if no current/valid data is found, the view remains hidden
- currently showing for Libre 2 EU BLE (14.5 days), compatible Libre via external transmitter (14.5 days), Dexcom G5/G6/One (10.0 days) and LibreLinkUp follower (14.0 days)
- starts at 0% progress for 0d and finishes at 100% progress for maxAge as per above line
- To simply UI, sensor countdown options are removed completely
- All maxAge values are in Constants file for easy updating if ever needed
2023-11-06 19:03:29 +01:00
Johan Degraeve df57b8fb5e startsensor works 2021-12-21 22:03:57 +01:00
Johan Degraeve dd794b25f3 temp commit 2021-12-21 22:03:57 +01:00
Johan Degraeve 79ec1fabd1 temp commit 2021-12-21 22:03:56 +01:00
Johan Degraeve c4001d0bd2 Firefly support
- connects to firefly and reads readings
- backfilling 6 hours
- sensor start and calibration must be done on the official Dexcom app, afterwards the official Dexcom app (or any other app) should not have access to bluetooth
2021-12-21 22:03:56 +01:00
Johan Degraeve 7bea238e9e DexcomG5, battery read every 2 hours iso 48 hours 2020-12-08 09:17:57 +01:00
Johan Degraeve 7ec99f0657 storing timestamp of last battery read in userdefaults, for Dexcom G5 it will now be ready only once every 48 hours 2020-10-12 15:37:52 +02:00
Johan Degraeve 6490d8df25 Constants.swift splitted in different files 2019-07-28 14:22:47 +02:00