decoding-carelink icon indicating copy to clipboard operation
decoding-carelink copied to clipboard

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

Open bustavo opened this issue 9 years ago • 0 comments

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).

bustavo avatar Aug 23 '16 05:08 bustavo