Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question on duplicate check #351

Open
JohanDegraeve opened this issue Jun 12, 2016 · 2 comments
Open

question on duplicate check #351

JohanDegraeve opened this issue Jun 12, 2016 · 2 comments

Comments

@JohanDegraeve
Copy link
Contributor

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
Copy link
Collaborator

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
Copy link
Contributor Author

ok thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants