decoding-carelink
decoding-carelink copied to clipboard
Newest data not available when flipping page.
Hello @bewest,
I am building a notifier based on decoding-carelink ( https://github.com/bustavo/carelink_notificator )
The code is Ruby based as I had mentioned before. Until now it covers my needs ( except for the part where sometimes I lose range ), but found out today that when my pump turns to a new page to start storing data, the newest GlucoseSensorData gets lost. When trying to read the page before the neweset one, I get data from 2 hours ago.
Is this a bug? or is there a different place where the info gets stored once the pump starts on a new page?
Thanks!!!
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Wow that's nifty.
Are you decrementing or incrementing the page number? It might well be a bug, which pages are you asking for?
Thanks @bewest,
The code right now checks for records containing GlucoseSensorData on the last page ( the one returned with the ReadCurGlucosePageNumber param )
It then iterates through all of the response from the JSON and if no records with name GlucoseSensorData are found, it then goes back 1 page ( page - 1 )
Today, the code is asking for page 150 on my pump, and since nothing is being found, it goes to page 149.
Page 150 returns:
[ { "raw": "87-e5-0a-0e-01-00-00", "date_type": "minSpecific", "op": "0x10", "name": "10-Something", "packet_size": 7 } ]
Page 149 returns ( I just posted the last part ):
{
"packet_size": 0,
"name": "GlucoseSensorData",
"date": "2014-11-10T07:36:00",
"date_type": "prevTimestamp",
"op": 73,
"sgv": 146
}
], { "raw": "84-f5-0a-0e-01-00-00", "date_type": "minSpecific", "op": "0x10", "name": "10-Something", "packet_size": 7 }, { "raw": "87-e4-2a-0e", "name": "SensorTimestamp", "date": "2014-11-10T07:36:00", "date_type": "minSpecific", "packet_size": 4, "op": "0x08" }, [ { "date": "2014-11-10T07:36:00", "date_type": "prevTimestamp", "op": "0x13", "name": "19-Something", "packet_size": 0 }, { "date": "2014-11-10T07:36:00", "date_type": "prevTimestamp", "op": "0x13", "name": "19-Something", "packet_size": 0 }, { "date": "2014-11-10T07:36:00", "date_type": "prevTimestamp", "op": "0x13", "name": "19-Something", "packet_size": 0 } ] ]
I just started getting info again from the new page, it seems the time difference is about 5 hours ( from last record on page 149 to the newest one on page 150 ).
@bewest, today my pump flipped page again, but the delay has been extensive between the old data and the new data. Last GlucoseSensorData is from 12:51pm today and it is 8:15pm right now. I am on page 151 and last readings are from page 150.
Hey @bewest is there a way I can push data to the pump ( write ) so that the newest data can be pushed onto the next page and I don't have to wait?
Thanks!
I think there is a way, but I don't know how :-(. Changing time, temp basaling and other actions all use space in the memory, so it's possible that you could temp basal between 99 - 101% over and over until you spill over onto a new page?
An update of experiments I've been doing with the flipping page problem...
After page was flipped, while trying to list_cgm.py on the data file, all I got was: []
I then thought what if I forced events on the file to see what happens.
I calibrated and then started getting:
[ { "body": "7e", "raw": "16-e5-14-0f-7e", "amount": 126, "name": "CalBGForGH", "date": "2015-03-20T22:37:00", "date_type": "minSpecific", "packet_size": 5, "op": "0x0e" } ]
But still no CGM data
I changed the date afterwards and I got data again!
[ { "body": "7e", "raw": "16-e5-14-0f-7e", "amount": 126, "name": "CalBGForGH", "date": "2015-03-20T22:37:00", "date_type": "minSpecific", "packet_size": 5, "op": "0x0e" }, { "raw": "16-f1-14-0f-0c-16-f0-34-0f-08-16-eb-54-0f", "date_type": "secSpecific", "op": "0x0c", "name": "DateTimeChange", "packet_size": 14 }, { "raw": "16-f2-14-0f-2f-7d", "name": "SensorCalFactor", "factor": 12.157, "date": "2015-03-20T22:50:00", "date_type": "minSpecific", "packet_size": 6, "op": "0x0f" }, [ { "packet_size": 0, "name": "GlucoseSensorData", "date": "2015-03-20T22:55:00", "date_type": "prevTimestamp", "op": 64, "sgv": 128 }, { "date": "2015-03-20T23:00:00", "date_type": "none", "op": "0x01", "name": "DataEnd", "packet_size": 0 } ] ]
I get the feeling that there is maybe an error in the reading of the data and when adding a new event, the file can be read again correctly... any ideas?
I think this has been fixed, but not sure. In openaps, I was able to iterate over glucose pages correctly, but would be good to verify.
Yes. It has been fixed. Data still corrupts if you calibrate after the calibration time. I fix it by waiting about 5 minutes and calibrating again. Then the data starts to be available again
I used to see this problem when I was on the MM sensor. Since CGM data is rounded to fit in a single byte, I assume ISIG is the "true" source. Have you tried fetching ISIG at these page turn points?
@loudnate I can try that, I'll just have to wait for the next page turn to see if it works, I'll keep you updated. Where you able to get values from the ISIG record on page turns?
I think I understand what is happening...
The records for GlucoseSensorData are there on the new page, I tried extracting all of the records just to see what's included in the new page and I get:
{'date_type': 'none', 'op': '0x01', '_tell': 1L, 'name': 'DataEnd', 'packet_size': 0} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 2L, 'sgv': 96, 'packet_size': 0, 'op': 48} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 3L, 'sgv': 96, 'packet_size': 0, 'op': 48} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 4L, 'sgv': 98, 'packet_size': 0, 'op': 49} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 5L, 'sgv': 98, 'packet_size': 0, 'op': 49} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 6L, 'sgv': 98, 'packet_size': 0, 'op': 49} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 7L, 'sgv': 106, 'packet_size': 0, 'op': 53} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 8L, 'sgv': 114, 'packet_size': 0, 'op': 57} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 9L, 'sgv': 112, 'packet_size': 0, 'op': 56} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 10L, 'sgv': 110, 'packet_size': 0, 'op': 55} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 11L, 'sgv': 118, 'packet_size': 0, 'op': 59} {'name': 'GlucoseSensorData', 'date_type': 'prevTimestamp', '_tell': 12L, 'sgv': 126, 'packet_size': 0, 'op': 63}
There is no ISIG record definition.
So I think there is no date data on the page...
I can fix it by manually calibrating on the pump, which ( correct me if I'm wrong ) adds a new 'SensorTimestamp' or 'SensorCalFactor' to the page which then helps create the mapped_glucose_records array.
Any ideas?
Also...
After the bg calibration event, I am only getting:
[ { "body": "4b", "packet_size": 5, "amount": 75, "name": "CalBGForGH", "raw": "89-80-1c-0f-4b", "date": "2015-10-28T09:00:00", "date_type": "minSpecific", "_tell": 4, "op": "0x0e" } ]
Returned. I added the following lines before line 235 on init.py and I get data again:
if len(records) == 1 and records[0]['name'] == "CalBGForGH":
prefix_records.reverse()
mapped_glucose_records = self.map_glucose(prefix_records, start=date, delta=self.delta_ago(reverse=True))
mapped_glucose_records.reverse()
records.extend(mapped_glucose_records)
Hi
I've been chatting to people on Gitter, and indicationsare that we had the same problem.
Adding @bustavo's code in before the return at https://github.com/bewest/decoding-carelink/blob/e7291f3bfa5fd3ba40d4dedf39dec5603dcb2c10/decocare/cgm/init.py#L235 solved things for us too.
openaps use pump read_current_glucose_pages returned:
"isig": 32,
"page": 57,
"glucose": 32
}
http://www.deckle.co.uk/decoding-carelink/problem-getting-current-glucose-2015-11-04-bug44/ has pages 56 and 57.
The run output is as follows:
/root/venv-openaps/bin/mm-send-comm.py tweak ReadGlucoseHistory --save --page 56
do stuff with an insulin pump over RF
using Namespace(autoinit=False, begin=None, bytesPerRecord=None, command='tweak', descr=None, dryrun=False, effectTime=None, end=None, init=False, maxRecords=None, name=None, no_postlude=False, no_prelude=False, no_rf_prelude=False, other='ReadGlucoseHistory', page=56, params=None, port='', postfix=None, prefix=None, prefix_path='', save=True, saveall=False, serial='XXXXXX', session_life=10, verbose=None)
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 1,
'packets.received': 58L,
'packets.transmit': 62L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 255L,
'packets.transmit': 255L}}
PUMP MODEL: ReadPumpModel:size[64]:data:'722'
<class 'decocare.commands.ReadGlucoseHistory'> {'page': 56} response: ReadGlucoseHistory:size[1024]:[page][56]:data[1024]: hexdump:
0000 0x83 0x83 0x83 0x82 0x7f 0x7b 0x77 0x74 .....{wt
0008 0x71 0x6d 0x69 0x65 0x61 0x5a 0x53 0x4b qmieaZSK
0010 0x45 0x40 0x3e 0x3c 0x3a 0x38 0x36 0x34 E@><:864
0018 0x32 0x30 0x2e 0x2c 0x2b 0x2a 0x29 0x28 20.,+*)(
0020 0x27 0x26 0x25 0x24 0x24 0x23 0x23 0x23 '&%$$###
0028 0x24 0x25 0x00 0x00 0x01 0x0f 0x1a 0x8d $%......
0030 0x95 0x10 0x27 0x29 0x2b 0x2e 0x32 0x36 ..')+.26
0038 0x3a 0x3e 0x41 0x44 0x47 0x49 0x4c 0x4e :>ADGILN
0040 0x01 0x05 0x0f 0x5a 0x99 0x96 0x08 0x0f ...Z....
0048 0x5a 0x99 0x96 0x0b 0x0f 0x3a 0x99 0x96 Z....:..
0050 0x0d 0x00 0x03 0xba 0x0f 0x1a 0xa1 0x96 ........
0058 0x0e 0x00 0x00 0x01 0x0f 0x1a 0xa1 0x96 ........
0060 0x10 0x01 0x03 0x01 0x03 0x5d 0xcb 0x11 .....]..
0068 0x0f 0x1a 0xaf 0x96 0x0f 0x60 0x63 0x66 .....`cf
0070 0x69 0x6b 0x6d 0x6e 0x70 0x00 0x00 0x01 ikmnp...
0078 0x0f 0x1a 0x9c 0x97 0x10 0x73 0x76 0x77 .....svw
0080 0x77 0x77 0x76 0x75 0x74 0x72 0x71 0x6f wwvutrqo
0088 0x6e 0x6c 0x6b 0x69 0x68 0x66 0x64 0x62 nlkihfdb
0090 0x60 0x5e 0x5e 0x5d 0x5d 0x5d 0x5d 0x5c `^^]]]]\
0098 0x5b 0x5a 0x5a 0x59 0x58 0x57 0x56 0x56 [ZZYXWVV
00A0 0x55 0x55 0x55 0x54 0x54 0x53 0x53 0x52 UUUTTSSR
00A8 0x52 0x52 0x52 0x52 0x52 0x52 0x52 0x53 RRRRRRRS
00B0 0x53 0x53 0x53 0x52 0x51 0x51 0x51 0x50 SSSRQQQP
00B8 0x51 0x51 0x00 0x03 0xa2 0x0f 0x1b 0xa4 QQ......
00C0 0x84 0x0e 0x00 0x00 0x01 0x0f 0x1b 0xa4 ........
00C8 0x84 0x10 0x01 0x03 0x01 0x03 0x51 0xbf ......Q.
00D0 0x11 0x0f 0x1b 0xb2 0x84 0x0f 0x50 0x50 ......PP
00D8 0x4f 0x4e 0x4d 0x4c 0x4a 0x49 0x48 0x47 ONMLJIHG
00E0 0x47 0x46 0x46 0x46 0x46 0x45 0x45 0x45 GFFFFEEE
00E8 0x45 0x45 0x45 0x44 0x44 0x44 0x44 0x44 EEEDDDDD
00F0 0x44 0x44 0x43 0x43 0x43 0x42 0x42 0x43 DDCCCBBC
00F8 0x00 0x00 0x01 0x0f 0x1b 0xab 0x87 0x10 ........
0100 0x44 0x46 0x13 0x48 0x4b 0x13 0x4d 0x4f DF.HK.MO
0108 0x51 0x52 0x53 0x4f 0x4a 0x46 0x44 0x42 QRSOJFDB
0110 0x3f 0x3b 0x39 0x35 0x33 0x30 0x2e 0x2c ?;9530.,
0118 0x2a 0x29 0x29 0x29 0x29 0x29 0x2a 0x2a *)))))**
0120 0x2a 0x2b 0x2c 0x2c 0x2d 0x2d 0x2e 0x31 *+,,--.1
0128 0x34 0x36 0x38 0x3b 0x40 0x47 0x4f 0x58 468;@GOX
0130 0x60 0x67 0x6d 0x00 0x00 0x01 0x0f 0x1b `gm.....
0138 0xb0 0x8b 0x10 0x72 0x76 0x79 0x13 0x7a ...rvy.z
0140 0x7b 0x13 0x7b 0x7a 0x79 0x77 0x75 0x73 {.{zywus
0148 0x71 0x6f 0x6e 0x6d 0x6b 0x69 0x65 0x61 qonmkiea
0150 0x5d 0x58 0x54 0x50 0x4e 0x4c 0x4b 0x00 ]XTPNLK.
0158 0x00 0x01 0x0f 0x1b 0xb9 0x8d 0x10 0x4a .......J
0160 0x49 0x13 0x49 0x4b 0x4d 0x4f 0x51 0x54 I.IKMOQT
0168 0x56 0x58 0x5a 0x13 0x5c 0x5e 0x13 0x60 VXZ.\^.`
0170 0x62 0x63 0x63 0x00 0x00 0x01 0x0f 0x1b bcc.....
0178 0x99 0x8f 0x10 0x63 0x62 0x63 0x63 0x63 ...cbccc
0180 0x64 0x64 0x65 0x68 0x6b 0x6d 0x6c 0x6a ddehkmlj
0188 0x69 0x00 0x03 0x00 0x03 0x00 0x03 0x00 i.......
0190 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........
0198 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........
01A0 0x03 0x00 0x03 0x75 0x0f 0x1b 0xa8 0x91 ...u....
01A8 0x0e 0x01 0x03 0x01 0x03 0x01 0x03 0x3a .......:
01B0 0xba 0x11 0x0f 0x1b 0xb8 0x91 0x0f 0x3c .......<
01B8 0x3e 0x41 0x44 0x48 0x4b 0x4d 0x4f 0x51 >ADHKMOQ
01C0 0x52 0x53 0x55 0x56 0x58 0x5a 0x5c 0x5f RSUVXZ\_
01C8 0x61 0x61 0x63 0x65 0x66 0x63 0x60 0x5c aacefc`\
01D0 0x58 0x13 0x02 0x13 0x02 0x13 0x02 0x13 X.......
01D8 0x02 0x13 0x02 0x13 0x02 0x0f 0x5b 0xa3 ......[.
01E0 0x94 0x08 0x0f 0x7b 0xa6 0x94 0x0d 0x0f ...{....
01E8 0x5b 0xb3 0x94 0x0b 0x00 0x00 0x01 0x0f [.......
01F0 0x1b 0xad 0x96 0x10 0x00 0x00 0x01 0x0f ........
01F8 0x1b 0x8f 0x97 0x10 0x00 0x00 0x01 0x0f ........
0200 0x1c 0xb2 0x87 0x10 0x00 0x00 0x01 0x0f ........
0208 0x1c 0xaf 0x8d 0x10 0x00 0x00 0x01 0x0f ........
0210 0x1c 0xb9 0x8f 0x10 0x00 0x00 0x01 0x0f ........
0218 0x1c 0x9f 0x93 0x10 0x00 0x00 0x01 0x0f ........
0220 0x1d 0x98 0x88 0x10 0x00 0x00 0x01 0x0f ........
0228 0x1d 0x9a 0x89 0x10 0x01 0x05 0x0f 0x5d .......]
0230 0x9f 0x96 0x08 0x0f 0x5d 0x9f 0x96 0x0b ....]...
0238 0x00 0x00 0x01 0x0f 0x1d 0xa2 0x96 0x10 ........
0240 0x00 0x00 0x01 0x0f 0x1d 0xb6 0x96 0x10 ........
0248 0x00 0x00 0x01 0x0f 0x1e 0x9d 0x8e 0x10 ........
0250 0x00 0x00 0x01 0x0f 0x1e 0x9c 0x94 0x10 ........
0258 0x00 0x00 0x01 0x0f 0x1f 0x89 0x80 0x10 ........
0260 0x00 0x00 0x01 0x0f 0x1f 0xad 0x8f 0x10 ........
0268 0x00 0x00 0x01 0x0f 0x1f 0x87 0x96 0x10 ........
0270 0x00 0x00 0x01 0x0f 0x01 0xf1 0x8e 0x10 ........
0278 0x00 0x00 0x01 0x0f 0x01 0xf5 0x8f 0x10 ........
0280 0x00 0x00 0x01 0x0f 0x01 0xf8 0x97 0x10 ........
0288 0x00 0x00 0x01 0x0f 0x02 0xf4 0x86 0x10 ........
0290 0x00 0x00 0x01 0x0f 0x02 0xe5 0x91 0x10 ........
0298 0x00 0x00 0x01 0x0f 0x02 0xe7 0x95 0x10 ........
02A0 0x00 0x00 0x01 0x0f 0x03 0xd1 0x80 0x10 ........
02A8 0x00 0x00 0x01 0x0f 0x03 0xdd 0x87 0x10 ........
02B0 0x0f 0x23 0xd2 0x88 0x0d 0x00 0x04 0x01 .#......
02B8 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........
02C0 0x04 0x02 0x04 0x03 0x03 0x02 0x04 0x02 ........
02C8 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........
02D0 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........
02D8 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........
02E0 0x04 0x02 0x04 0x02 0x04 0x00 0x03 0x00 ........
02E8 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........
02F0 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........
02F8 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x2d .......-
0300 0x0f 0x23 0xd4 0x8b 0x0e 0x00 0x00 0x01 .#......
0308 0x0f 0x03 0xd4 0x8b 0x10 0x01 0x03 0x01 ........
0310 0x03 0x96 0x45 0x15 0x0f 0x03 0xe3 0x8b ..E.....
0318 0x0f 0x9b 0xa0 0xa5 0xaa 0xaf 0xb3 0xb5 ........
0320 0xb8 0x00 0x00 0x01 0x0f 0x03 0xd1 0x8c ........
0328 0x10 0xbb 0xbc 0xbe 0xc1 0xc3 0xc3 0x00 ........
0330 0x00 0x01 0x0f 0x03 0xee 0x8c 0x10 0xc3 ........
0338 0xc3 0xc3 0x00 0x00 0x01 0x0f 0x03 0xc4 ........
0340 0x8d 0x10 0xc3 0xc3 0xc1 0xbe 0xbc 0xba ........
0348 0xbb 0xbc 0xbb 0xbb 0xbc 0xbc 0xbe 0xc2 ........
0350 0xc2 0xc0 0xbd 0xba 0xb6 0xb3 0xaf 0xac ........
0358 0xaa 0xa8 0xa6 0xa3 0xa1 0x9e 0x00 0x00 ........
0360 0x01 0x0f 0x03 0xd4 0x8f 0x10 0x9c 0x9a ........
0368 0x98 0x95 0x93 0x91 0x8d 0x8b 0x8a 0x88 ........
0370 0x85 0x80 0x7c 0x78 0x73 0x6d 0x65 0x5f ..|xsme_
0378 0x5c 0x5b 0x5b 0x59 0x00 0x00 0x01 0x0f \[[Y....
0380 0x03 0xcc 0x91 0x10 0x56 0x52 0x00 0x03 ....VR..
0388 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........
0390 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........
0398 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........
03A0 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........
03A8 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........
03B0 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........
03B8 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........
03C0 0x00 0x03 0x00 0x03 0x00 0x03 0x53 0x0f ......S.
03C8 0x03 0xc0 0x94 0x0e 0x01 0x03 0x01 0x03 ........
03D0 0x13 0x06 0x94 0x16 0x0f 0x03 0xcf 0x94 ........
03D8 0x0f 0x14 0x17 0x1a 0x1c 0x1c 0x1b 0x19 ........
03E0 0x13 0x17 0x13 0x16 0x15 0x15 0x15 0x16 ........
03E8 0x17 0x7b 0x0f 0x03 0xd8 0x95 0x0e 0x19 .{......
03F0 0x1b 0x20 0x88 0x19 0x0f 0x03 0xe6 0x95 . ......
03F8 0x0f 0x0f 0x23 0xe6 0x95 0x08 0x8d 0x8e ..#.....
decoded:
"0000 0x83 0x83 0x83 0x82 0x7f 0x7b 0x77 0x74 .....{wt\n0008 0x71 0x6d 0x69 0x65 0x61 0x5a 0x53 0x4b qmieaZSK\n0010 0x45 0x40 0x3e 0x3c 0x3a 0x38 0x36 0x34 E@><:864\n0018 0x32 0x30 0x2e 0x2c 0x2b 0x2a 0x29 0x28 20.,+*)(\n0020 0x27 0x26 0x25 0x24 0x24 0x23 0x23 0x23 '&%$$###\n0028 0x24 0x25 0x00 0x00 0x01 0x0f 0x1a 0x8d $%......\n0030 0x95 0x10 0x27 0x29 0x2b 0x2e 0x32 0x36 ..')+.26\n0038 0x3a 0x3e 0x41 0x44 0x47 0x49 0x4c 0x4e :>ADGILN\n0040 0x01 0x05 0x0f 0x5a 0x99 0x96 0x08 0x0f ...Z....\n0048 0x5a 0x99 0x96 0x0b 0x0f 0x3a 0x99 0x96 Z....:..\n0050 0x0d 0x00 0x03 0xba 0x0f 0x1a 0xa1 0x96 ........\n0058 0x0e 0x00 0x00 0x01 0x0f 0x1a 0xa1 0x96 ........\n0060 0x10 0x01 0x03 0x01 0x03 0x5d 0xcb 0x11 .....]..\n0068 0x0f 0x1a 0xaf 0x96 0x0f 0x60 0x63 0x66 .....`cf\n0070 0x69 0x6b 0x6d 0x6e 0x70 0x00 0x00 0x01 ikmnp...\n0078 0x0f 0x1a 0x9c 0x97 0x10 0x73 0x76 0x77 .....svw\n0080 0x77 0x77 0x76 0x75 0x74 0x72 0x71 0x6f wwvutrqo\n0088 0x6e 0x6c 0x6b 0x69 0x68 0x66 0x64 0x62 nlkihfdb\n0090 0x60 0x5e 0x5e 0x5d 0x5d 0x5d 0x5d 0x5c `^^]]]]\\\n0098 0x5b 0x5a 0x5a 0x59 0x58 0x57 0x56 0x56 [ZZYXWVV\n00A0 0x55 0x55 0x55 0x54 0x54 0x53 0x53 0x52 UUUTTSSR\n00A8 0x52 0x52 0x52 0x52 0x52 0x52 0x52 0x53 RRRRRRRS\n00B0 0x53 0x53 0x53 0x52 0x51 0x51 0x51 0x50 SSSRQQQP\n00B8 0x51 0x51 0x00 0x03 0xa2 0x0f 0x1b 0xa4 QQ......\n00C0 0x84 0x0e 0x00 0x00 0x01 0x0f 0x1b 0xa4 ........\n00C8 0x84 0x10 0x01 0x03 0x01 0x03 0x51 0xbf ......Q.\n00D0 0x11 0x0f 0x1b 0xb2 0x84 0x0f 0x50 0x50 ......PP\n00D8 0x4f 0x4e 0x4d 0x4c 0x4a 0x49 0x48 0x47 ONMLJIHG\n00E0 0x47 0x46 0x46 0x46 0x46 0x45 0x45 0x45 GFFFFEEE\n00E8 0x45 0x45 0x45 0x44 0x44 0x44 0x44 0x44 EEEDDDDD\n00F0 0x44 0x44 0x43 0x43 0x43 0x42 0x42 0x43 DDCCCBBC\n00F8 0x00 0x00 0x01 0x0f 0x1b 0xab 0x87 0x10 ........\n0100 0x44 0x46 0x13 0x48 0x4b 0x13 0x4d 0x4f DF.HK.MO\n0108 0x51 0x52 0x53 0x4f 0x4a 0x46 0x44 0x42 QRSOJFDB\n0110 0x3f 0x3b 0x39 0x35 0x33 0x30 0x2e 0x2c ?;9530.,\n0118 0x2a 0x29 0x29 0x29 0x29 0x29 0x2a 0x2a *)))))**\n0120 0x2a 0x2b 0x2c 0x2c 0x2d 0x2d 0x2e 0x31 *+,,--.1\n0128 0x34 0x36 0x38 0x3b 0x40 0x47 0x4f 0x58 468;@GOX\n0130 0x60 0x67 0x6d 0x00 0x00 0x01 0x0f 0x1b `gm.....\n0138 0xb0 0x8b 0x10 0x72 0x76 0x79 0x13 0x7a ...rvy.z\n0140 0x7b 0x13 0x7b 0x7a 0x79 0x77 0x75 0x73 {.{zywus\n0148 0x71 0x6f 0x6e 0x6d 0x6b 0x69 0x65 0x61 qonmkiea\n0150 0x5d 0x58 0x54 0x50 0x4e 0x4c 0x4b 0x00 ]XTPNLK.\n0158 0x00 0x01 0x0f 0x1b 0xb9 0x8d 0x10 0x4a .......J\n0160 0x49 0x13 0x49 0x4b 0x4d 0x4f 0x51 0x54 I.IKMOQT\n0168 0x56 0x58 0x5a 0x13 0x5c 0x5e 0x13 0x60 VXZ.\\^.`\n0170 0x62 0x63 0x63 0x00 0x00 0x01 0x0f 0x1b bcc.....\n0178 0x99 0x8f 0x10 0x63 0x62 0x63 0x63 0x63 ...cbccc\n0180 0x64 0x64 0x65 0x68 0x6b 0x6d 0x6c 0x6a ddehkmlj\n0188 0x69 0x00 0x03 0x00 0x03 0x00 0x03 0x00 i.......\n0190 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........\n0198 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........\n01A0 0x03 0x00 0x03 0x75 0x0f 0x1b 0xa8 0x91 ...u....\n01A8 0x0e 0x01 0x03 0x01 0x03 0x01 0x03 0x3a .......:\n01B0 0xba 0x11 0x0f 0x1b 0xb8 0x91 0x0f 0x3c .......<\n01B8 0x3e 0x41 0x44 0x48 0x4b 0x4d 0x4f 0x51 >ADHKMOQ\n01C0 0x52 0x53 0x55 0x56 0x58 0x5a 0x5c 0x5f RSUVXZ\\_\n01C8 0x61 0x61 0x63 0x65 0x66 0x63 0x60 0x5c aacefc`\\\n01D0 0x58 0x13 0x02 0x13 0x02 0x13 0x02 0x13 X.......\n01D8 0x02 0x13 0x02 0x13 0x02 0x0f 0x5b 0xa3 ......[.\n01E0 0x94 0x08 0x0f 0x7b 0xa6 0x94 0x0d 0x0f ...{....\n01E8 0x5b 0xb3 0x94 0x0b 0x00 0x00 0x01 0x0f [.......\n01F0 0x1b 0xad 0x96 0x10 0x00 0x00 0x01 0x0f ........\n01F8 0x1b 0x8f 0x97 0x10 0x00 0x00 0x01 0x0f ........\n0200 0x1c 0xb2 0x87 0x10 0x00 0x00 0x01 0x0f ........\n0208 0x1c 0xaf 0x8d 0x10 0x00 0x00 0x01 0x0f ........\n0210 0x1c 0xb9 0x8f 0x10 0x00 0x00 0x01 0x0f ........\n0218 0x1c 0x9f 0x93 0x10 0x00 0x00 0x01 0x0f ........\n0220 0x1d 0x98 0x88 0x10 0x00 0x00 0x01 0x0f ........\n0228 0x1d 0x9a 0x89 0x10 0x01 0x05 0x0f 0x5d .......]\n0230 0x9f 0x96 0x08 0x0f 0x5d 0x9f 0x96 0x0b ....]...\n0238 0x00 0x00 0x01 0x0f 0x1d 0xa2 0x96 0x10 ........\n0240 0x00 0x00 0x01 0x0f 0x1d 0xb6 0x96 0x10 ........\n0248 0x00 0x00 0x01 0x0f 0x1e 0x9d 0x8e 0x10 ........\n0250 0x00 0x00 0x01 0x0f 0x1e 0x9c 0x94 0x10 ........\n0258 0x00 0x00 0x01 0x0f 0x1f 0x89 0x80 0x10 ........\n0260 0x00 0x00 0x01 0x0f 0x1f 0xad 0x8f 0x10 ........\n0268 0x00 0x00 0x01 0x0f 0x1f 0x87 0x96 0x10 ........\n0270 0x00 0x00 0x01 0x0f 0x01 0xf1 0x8e 0x10 ........\n0278 0x00 0x00 0x01 0x0f 0x01 0xf5 0x8f 0x10 ........\n0280 0x00 0x00 0x01 0x0f 0x01 0xf8 0x97 0x10 ........\n0288 0x00 0x00 0x01 0x0f 0x02 0xf4 0x86 0x10 ........\n0290 0x00 0x00 0x01 0x0f 0x02 0xe5 0x91 0x10 ........\n0298 0x00 0x00 0x01 0x0f 0x02 0xe7 0x95 0x10 ........\n02A0 0x00 0x00 0x01 0x0f 0x03 0xd1 0x80 0x10 ........\n02A8 0x00 0x00 0x01 0x0f 0x03 0xdd 0x87 0x10 ........\n02B0 0x0f 0x23 0xd2 0x88 0x0d 0x00 0x04 0x01 .#......\n02B8 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........\n02C0 0x04 0x02 0x04 0x03 0x03 0x02 0x04 0x02 ........\n02C8 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........\n02D0 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........\n02D8 0x04 0x02 0x04 0x02 0x04 0x02 0x04 0x02 ........\n02E0 0x04 0x02 0x04 0x02 0x04 0x00 0x03 0x00 ........\n02E8 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........\n02F0 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x00 ........\n02F8 0x03 0x00 0x03 0x00 0x03 0x00 0x03 0x2d .......-\n0300 0x0f 0x23 0xd4 0x8b 0x0e 0x00 0x00 0x01 .#......\n0308 0x0f 0x03 0xd4 0x8b 0x10 0x01 0x03 0x01 ........\n0310 0x03 0x96 0x45 0x15 0x0f 0x03 0xe3 0x8b ..E.....\n0318 0x0f 0x9b 0xa0 0xa5 0xaa 0xaf 0xb3 0xb5 ........\n0320 0xb8 0x00 0x00 0x01 0x0f 0x03 0xd1 0x8c ........\n0328 0x10 0xbb 0xbc 0xbe 0xc1 0xc3 0xc3 0x00 ........\n0330 0x00 0x01 0x0f 0x03 0xee 0x8c 0x10 0xc3 ........\n0338 0xc3 0xc3 0x00 0x00 0x01 0x0f 0x03 0xc4 ........\n0340 0x8d 0x10 0xc3 0xc3 0xc1 0xbe 0xbc 0xba ........\n0348 0xbb 0xbc 0xbb 0xbb 0xbc 0xbc 0xbe 0xc2 ........\n0350 0xc2 0xc0 0xbd 0xba 0xb6 0xb3 0xaf 0xac ........\n0358 0xaa 0xa8 0xa6 0xa3 0xa1 0x9e 0x00 0x00 ........\n0360 0x01 0x0f 0x03 0xd4 0x8f 0x10 0x9c 0x9a ........\n0368 0x98 0x95 0x93 0x91 0x8d 0x8b 0x8a 0x88 ........\n0370 0x85 0x80 0x7c 0x78 0x73 0x6d 0x65 0x5f ..|xsme_\n0378 0x5c 0x5b 0x5b 0x59 0x00 0x00 0x01 0x0f \\[[Y....\n0380 0x03 0xcc 0x91 0x10 0x56 0x52 0x00 0x03 ....VR..\n0388 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........\n0390 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........\n0398 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........\n03A0 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........\n03A8 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........\n03B0 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........\n03B8 0x00 0x03 0x00 0x03 0x00 0x03 0x00 0x03 ........\n03C0 0x00 0x03 0x00 0x03 0x00 0x03 0x53 0x0f ......S.\n03C8 0x03 0xc0 0x94 0x0e 0x01 0x03 0x01 0x03 ........\n03D0 0x13 0x06 0x94 0x16 0x0f 0x03 0xcf 0x94 ........\n03D8 0x0f 0x14 0x17 0x1a 0x1c 0x1c 0x1b 0x19 ........\n03E0 0x13 0x17 0x13 0x16 0x15 0x15 0x15 0x16 ........\n03E8 0x17 0x7b 0x0f 0x03 0xd8 0x95 0x0e 0x19 .{......\n03F0 0x1b 0x20 0x88 0x19 0x0f 0x03 0xe6 0x95 . ......\n03F8 0x0f 0x0f 0x23 0xe6 0x95 0x08 0x8d 0x8e ..#....."
end stats
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 1,
'packets.received': 76L,
'packets.transmit': 81L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 279L,
'packets.transmit': 279L}}
and for 57:
(Note the 'bad zero CRC' specifically. This seems to happen every time)
/root/venv-openaps/bin/mm-send-comm.py tweak ReadGlucoseHistory --save --page 57
do stuff with an insulin pump over RF
using Namespace(autoinit=False, begin=None, bytesPerRecord=None, command='tweak', descr=None, dryrun=False, effectTime=None, end=None, init=False, maxRecords=None, name=None, no_postlude=False, no_prelude=False, no_rf_prelude=False, other='ReadGlucoseHistory', page=57, params=None, port='', postfix=None, prefix=None, prefix_path='', save=True, saveall=False, serial='XXXXXXX', session_life=10, verbose=None)
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 5,
'packets.received': 222L,
'packets.transmit': 236L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 787L,
'packets.transmit': 787L}}
PUMP MODEL: ReadPumpModel:size[64]:data:'722'
<class 'decocare.commands.ReadGlucoseHistory'> {'page': 57} WARNING:decocare.stick:bad zero CRC? WARNING:decocare.stick:bad zero CRC? WARNING:decocare.stick:bad zero CRC? WARNING:decocare.stick:bad zero CRC? WARNING:decocare.stick:bad zero CRC? response: ReadGlucoseHistory:size[1024]:[page][57]:data[1024]: hexdump:
0000 0x23 0x25 0x27 0x29 0x2a 0x2a 0x2a 0x2a #%')****
0008 0x2b 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x30 ++,-./00
0010 0x33 0x37 0x3c 0x40 0x45 0x48 0x4b 0x4e 37<@EHKN
0018 0x50 0x51 0x51 0x52 0x52 0x52 0x52 0x51 PQQRRRRQ
0020 0x50 0x4f 0x4e 0x4c 0x0f 0x44 0xe6 0x80 PONL.D..
0028 0x08 0x0f 0x24 0xeb 0x80 0x0c 0x0f 0x04 ..$.....
0030 0xec 0x80 0x0c 0x4b 0x4a 0x49 0x48 0x47 ...KJIHG
0038 0x46 0x45 0x43 0x42 0x40 0x3f 0x3e 0x3d FECB@?>=
0040 0x3d 0x3c 0x3c 0x3c 0x3d 0x3e 0x3f 0x40 =<<<=>?@
0048 0x41 0x41 0x41 0x41 0x40 0x40 0x3f 0x3f AAAA@@??
0050 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f ????????
0058 0x40 0x40 0x41 0x41 0x40 0x40 0x40 0x3f @@AA@@@?
0060 0x3f 0x3f 0x3f 0x3e 0x3e 0x3e 0x3d 0x3d ???>>>==
0068 0x3c 0x3c 0x3c 0x3b 0x3b 0x3a 0x3a 0x3a <<<;;:::
0070 0x39 0x39 0x39 0x39 0x38 0x38 0x38 0x37 99998887
0078 0x37 0x37 0x37 0x37 0x37 0x37 0x37 0x37 77777777
0080 0x38 0x38 0x3b 0x44 0x51 0x57 0x5a 0x58 88;DQWZX
0088 0x55 0x52 0x50 0x4e 0x4d 0x4c 0x4c 0x4c URPNMLLL
0090 0x4c 0x4c 0x4d 0x4e 0x4f 0x4f 0x4f 0x4f LLMNOOOO
0098 0x53 0x59 0x5c 0x5d 0x14 0x0f 0x24 0xdd SY\]..$.
00A0 0x89 0x0e 0x00 0x00 0x01 0x0f 0x04 0xdd ........
00A8 0x89 0x10 0x01 0x03 0x01 0x03 0x01 0x03 ........
00B0 0x82 0x03 0x24 0x0f 0x04 0xed 0x89 0x0f ..$.....
00B8 0x83 0x84 0x84 0x82 0x80 0x7c 0x78 0x74 .....|xt
00C0 0x71 0x71 0x71 0x72 0x00 0x00 0x01 0x0f qqqr....
00C8 0x04 0xee 0x8a 0x10 0x75 0x77 0x7a 0x7d ....uwz}
00D0 0x7e 0x7e 0x7e 0x7e 0x7c 0x7b 0x78 0x76 ~~~~|{xv
00D8 0x74 0x72 0x6f 0x6d 0x6a 0x68 0x65 0x63 tromjhec
00E0 0x61 0x60 0x5f 0x5e 0x5e 0x13 0x5f 0x13 a`_^^._.
00E8 0x5f 0x5f 0x5e 0x5e 0x5e 0x62 0x67 0x6a __^^^bgj
00F0 0x6c 0x6c 0x6c 0x6e 0x71 0x00 0x00 0x01 lllnq...
00F8 0x0f 0x04 0xc0 0x8e 0x10 0x79 0x8a 0xae .....y..
0100 0x0b 0x07 0x22 0x07 0x33 0x07 0x38 0x07 ..".3.8.
0108 0x36 0x07 0x2e 0x07 0x21 0x07 0x17 0x07 6...!...
0110 0x0f 0x07 0x06 0x07 0xc3 0xb7 0x13 0xb4 ........
0118 0xb2 0xaf 0xae 0xac 0xa8 0xa3 0xa2 0xa5 ........
0120 0xa8 0xab 0xb0 0xb6 0xbe 0xc0 0xba 0xb0 ........
0128 0xa6 0x9d 0x97 0x96 0x98 0x9a 0x9c 0xa0 ........
0130 0xa2 0x9d 0x99 0x93 0x8e 0x8b 0x86 0x82 ........
0138 0x7f 0x7f 0x80 0x82 0x84 0x86 0x89 0x8d ........
0140 0x94 0x9b 0xa2 0xa7 0xad 0xb3 0xb8 0xbe ........
0148 0xc3 0x00 0x00 0x01 0x0f 0x04 0xd8 0x93 ........
0150 0x10 0xc7 0x03 0x07 0x08 0x07 0x01 0x00 ........
0158 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0160 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0168 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0170 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0178 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0180 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0188 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0190 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0198 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01A0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01A8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01B0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01B8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01C0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01C8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01D0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01D8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01E0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01E8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01F0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
01F8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0208 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0210 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0218 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0220 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0228 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0230 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0238 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0240 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0248 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0250 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0258 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0260 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0268 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0270 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0278 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0280 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0288 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0290 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0298 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02A0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02A8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02B0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02B8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02C0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02C8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02D0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02D8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02E0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02E8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02F0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
02F8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0300 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0308 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0310 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0318 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0320 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0328 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0330 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0338 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0340 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0348 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0350 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0358 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0360 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0368 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0370 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0378 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0380 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0388 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0390 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
0398 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03A0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03A8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03B0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03B8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03C0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03C8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03D0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03D8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03E0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03E8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03F0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........
03F8 0x00 0x00 0x00 0x00 0x00 0x00 0xb5 0xc5 ........
decoded:
'0000 0x23 0x25 0x27 0x29 0x2a 0x2a 0x2a 0x2a #%\')****\n0008 0x2b 0x2b 0x2c 0x2d 0x2e 0x2f 0x30 0x30 ++,-./00\n0010 0x33 0x37 0x3c 0x40 0x45 0x48 0x4b 0x4e 37<@EHKN\n0018 0x50 0x51 0x51 0x52 0x52 0x52 0x52 0x51 PQQRRRRQ\n0020 0x50 0x4f 0x4e 0x4c 0x0f 0x44 0xe6 0x80 PONL.D..\n0028 0x08 0x0f 0x24 0xeb 0x80 0x0c 0x0f 0x04 ..$.....\n0030 0xec 0x80 0x0c 0x4b 0x4a 0x49 0x48 0x47 ...KJIHG\n0038 0x46 0x45 0x43 0x42 0x40 0x3f 0x3e 0x3d FECB@?>=\n0040 0x3d 0x3c 0x3c 0x3c 0x3d 0x3e 0x3f 0x40 =<<<=>?@\n0048 0x41 0x41 0x41 0x41 0x40 0x40 0x3f 0x3f AAAA@@??\n0050 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f ????????\n0058 0x40 0x40 0x41 0x41 0x40 0x40 0x40 0x3f @@AA@@@?\n0060 0x3f 0x3f 0x3f 0x3e 0x3e 0x3e 0x3d 0x3d ???>>>==\n0068 0x3c 0x3c 0x3c 0x3b 0x3b 0x3a 0x3a 0x3a <<<;;:::\n0070 0x39 0x39 0x39 0x39 0x38 0x38 0x38 0x37 99998887\n0078 0x37 0x37 0x37 0x37 0x37 0x37 0x37 0x37 77777777\n0080 0x38 0x38 0x3b 0x44 0x51 0x57 0x5a 0x58 88;DQWZX\n0088 0x55 0x52 0x50 0x4e 0x4d 0x4c 0x4c 0x4c URPNMLLL\n0090 0x4c 0x4c 0x4d 0x4e 0x4f 0x4f 0x4f 0x4f LLMNOOOO\n0098 0x53 0x59 0x5c 0x5d 0x14 0x0f 0x24 0xdd SY\\]..$.\n00A0 0x89 0x0e 0x00 0x00 0x01 0x0f 0x04 0xdd ........\n00A8 0x89 0x10 0x01 0x03 0x01 0x03 0x01 0x03 ........\n00B0 0x82 0x03 0x24 0x0f 0x04 0xed 0x89 0x0f ..$.....\n00B8 0x83 0x84 0x84 0x82 0x80 0x7c 0x78 0x74 .....|xt\n00C0 0x71 0x71 0x71 0x72 0x00 0x00 0x01 0x0f qqqr....\n00C8 0x04 0xee 0x8a 0x10 0x75 0x77 0x7a 0x7d ....uwz}\n00D0 0x7e 0x7e 0x7e 0x7e 0x7c 0x7b 0x78 0x76 ~~~~|{xv\n00D8 0x74 0x72 0x6f 0x6d 0x6a 0x68 0x65 0x63 tromjhec\n00E0 0x61 0x60 0x5f 0x5e 0x5e 0x13 0x5f 0x13 a`_^^._.\n00E8 0x5f 0x5f 0x5e 0x5e 0x5e 0x62 0x67 0x6a __^^^bgj\n00F0 0x6c 0x6c 0x6c 0x6e 0x71 0x00 0x00 0x01 lllnq...\n00F8 0x0f 0x04 0xc0 0x8e 0x10 0x79 0x8a 0xae .....y..\n0100 0x0b 0x07 0x22 0x07 0x33 0x07 0x38 0x07 ..".3.8.\n0108 0x36 0x07 0x2e 0x07 0x21 0x07 0x17 0x07 6...!...\n0110 0x0f 0x07 0x06 0x07 0xc3 0xb7 0x13 0xb4 ........\n0118 0xb2 0xaf 0xae 0xac 0xa8 0xa3 0xa2 0xa5 ........\n0120 0xa8 0xab 0xb0 0xb6 0xbe 0xc0 0xba 0xb0 ........\n0128 0xa6 0x9d 0x97 0x96 0x98 0x9a 0x9c 0xa0 ........\n0130 0xa2 0x9d 0x99 0x93 0x8e 0x8b 0x86 0x82 ........\n0138 0x7f 0x7f 0x80 0x82 0x84 0x86 0x89 0x8d ........\n0140 0x94 0x9b 0xa2 0xa7 0xad 0xb3 0xb8 0xbe ........\n0148 0xc3 0x00 0x00 0x01 0x0f 0x04 0xd8 0x93 ........\n0150 0x10 0xc7 0x03 0x07 0x08 0x07 0x01 0x00 ........\n0158 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0160 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0168 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0170 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0178 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0180 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0188 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0190 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0198 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01A0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01A8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01B0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01B8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01C0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01C8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01D0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01D8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01E0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01E8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01F0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n01F8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0200 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0208 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0210 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0218 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0220 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0228 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0230 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0238 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0240 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0248 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0250 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0258 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0260 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0268 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0270 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0278 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0280 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0288 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0290 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0298 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02A0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02A8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02B0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02B8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02C0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02C8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02D0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02D8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02E0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02E8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02F0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n02F8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0300 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0308 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0310 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0318 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0320 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0328 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0330 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0338 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0340 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0348 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0350 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0358 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0360 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0368 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0370 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0378 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0380 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0388 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0390 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n0398 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03A0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03A8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03B0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03B8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03C0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03C8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03D0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03D8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03E0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03E8 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03F0 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ........\n03F8 0x00 0x00 0x00 0x00 0x00 0x00 0xb5 0xc5 ........'
end stats
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 5,
'packets.received': 240L,
'packets.transmit': 255L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 813L,
'packets.transmit': 813L}}
It seems like the code fix above isn't reliable, unfortunately. :(
I'm still getting out of date data on the pump
@oskarpearson, when you get out of date data, enter a bg calibration on the pump, after a couple of minutes, you'll start getting data again.
This works for me, it only sucks when a page flips in the middle of the night and I have to wake up for calibration...