Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 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
- Loading branch information