Commit Graph

8 Commits

Author SHA1 Message Date
Paul Plant 603db60ff5 Libre 2 NFC re-write
- rewrite of NFC scan workflow
- initial scan of NFC-enabled sensors will now *not* initial BLE scanning
- NFC scan logic redone to perform several loops until a successful NFC scan with valid data is hopefully performed
- UI updated to inform user of scan attempts and give much clearer alert messages.
- haptic feedback (vibrations/noise) added to guide user during scan cycles
- a failed NFC scan will now inform the user and offer to immediately scan again. If the user declines the transmitter will be disconnected (if existing) or removed (if adding new)
- BLE Peripheral view should show correct status in connection row if pending NFC scan to continue
- once a valid NFC scan has been performed, the user will be informed and the superclass will be told to start BLE scanning to find the sensor/transmitter. This will avoid trying to connect before a valid NFC is performed
- the scanned sensor serial number is passed back through the delegate to update the expected device name at the same time as BLE scanning is started. This prevents the app from connecting to a different transmitter (i.e. Libre 2).
- when a Libre 2 sensor is disconnected, the active sensor is set to nil. This prevents the countdown from staying on screen with no valid sensor connected.
- as above but the libre1DerivedParameters are also set to nil to prevent an issue that can show very high readings when initially connecting to a new sensor
- related alert messages changed to improve clarity
- translations added for EN/NL/ES/FR/DE/PT/SV
2023-01-04 13:24:06 +01:00
Johan Degraeve 473686ba37 enable Libre algorithm by default , for those transmitters that support it 2021-03-20 10:53:14 +01:00
Johan Degraeve a0fe6342b4 Removed all code related to oop web, which was to get calibration info via oop web server. The 'webOOPEnabled' flag is still there, it's now used to distinguish between xDrip or Libre algorithm (which was already the case since one of the previous commits 2021-01-13 22:57:32 +01:00
alekst1d 63aa9f7f21 use https://www.glucose.space instead of http://www.glucose.space (SSL) for OOPWeb Service 2020-12-16 23:48:21 +01:00
Tudor-Andrei Vrabie 9aac215690 Add option for non-fixed calibration slopes for Libre sensors 2020-07-07 20:06:10 +01:00
Johan Degraeve 7447a5d00d removed check on activeSensor start date for Libre, now the processing will stop as soon as sensor is expired. Still need to add warning, see enhancement nr 120 2020-06-30 22:36:50 +02:00
Johan Degraeve f034133488 redesign Libre Utilities 2020-06-29 21:38:18 +02:00
Johan Degraeve a538e280f6 fix #81 Constant BG sent to NightScout when Libre-2 expires 2020-04-08 20:48:44 +02:00
Renamed from xdrip/Constants/ConstantsLibreOOP.swift (Browse further)