creepymonster / GlucoseDirect

App programmed in Swift/SwiftUI for using Libre blood glucose sensors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Libre 2: unsupported sensor: unknown

enodr opened this issue · comments

commented

Hi,

Using Libre 2 EU sensors. Never had problem before but the last batch of sensors I got are not recognized by the app.

The error message does not give much insight.

How can I help debug? Also curious not seing more reports about this issue. Something changed in the latest sensors ?

Hi @enodr same problem for me. I have been using Libre 2 EU sensors for months without any issues, the latest one gives me the same unsupported sensor issue.

How can we help?

I found the following logs:
`

❌ 2023-06-16T20:09:57Z
[GlucoseDirectApp/LibreNFC.swift:221] [returnWithError(_:)]
Unsupported sensor: Inconnu

❌ 2023-06-16T20:09:57Z
[GlucoseDirectApp/LibreConnection.swift:53] [pairConnection()]
Unsupported sensor: Inconnu

ℹ️ 2023-06-16T20:09:57Z
[GlucoseDirectApp/SensorConnection.swift:40] [sendUpdate(connectionState:)]
ConnectionState: Disconnected

❌ 2023-06-16T20:09:57Z
[GlucoseDirectApp/SensorConnection.swift:98] [sendUpdate(errorMessage:)]
ErrorMessage: Unsupported sensor: Inconnu

ℹ️ 2023-06-16T20:09:57Z
[GlucoseDirectApp/Log.swift:53] [logMiddleware(service:)]
Triggered action: setConnectionState(connectionState: GlucoseDirectApp.SensorConnectionState.disconnected)

ℹ️ 2023-06-16T20:09:57Z
[GlucoseDirectApp/ConnectionNotification.swift:101] [scheduleSensorConnectionLostAlarm(sound:)]
Schedule sensor connection lost alarm

ℹ️ 2023-06-16T20:09:57Z
[GlucoseDirectApp/ConnectionNotification.swift:104] [scheduleSensorConnectionLostAlarm(sound:)]
Schedule sensor connection lost alarm, state: sound

ℹ️ 2023-06-16T20:09:57Z
[GlucoseDirectApp/Log.swift:53] [logMiddleware(service:)]
Triggered action: setConnectionError(errorMessage: "Unsupported sensor: Inconnu", errorTimestamp: 2023-06-16 20:09:57 +0000)
`

i have same issue

commented

I can confirm the fix works perfectly with the new sensors. Marking as closed for me.

I have also tested with my sensor and it's not working. Thanks for the fix !