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

x22 CGM page decoding: Page fetching is writing too many timestamps #295

Closed
tmecklem opened this issue Dec 11, 2016 · 3 comments
Closed

Comments

@tmecklem
Copy link
Contributor

tmecklem commented Dec 11, 2016

When the cgm page decoding algorithm detects that a page doesn't have a reliable sensor timestamp for forward looking offset, it needs to send a command to add a sensor timestamp to the glucose history page. Something in that code is incorrectly setting a new timestamp repeatedly in some circumstances. This causes glucose history pages to fill up more quickly and adds more page fetching that lessens battery life and reliability.

An example of the problem: https://diagcare.herokuapp.com/cgm_pages/DE0B68E27914E6EC8E211624D3C00CE6456164E8

@tmecklem
Copy link
Contributor Author

This may be caused by some experimental code in my branch of Loop and not RileyLink iOS code. Still investigating.

@tmecklem
Copy link
Contributor Author

@tmecklem
Copy link
Contributor Author

tmecklem commented Jan 5, 2017

This has been fixed.

@tmecklem tmecklem closed this as completed Jan 5, 2017
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

1 participant