StephenBlackWasAlreadyTaken / xDrip-Experimental

Experimental Branches for Collaboration on DexDrip
GNU General Public License v3.0
25 stars 62 forks source link

question on duplicate check #351

Open JohanDegraeve opened 8 years ago

JohanDegraeve commented 8 years ago

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 ?

tzachi-dar commented 8 years ago

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.

JohanDegraeve commented 8 years ago

ok thanks