|
|
@@ -81,6 +81,7 @@ public enum SensorType: String, CustomStringConvertible {
|
|
|
case libre1A2 = "A2"
|
|
|
case libre2 = "9D"
|
|
|
case libreUS14day = "E5"
|
|
|
+ case libreUS14dayE6 = "E6"
|
|
|
case libreProH = "70"
|
|
|
|
|
|
public var description: String {
|
|
|
@@ -91,7 +92,7 @@ public enum SensorType: String, CustomStringConvertible {
|
|
|
return "Libre 1 A2"
|
|
|
case .libre2:
|
|
|
return "Libre 2"
|
|
|
- case .libreUS14day:
|
|
|
+ case .libreUS14day, .libreUS14dayE6:
|
|
|
return "Libre US"
|
|
|
case .libreProH:
|
|
|
return "Libre PRO H"
|
|
|
@@ -105,7 +106,7 @@ public extension SensorType {
|
|
|
|
|
|
let start = patchInfo[0..<2].uppercased()
|
|
|
|
|
|
- let choices: [String: SensorType] = ["DF": .libre1, "A2": .libre1A2, "9D": .libre2, "E5": .libreUS14day, "70": .libreProH]
|
|
|
+ let choices: [String: SensorType] = ["DF": .libre1, "A2": .libre1A2, "9D": .libre2, "E5": .libreUS14day, "E6": .libreUS14dayE6, "70": .libreProH]
|
|
|
|
|
|
if let res = choices[start] {
|
|
|
self = res
|