Skip to content

Latest commit

 

History

History
380 lines (380 loc) · 25.5 KB

latest.md

File metadata and controls

380 lines (380 loc) · 25.5 KB

do stuff with an insulin pump over RF

using Namespace(autoinit=False, basal=True, basals=<open file '<stdout>', mode 'w' at 0x7f3b73c22150>, clock=True, dryrun=False, init=False, minutes=30, no_postlude=False, no_prelude=False, no_rf_prelude=False, parsed_data=<open file '<stdout>', mode 'w' at 0x7f3b73c22150>, port='', reservoir=True, reservoir_archive=<open file '<stdout>', mode 'w' at 0x7f3b73c22150>, rtc_archive=<open file '<stdout>', mode 'w' at 0x7f3b73c22150>, serial='417540', session_life=10, settings=<open file '<stdout>', mode 'w' at 0x7f3b73c22150>, status=True, temp=True, tempbasal=<open file '<stdout>', mode 'w' at 0x7f3b73c22150>, timezone=tzfile('/etc/localtime'), verbose=None)

{'radio': {'errors.crc': 0,
           'errors.naks': 0,
           'errors.sequence': 0,
           'errors.timeouts': 24,
           'packets.received': 0L,
           'packets.transmit': 24L},
 'usb': {'errors.crc': 1,
         'errors.naks': 0,
         'errors.sequence': 0,
         'errors.timeouts': 0,
         'packets.received': 847L,
         'packets.transmit': 848L}}
ERROR:decocare.stick:size (0) is less than 64 and not 15, which may cause an error.
WARNING:decocare.stick:Stick transmit[TransmitPacket:ReadPumpModel:data:unknown] reader[ReadRadio:size:0] download_i[2] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[False] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]:download(attempts[2],expect[0],results[0]:data[0]):BAD AILING
ERROR:decocare.stick:size (14) is less than 64 and not 15, which may cause an error.
WARNING:decocare.stick:Stick transmit[TransmitPacket:ReadPumpModel:data:unknown] reader[ReadRadio:size:14] download_i[4] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[False] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]:download(attempts[4],expect[0],results[0]:data[0]):BAD AILING
WARNING:decocare.stick:Stick transmit[TransmitPacket:ReadPumpModel:data:unknown] reader[ReadRadio:size:14] download_i[5] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[False] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]:download(attempts[5],expect[0],results[0]:data[0]):BAD AILING
WARNING:decocare.stick:Stick transmit[TransmitPacket:ReadPumpModel:data:unknown] reader[ReadRadio:size:14] download_i[6] status[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>] poll_size[0] poll_i[False] command[<LinkStatus:0x03:status:size=??LinkStatus:error:True:reason:[]:size(0)>]:download(attempts[6],expect[0],results[0]:data[0]):BAD AILING

PUMP MODEL: ReadPumpModel:size[64]:data:'754'

response: ReadSettings:size[64]:data:{'low_reservoir_warn_point': 20, 'keypad_lock_status': 0, 'maxBasal': 1600, 'temp_basal': {'percent': 100, 'type': 'Units/hour'}, 'low_reservoir_warn_type': 0, 'insulinConcentration': 50, 'audio_bolus_enable': False, 'variable_bolus_enable': False, 'alarm': {'volume': 2, 'mode': 2}, 'rf_enable': False, 'auto_off_duration_hrs': 0, 'block_enable': False, 'timeformat': 80, 'insulin_action_curve': 2, 'audio_bolus_size': 0, 'selected_pattern': 0, 'patterns_enabled': False, 'maxBolus': 0.0, 'paradigm_enabled': 1} hexdump:

0000   0x00 0x02 0x00 0x01 0x00 0x00 0xfa 0x00    ........
0008   0x50 0x01 0x00 0x00 0x00 0x00 0x00 0x64    P......d
0010   0x01 0x02 0x00 0x14 0x00 0x64 0x00 0x01    .....d..
0018   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0020   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0028   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0030   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0038   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........

decoded:

{'low_reservoir_warn_point': 20, 'keypad_lock_status': 0, 'maxBasal': 1600, 'temp_basal': {'percent': 100, 'type': 'Units/hour'}, 'low_reservoir_warn_type': 0, 'insulinConcentration': 50, 'audio_bolus_enable': False, 'variable_bolus_enable': False, 'alarm': {'volume': 2, 'mode': 2}, 'rf_enable': False, 'auto_off_duration_hrs': 0, 'block_enable': False, 'timeformat': 80, 'insulin_action_curve': 2, 'audio_bolus_size': 0, 'selected_pattern': 0, 'patterns_enabled': False, 'maxBolus': 0.0, 'paradigm_enabled': 1}

{ "low_reservoir_warn_point": 20, "keypad_lock_status": 0, "maxBasal": 1600, "temp_basal": { "percent": 100, "type": "Units/hour" }, "low_reservoir_warn_type": 0, "insulinConcentration": 50, "audio_bolus_enable": false, "variable_bolus_enable": false, "alarm": { "volume": 2, "mode": 2 }, "rf_enable": false, "auto_off_duration_hrs": 0, "block_enable": false, "timeformat": 80, "insulin_action_curve": 2, "audio_bolus_size": 0, "selected_pattern": 0, "patterns_enabled": false, "maxBolus": 0.0, "paradigm_enabled": 1 }response: ReadRTC:size[64]:data:'2015-06-02T20:40:01' hexdump:

0000   0x14 0x28 0x01 0x07 0xdf 0x06 0x02 0x00    .(......
0008   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0010   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0018   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0020   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0028   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0030   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0038   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........

decoded:

'2015-06-02T20:40:01'
{
  "_type": "RTC", 
  "observed_at": "2015-06-02T20:41:59.816534+02:00", 
  "model": "754", 
  "now": "2015-06-02T20:40:01+02:00"
}

response: ReadPumpStatus:size[64]:data:{'status': 'normal', 'bolusing': False, 'suspended': False} hexdump:

0000   0x03 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0008   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0010   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0018   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0020   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0028   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0030   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0038   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........

decoded:

{'status': 'normal', 'bolusing': False, 'suspended': False}

WARNING:decocare.stick:bad zero CRC? response: ReadBasalTemp:size[64]:data:{'duration': 0, 'rate': 0.0, 'temp': 'absolute'} hexdump:

0000   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0008   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0010   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0018   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0020   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0028   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0030   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0038   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........

decoded:

{'duration': 0, 'rate': 0.0, 'temp': 'absolute'}

{ "duration": 0, "rate": 0.0, "temp": "absolute" }response: ReadProfile_STD512:size[64]:data:[{'i': 0, 'start': '00:00:00', 'rate': 1.35, 'minutes': 0}, {'i': 1, 'start': '03:00:00', 'rate': 1.5, 'minutes': 180}, {'i': 2, 'start': '07:00:00', 'rate': 1.5, 'minutes': 420}, {'i': 3, 'start': '12:00:00', 'rate': 0.8, 'minutes': 720}, {'i': 4, 'start': '15:00:00', 'rate': 0.5, 'minutes': 900}, {'i': 5, 'start': '20:00:00', 'rate': 1.6, 'minutes': 1200}] hexdump:

0000   0x36 0x00 0x00 0x3c 0x00 0x06 0x3c 0x00    6..<..<.
0008   0x0e 0x20 0x00 0x18 0x14 0x00 0x1e 0x40    . .....@
0010   0x00 0x28 0x00 0x00 0x00 0x00 0x00 0x00    .(......
0018   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0020   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0028   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0030   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0038   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........

decoded:

[{'i': 0, 'start': '00:00:00', 'rate': 1.35, 'minutes': 0}, {'i': 1, 'start': '03:00:00', 'rate': 1.5, 'minutes': 180}, {'i': 2, 'start': '07:00:00', 'rate': 1.5, 'minutes': 420}, {'i': 3, 'start': '12:00:00', 'rate': 0.8, 'minutes': 720}, {'i': 4, 'start': '15:00:00', 'rate': 0.5, 'minutes': 900}, {'i': 5, 'start': '20:00:00', 'rate': 1.6, 'minutes': 1200}]

[ { "i": 0, "start": "00:00:00", "rate": 1.35, "minutes": 0 }, { "i": 1, "start": "03:00:00", "rate": 1.5, "minutes": 180 }, { "i": 2, "start": "07:00:00", "rate": 1.5, "minutes": 420 }, { "i": 3, "start": "12:00:00", "rate": 0.8, "minutes": 720 }, { "i": 4, "start": "15:00:00", "rate": 0.5, "minutes": 900 }, { "i": 5, "start": "20:00:00", "rate": 1.6, "minutes": 1200 } ]response: ReadRemainingInsulin:size[64]:data:0.0 hexdump:

0000   0x00 0x00 0x1b 0x19 0x00 0x00 0x00 0x00    ........
0008   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0010   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0018   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0020   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0028   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0030   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........
0038   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00    ........

decoded:

0.0

0.0find records since 2015-06-02T20:10:01+02:00 WARNING:decocare.stick:bad zero CRC? response: ReadHistoryData:size[1024]:[page][0]:data[1024]: hexdump:

0000   0x0a 0x31 0x58 0xac 0x36 0x61 0x0f 0x3f    .1X.6a.?
0008   0x06 0x58 0xac 0x36 0x61 0x0f 0xc0 0xb1    .X.6a...
0010   0xfa 0x0b 0x66 0x45 0x4b 0xb1 0x56 0xa1    ..fEK.V.
0018   0x0f 0x0b 0x68 0x00 0x40 0x94 0x57 0xa1    ..h.@.W.
0020   0x0f 0x0a 0xa6 0x46 0x96 0x37 0x61 0x0f    ...F.7a.
0028   0x3f 0x14 0x46 0x96 0xd7 0x61 0x0f 0xc0    ?.F..a..
0030   0xb1 0xfa 0x7b 0x00 0x40 0x80 0x00 0x02    ..{.@...
0038   0x0f 0x00 0x36 0x00 0x07 0x00 0x00 0x0a    ..6.....
0040   0x5c 0x61 0x0f 0x00 0x00 0x00 0x6e 0x61    \a....na
0048   0x0f 0x06 0x00 0x90 0x31 0xb6 0x08 0x00    ....1...
0050   0x00 0x0a 0x5c 0x04 0x80 0x2b 0x05 0xdc    ..\..+..
0058   0x39 0x00 0xbe 0x01 0x8c 0x00 0xdc 0x03    9.......
0060   0x74 0x00 0x00 0x02 0x02 0x02 0x00 0x00    t.......
0068   0x9a 0x02 0x61 0x01 0x1a 0x1f 0x00 0x00    ..a.....
0070   0x00 0x00 0x01 0x01 0x01 0x00 0x00 0x00    ........
0078   0x00 0x00 0x7b 0x01 0x40 0x80 0x03 0x02    ..{.@...
0080   0x0f 0x06 0x3c 0x00 0x7b 0x02 0x40 0x80    ..<.{.@.
0088   0x07 0x02 0x0f 0x0e 0x3c 0x00 0x0a 0xad    ....<...
0090   0x54 0x92 0x28 0x62 0x0f 0x3f 0x15 0x54    T.(b.?.T
0098   0x92 0xa8 0x62 0x0f 0xc0 0xb1 0xfa 0x5b    ..b....[
00A0   0x60 0x62 0x92 0x08 0x02 0x0f 0x14 0x90    `b......
00A8   0x00 0x3c 0x0f 0x3c 0x44 0x00 0x84 0x00    .<.<D...
00B0   0x00 0x00 0x00 0xc8 0x46 0x01 0x00 0xc8    ....F...
00B8   0x00 0xc8 0x00 0x00 0x00 0x62 0x92 0x28    .....b.(
00C0   0x02 0x0f 0x0b 0x65 0xd8 0x41 0xa1 0x49    ...e.A.I
00C8   0xa2 0x0f 0x0a 0xcc 0x5a 0xa2 0x29 0x62    ....Z.)b
00D0   0x0f 0x3f 0x19 0x5a 0xa2 0x89 0x62 0x0f    .?.Z..b.
00D8   0xc0 0xb1 0xfa 0x5b 0x71 0x5e 0xa2 0x09    ...[q^..
00E0   0x02 0x0f 0x00 0x90 0x00 0x3c 0x0f 0x3c    .....<.<
00E8   0x70 0x00 0x00 0x00 0x00 0x3c 0x00 0x34    p....<.4
00F0   0x46 0x5c 0x05 0xc8 0x4c 0x80 0x01 0x00    F\..L...
00F8   0x34 0x00 0x34 0x00 0x3c 0x00 0x5e 0xa2    4.4.<.^.
0100   0x29 0x02 0x0f 0x0b 0x6b 0x00 0x6d 0xaf    )...k.m.
0108   0x49 0xa2 0x0f 0x0b 0x68 0x00 0x75 0xb5    I...h.u.
0110   0x49 0xa2 0x0f 0x0a 0xd0 0x40 0xb7 0x29    I....@.)
0118   0x62 0x0f 0x3f 0x1a 0x40 0xb7 0x09 0x62    b.?.@..b
0120   0x0f 0xc0 0xb1 0xfa 0x5b 0x73 0x47 0xb7    ....[sG.
0128   0x09 0x02 0x0f 0x00 0x90 0x00 0x3c 0x0f    ......<.
0130   0x3c 0x78 0x00 0x00 0x00 0x00 0x48 0x00    <x....H.
0138   0x30 0x46 0x5c 0x08 0x34 0x1b 0x80 0xc8    0F\.4...
0140   0x61 0x80 0x01 0x00 0x30 0x00 0x30 0x00    a...0.0.
0148   0x48 0x00 0x47 0xb7 0x29 0x02 0x0f 0x5b    H.G.)..[
0150   0x00 0x4f 0xad 0x0a 0x62 0x0f 0x2d 0x90    .O..b.-.
0158   0x00 0x3c 0x0f 0x3c 0x00 0x01 0x2c 0x00    .<.<..,.
0160   0x00 0x00 0x01 0x2c 0x46 0x5c 0x0b 0x30    ...,F\.0
0168   0x39 0x80 0x34 0x4d 0x80 0xc8 0x93 0x80    9.4M....
0170   0x01 0x01 0x2c 0x01 0x2c 0x00 0x28 0x00    ..,.,.(.
0178   0x4f 0xad 0x2a 0x62 0x0f 0x0b 0x65 0xdb    O.*b..e.
0180   0x41 0xa1 0x4b 0xa2 0x0f 0x7b 0x03 0x40    A.K..{.@
0188   0x80 0x0c 0x02 0x0f 0x18 0x20 0x00 0x0a    ..... ..
0190   0x7d 0x6e 0xb3 0x2c 0x62 0x0f 0x3f 0x0f    }n.,b.?.
0198   0x6e 0xb3 0xac 0x62 0x0f 0xc0 0xb1 0xfa    n..b....
01A0   0x5b 0x45 0x40 0xb4 0x0c 0x62 0x0f 0x50    [E@..b.P
01A8   0x90 0x00 0x46 0x0f 0x3c 0x00 0x01 0xc8    ..F.<...
01B0   0x00 0x00 0x00 0x01 0xc8 0x46 0x5c 0x11    .....F\.
01B8   0x88 0x7c 0x80 0xa4 0x86 0x80 0x30 0xb8    .|....0.
01C0   0x80 0x34 0xcc 0x80 0xc8 0x12 0x90 0x01    .4......
01C8   0x01 0xc8 0x01 0xc8 0x00 0x00 0x00 0x40    .......@
01D0   0xb4 0x2c 0x62 0x0f 0x7b 0x04 0x40 0x80    .,b.{.@.
01D8   0x0f 0x02 0x0f 0x1e 0x14 0x00 0x0a 0x43    .......C
01E0   0x44 0x8e 0x2f 0x62 0x0f 0x3f 0x08 0x44    D./b.?.D
01E8   0x8e 0x6f 0x62 0x0f 0xc0 0xb1 0xfa 0x0b    .ob.....
01F0   0x66 0x46 0x4b 0x9d 0x4f 0xa2 0x0f 0x0b    fFK.O...
01F8   0x65 0xda 0x6d 0xab 0x50 0xa2 0x0f 0x5b    e.m.P..[
0200   0x00 0x40 0xac 0x10 0x62 0x0f 0x1e 0x90    .@..b...
0208   0x00 0x46 0x0f 0x3c 0x00 0x00 0xa8 0x00    .F.<....
0210   0x00 0x00 0x00 0xa8 0x46 0x5c 0x11 0xc8    ....F\..
0218   0xec 0x81 0x88 0x64 0x90 0xa4 0x6e 0x90    ...d..n.
0220   0x30 0xa0 0x90 0x34 0xb4 0x90 0x01 0x00    0..4....
0228   0xa8 0x00 0xa8 0x00 0x00 0x00 0x40 0xac    ......@.
0230   0x30 0x62 0x0f 0x5b 0x00 0x59 0x8c 0x11    0b.[.Y..
0238   0x62 0x0f 0x1e 0x90 0x00 0x46 0x0f 0x3c    b....F.<
0240   0x00 0x00 0xa8 0x00 0x00 0x00 0x00 0xa8    ........
0248   0x46 0x5c 0x14 0xa8 0x22 0x80 0xc8 0x08    F\.."...
0250   0x91 0x88 0x80 0x90 0xa4 0x8a 0x90 0x30    .......0
0258   0xbc 0x90 0x34 0xd0 0x90 0x01 0x00 0xa8    ..4.....
0260   0x00 0xa8 0x00 0x84 0x00 0x59 0x8c 0x31    .....Y.1
0268   0x62 0x0f 0x1e 0x01 0x6c 0xa9 0x11 0x42    b...l..B
0270   0x0f 0x1f 0x20 0x63 0xad 0x11 0x42 0x0f    .. c..B.
0278   0x7b 0x04 0x63 0xad 0x11 0x02 0x0f 0x1e    {.c.....
0280   0x14 0x00 0x0a 0xa0 0x52 0x99 0x32 0x62    ....R.2b
0288   0x0f 0x3f 0x14 0x52 0x99 0x12 0x62 0x0f    .?.R..b.
0290   0xc0 0xb1 0xfa 0x5b 0x59 0x6d 0x99 0x12    ...[Ym..
0298   0x62 0x0f 0x64 0x90 0x00 0x3c 0x0f 0x3c    b.d..<.<
02A0   0x30 0x02 0x98 0x00 0x00 0x40 0x02 0x98    0....@..
02A8   0x46 0x5c 0x11 0xa8 0x4d 0x80 0xa8 0x6b    F\..M..k
02B0   0x80 0xc8 0x51 0x91 0x88 0xc9 0x90 0xa4    ..Q.....
02B8   0xd3 0x90 0x01 0x02 0x98 0x02 0x98 0x00    ........
02C0   0x40 0x00 0x6d 0x99 0x32 0x62 0x0f 0x0b    @.m.2b..
02C8   0x66 0x46 0x41 0xa1 0x53 0xa2 0x0f 0x7b    fFA.S..{
02D0   0x05 0x40 0x80 0x14 0x02 0x0f 0x28 0x40    .@....(@
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 0xe5 0x35    .......5

decoded:

'0000   0x0a 0x31 0x58 0xac 0x36 0x61 0x0f 0x3f    .1X.6a.?\n0008   0x06 0x58 0xac 0x36 0x61 0x0f 0xc0 0xb1    .X.6a...\n0010   0xfa 0x0b 0x66 0x45 0x4b 0xb1 0x56 0xa1    ..fEK.V.\n0018   0x0f 0x0b 0x68 0x00 0x40 0x94 0x57 0xa1    ..h.@.W.\n0020   0x0f 0x0a 0xa6 0x46 0x96 0x37 0x61 0x0f    ...F.7a.\n0028   0x3f 0x14 0x46 0x96 0xd7 0x61 0x0f 0xc0    ?.F..a..\n0030   0xb1 0xfa 0x7b 0x00 0x40 0x80 0x00 0x02    ..{.@...\n0038   0x0f 0x00 0x36 0x00 0x07 0x00 0x00 0x0a    ..6.....\n0040   0x5c 0x61 0x0f 0x00 0x00 0x00 0x6e 0x61    \\a....na\n0048   0x0f 0x06 0x00 0x90 0x31 0xb6 0x08 0x00    ....1...\n0050   0x00 0x0a 0x5c 0x04 0x80 0x2b 0x05 0xdc    ..\\..+..\n0058   0x39 0x00 0xbe 0x01 0x8c 0x00 0xdc 0x03    9.......\n0060   0x74 0x00 0x00 0x02 0x02 0x02 0x00 0x00    t.......\n0068   0x9a 0x02 0x61 0x01 0x1a 0x1f 0x00 0x00    ..a.....\n0070   0x00 0x00 0x01 0x01 0x01 0x00 0x00 0x00    ........\n0078   0x00 0x00 0x7b 0x01 0x40 0x80 0x03 0x02    ..{.@...\n0080   0x0f 0x06 0x3c 0x00 0x7b 0x02 0x40 0x80    ..<.{.@.\n0088   0x07 0x02 0x0f 0x0e 0x3c 0x00 0x0a 0xad    ....<...\n0090   0x54 0x92 0x28 0x62 0x0f 0x3f 0x15 0x54    T.(b.?.T\n0098   0x92 0xa8 0x62 0x0f 0xc0 0xb1 0xfa 0x5b    ..b....[\n00A0   0x60 0x62 0x92 0x08 0x02 0x0f 0x14 0x90    `b......\n00A8   0x00 0x3c 0x0f 0x3c 0x44 0x00 0x84 0x00    .<.<D...\n00B0   0x00 0x00 0x00 0xc8 0x46 0x01 0x00 0xc8    ....F...\n00B8   0x00 0xc8 0x00 0x00 0x00 0x62 0x92 0x28    .....b.(\n00C0   0x02 0x0f 0x0b 0x65 0xd8 0x41 0xa1 0x49    ...e.A.I\n00C8   0xa2 0x0f 0x0a 0xcc 0x5a 0xa2 0x29 0x62    ....Z.)b\n00D0   0x0f 0x3f 0x19 0x5a 0xa2 0x89 0x62 0x0f    .?.Z..b.\n00D8   0xc0 0xb1 0xfa 0x5b 0x71 0x5e 0xa2 0x09    ...[q^..\n00E0   0x02 0x0f 0x00 0x90 0x00 0x3c 0x0f 0x3c    .....<.<\n00E8   0x70 0x00 0x00 0x00 0x00 0x3c 0x00 0x34    p....<.4\n00F0   0x46 0x5c 0x05 0xc8 0x4c 0x80 0x01 0x00    F\\..L...\n00F8   0x34 0x00 0x34 0x00 0x3c 0x00 0x5e 0xa2    4.4.<.^.\n0100   0x29 0x02 0x0f 0x0b 0x6b 0x00 0x6d 0xaf    )...k.m.\n0108   0x49 0xa2 0x0f 0x0b 0x68 0x00 0x75 0xb5    I...h.u.\n0110   0x49 0xa2 0x0f 0x0a 0xd0 0x40 0xb7 0x29    I....@.)\n0118   0x62 0x0f 0x3f 0x1a 0x40 0xb7 0x09 0x62    b.?.@..b\n0120   0x0f 0xc0 0xb1 0xfa 0x5b 0x73 0x47 0xb7    ....[sG.\n0128   0x09 0x02 0x0f 0x00 0x90 0x00 0x3c 0x0f    ......<.\n0130   0x3c 0x78 0x00 0x00 0x00 0x00 0x48 0x00    <x....H.\n0138   0x30 0x46 0x5c 0x08 0x34 0x1b 0x80 0xc8    0F\\.4...\n0140   0x61 0x80 0x01 0x00 0x30 0x00 0x30 0x00    a...0.0.\n0148   0x48 0x00 0x47 0xb7 0x29 0x02 0x0f 0x5b    H.G.)..[\n0150   0x00 0x4f 0xad 0x0a 0x62 0x0f 0x2d 0x90    .O..b.-.\n0158   0x00 0x3c 0x0f 0x3c 0x00 0x01 0x2c 0x00    .<.<..,.\n0160   0x00 0x00 0x01 0x2c 0x46 0x5c 0x0b 0x30    ...,F\\.0\n0168   0x39 0x80 0x34 0x4d 0x80 0xc8 0x93 0x80    9.4M....\n0170   0x01 0x01 0x2c 0x01 0x2c 0x00 0x28 0x00    ..,.,.(.\n0178   0x4f 0xad 0x2a 0x62 0x0f 0x0b 0x65 0xdb    O.*b..e.\n0180   0x41 0xa1 0x4b 0xa2 0x0f 0x7b 0x03 0x40    A.K..{.@\n0188   0x80 0x0c 0x02 0x0f 0x18 0x20 0x00 0x0a    ..... ..\n0190   0x7d 0x6e 0xb3 0x2c 0x62 0x0f 0x3f 0x0f    }n.,b.?.\n0198   0x6e 0xb3 0xac 0x62 0x0f 0xc0 0xb1 0xfa    n..b....\n01A0   0x5b 0x45 0x40 0xb4 0x0c 0x62 0x0f 0x50    [E@..b.P\n01A8   0x90 0x00 0x46 0x0f 0x3c 0x00 0x01 0xc8    ..F.<...\n01B0   0x00 0x00 0x00 0x01 0xc8 0x46 0x5c 0x11    .....F\\.\n01B8   0x88 0x7c 0x80 0xa4 0x86 0x80 0x30 0xb8    .|....0.\n01C0   0x80 0x34 0xcc 0x80 0xc8 0x12 0x90 0x01    .4......\n01C8   0x01 0xc8 0x01 0xc8 0x00 0x00 0x00 0x40    .......@\n01D0   0xb4 0x2c 0x62 0x0f 0x7b 0x04 0x40 0x80    .,b.{.@.\n01D8   0x0f 0x02 0x0f 0x1e 0x14 0x00 0x0a 0x43    .......C\n01E0   0x44 0x8e 0x2f 0x62 0x0f 0x3f 0x08 0x44    D./b.?.D\n01E8   0x8e 0x6f 0x62 0x0f 0xc0 0xb1 0xfa 0x0b    .ob.....\n01F0   0x66 0x46 0x4b 0x9d 0x4f 0xa2 0x0f 0x0b    fFK.O...\n01F8   0x65 0xda 0x6d 0xab 0x50 0xa2 0x0f 0x5b    e.m.P..[\n0200   0x00 0x40 0xac 0x10 0x62 0x0f 0x1e 0x90    .@..b...\n0208   0x00 0x46 0x0f 0x3c 0x00 0x00 0xa8 0x00    .F.<....\n0210   0x00 0x00 0x00 0xa8 0x46 0x5c 0x11 0xc8    ....F\\..\n0218   0xec 0x81 0x88 0x64 0x90 0xa4 0x6e 0x90    ...d..n.\n0220   0x30 0xa0 0x90 0x34 0xb4 0x90 0x01 0x00    0..4....\n0228   0xa8 0x00 0xa8 0x00 0x00 0x00 0x40 0xac    ......@.\n0230   0x30 0x62 0x0f 0x5b 0x00 0x59 0x8c 0x11    0b.[.Y..\n0238   0x62 0x0f 0x1e 0x90 0x00 0x46 0x0f 0x3c    b....F.<\n0240   0x00 0x00 0xa8 0x00 0x00 0x00 0x00 0xa8    ........\n0248   0x46 0x5c 0x14 0xa8 0x22 0x80 0xc8 0x08    F\\.."...\n0250   0x91 0x88 0x80 0x90 0xa4 0x8a 0x90 0x30    .......0\n0258   0xbc 0x90 0x34 0xd0 0x90 0x01 0x00 0xa8    ..4.....\n0260   0x00 0xa8 0x00 0x84 0x00 0x59 0x8c 0x31    .....Y.1\n0268   0x62 0x0f 0x1e 0x01 0x6c 0xa9 0x11 0x42    b...l..B\n0270   0x0f 0x1f 0x20 0x63 0xad 0x11 0x42 0x0f    .. c..B.\n0278   0x7b 0x04 0x63 0xad 0x11 0x02 0x0f 0x1e    {.c.....\n0280   0x14 0x00 0x0a 0xa0 0x52 0x99 0x32 0x62    ....R.2b\n0288   0x0f 0x3f 0x14 0x52 0x99 0x12 0x62 0x0f    .?.R..b.\n0290   0xc0 0xb1 0xfa 0x5b 0x59 0x6d 0x99 0x12    ...[Ym..\n0298   0x62 0x0f 0x64 0x90 0x00 0x3c 0x0f 0x3c    b.d..<.<\n02A0   0x30 0x02 0x98 0x00 0x00 0x40 0x02 0x98    0....@..\n02A8   0x46 0x5c 0x11 0xa8 0x4d 0x80 0xa8 0x6b    F\\..M..k\n02B0   0x80 0xc8 0x51 0x91 0x88 0xc9 0x90 0xa4    ..Q.....\n02B8   0xd3 0x90 0x01 0x02 0x98 0x02 0x98 0x00    ........\n02C0   0x40 0x00 0x6d 0x99 0x32 0x62 0x0f 0x0b    @.m.2b..\n02C8   0x66 0x46 0x41 0xa1 0x53 0xa2 0x0f 0x7b    fFA.S..{\n02D0   0x05 0x40 0x80 0x14 0x02 0x0f 0x28 0x40    .@....(@\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 0xe5 0x35    .......5'

SINCE 2015-06-02T20:10:01+02:00

  • found record MResultTotals 2015-06-02T00:00:00
  • should quit True False
  • found record BasalProfileStart 2015-06-02T00:00:00
  • should quit True True
  • found record BGReceived 2015-06-01T23:22:06
  • should quit True True
  • found record CalBGForPH 2015-06-01T23:22:06
  • should quit True True
  • found record SensorAlert 2015-06-01T23:20:00
  • should quit True True
  • found record SensorAlert 2015-06-01T22:49:11
  • should quit True True
  • found record BGReceived 2015-06-01T22:44:24
  • should quit True True
  • found record CalBGForPH 2015-06-01T22:44:24
  • should quit True True
[]

end stats

{'radio': {'errors.crc': 0,
           'errors.naks': 0,
           'errors.sequence': 0,
           'errors.timeouts': 28,
           'packets.received': 24L,
           'packets.transmit': 53L},
 'usb': {'errors.crc': 1,
         'errors.naks': 0,
         'errors.sequence': 0,
         'errors.timeouts': 0,
         'packets.received': 984L,
         'packets.transmit': 985L}}