xDrip-Experimental icon indicating copy to clipboard operation
xDrip-Experimental copied to clipboard

question on duplicate check

Open JohanDegraeve opened this issue 8 years ago • 2 comments

In Transmitteradta.java line 67 (and also line 79) there's a check to see of the packet was already received by checking the timsetamp. If it's less than 2 minutes, then it's treated as a duplicate.

In DexCollectionService.java line 485 the same check is done but there it's only 1 minute.

So finally it's 1 minute ?

JohanDegraeve avatar Jun 12 '16 20:06 JohanDegraeve

It depends what your source is. Wifi xDrip does not pass through DexCollectionService and therefore is having bigger times. I think that the motivation behind this is that the wifi is based on many stations that have different watches and therefore needs to allow more freedom when testing the clock.

tzachi-dar avatar Jun 12 '16 21:06 tzachi-dar

ok thanks

JohanDegraeve avatar Jun 13 '16 06:06 JohanDegraeve