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

Still no data sometimes when turning to new page && found new records on ReadGlucoseHistory pages #200

Open
bustavo opened this issue Aug 23, 2016 · 0 comments

Comments

@bustavo
Copy link

bustavo commented Aug 23, 2016

When changing to a new page, I am still facing trouble sometimes with an empty array of data.

The only way I have found to fix this is by calibrating on the pump. After a couple of minutes, data starts appearing again.

Today I extracted the data on the *.data file and played a bit with the /decocare/cgm/init.py file...

While the list_cgm.py script was returning empty array for the *.data file -> [ ] I found out the following records were not being shown:

0x47
0x49
0x4A
0x4D
0x4F

I got them to show by modifying line 138 from the init.py file to:

if op > 0 and op < 80:

and adding them to the records...

0x47: dict(name='NA', packet_size=0, data_type='NA', op='ox47'),
0x49: dict(name='NA', packet_size=0, data_type='NA', op='ox49'),
0x4A: dict(name='NA', packet_size=0, data_type='NA', op='ox4A'),
0x4D: dict(name='NA', packet_size=0, data_type='NA', op='ox4D'),
0x4F: dict(name='NA', packet_size=0, data_type='NA', op='ox4F')

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37188498-still-no-data-sometimes-when-turning-to-new-page-found-new-records-on-readglucosehistory-pages?utm_campaign=plugin&utm_content=tracker%2F522759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F522759&utm_medium=issues&utm_source=github).
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