JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
317 stars 313 forks source link

there should a timeout period after stopping a sensor session in order for the command to be properly registered by the transmitter #476

Open sergiu-fintineru opened 7 months ago

sergiu-fintineru commented 7 months ago

I have encountered the following problem.

I stopped a sensor session that was not going well. I waited 5 minutes in order for the transmitter to register the change and I saw the "Session stopped" in the transmitters' details. I initiated a new sensor session, I introduced the calibration code and waited the warm-up period. However the sensor age as shown in the transmitters details was the old one. The blood sugar readings were incorrect since I was using a sensor with a different code than the previous one, somehow the transmitter did not acknowledge the new sensor session or the new code.

paulplant commented 7 months ago

Dexcom G6? Anubis? One? Are you using the transmitter with "Read from Dexcom App" mode and also using Dexcom app in parallel? Or is the transmitter only connected to xDrip4iOS?

sergiu-fintineru commented 7 months ago

Anubis transmitter. It is only connected to xDrip4iOS.

It's true that I change sensors fast, but I still think this is an issue.

One should not be permitted to start a new sensor session until the transmitter has registered the stop sensor command.