Skip to content

Commit

Permalink
Fix scanning the Lingo serial number
Browse files Browse the repository at this point in the history
  • Loading branch information
gui-dos committed Oct 1, 2024
1 parent 0f723be commit 619382a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DiaBLE Playground.swiftpm/Sensor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ enum SensorState: UInt8, CustomStringConvertible {

var uid: SensorUid = Data() {
willSet(uid) {
if type != .libre3 {
if type != .libre3 && type != .lingo {
serial = serialNumber(uid: uid, family: self.family)
}
}
Expand Down
2 changes: 1 addition & 1 deletion DiaBLE.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ APP_GROUP_ID = group.com.$(DEVELOPMENT_TEAM).DiaBLE

// Comment out all the following lines in DiaBLEOverride.xcconfig
MARKETING_VERSION = 0.0.1
CURRENT_PROJECT_VERSION = 118
CURRENT_PROJECT_VERSION = 119
#include? "DiaBLEOverride.xcconfig"
2 changes: 1 addition & 1 deletion DiaBLE/Sensor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ enum SensorState: UInt8, CustomStringConvertible {

var uid: SensorUid = Data() {
willSet(uid) {
if type != .libre3 {
if type != .libre3 && type != .lingo {
serial = serialNumber(uid: uid, family: self.family)
}
}
Expand Down

2 comments on commit 619382a

@gui-dos
Copy link
Owner Author

@gui-dos gui-dos commented on 619382a Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image
Image

@gui-dos
Copy link
Owner Author

@gui-dos gui-dos commented on 619382a Oct 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original sensor UID:

Image

Please sign in to comment.