-
Notifications
You must be signed in to change notification settings - Fork 50
Description
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')