Skip to content

Instantly share code, notes, and snippets.

@jasoncalabrese
Created January 19, 2016 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasoncalabrese/2ed94d52bf76161cd21d to your computer and use it in GitHub Desktop.
Save jasoncalabrese/2ed94d52bf76161cd21d to your computer and use it in GitHub Desktop.
mm-stick diagnose after first day at school
$ mm-stick diagnose
INFO:__main__:howdy! I'm going to take a look at your carelink usb stick.
INFO:decocare.link:Link opened serial port: Serial<id=0x768f5df0, open=True>(port='/dev/serial/by-id/usb-0a21_8001-if00-port0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=0.5, xonxoff=False, rtscts=False, dsrdtr=False)
INFO:__main__:PROCESS:OPEN:0.108
INFO:__main__:PROCESS:START:1.063:ProductInfo:0x04
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x08 0x27 0x00 0x00 0x00 .U..'...
0008 0x00 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing ProductInfo:0x04, {'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '082700'}
INFO:__main__:PROCESS:END:14.687:ProductInfo:0x04
INFO:__main__:{'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '082700'}
INFO:__main__:PROCESS:START:16.902:ProductInfo:0x04
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x08 0x27 0x00 0x00 0x00 .U..'...
0008 0x00 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing ProductInfo:0x04, {'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '082700'}
INFO:__main__:PROCESS:END:27.861:ProductInfo:0x04
INFO:__main__:{'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '082700'}
INFO:__main__:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>]
INFO:__main__:PROCESS:START:30.606:SignalStrength:0x06 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0xc0 0x27 0x00 0x00 0x00 .U..'...
0008 0x00 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:192
INFO:__main__:finished processing SignalStrength:0x06 0x00, 192
INFO:__main__:PROCESS:END:42.344:SignalStrength:0x06 0x00
INFO:__main__:we seem to have found a nice signal strength of: 192
INFO:__main__:test fetching product info Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>]
INFO:__main__:PROCESS:START:45.17:ProductInfo:0x04
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] processing ProductInfo:0x04)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>] sending ProductInfo:0x04)
INFO:root:usb.write.len: 3
0000 0x04 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x08 0x27 0x00 0x00 0x00 .U..'...
0008 0x00 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing ProductInfo:0x04, {'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '082700'}
INFO:__main__:PROCESS:END:57.965:ProductInfo:0x04
INFO:__main__:{'description': 'ComLink II',
'interfaces': [(0, 'Paradigm RF'), (1, 'USB')],
'product.version': '0.0',
'rf.freq': '916.5Mhz',
'serial': '082700',
'software.version': '1.16'}
INFO:__main__:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<ProductInfo:0x04:size(64)>]
INFO:__main__:PROCESS:START:64.694:SignalStrength:0x06 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] processing SignalStrength:0x06 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<SignalStrength:0x06 0x00:size(64)>] sending SignalStrength:0x06 0x00)
INFO:root:usb.write.len: 3
0000 0x06 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0xc1 0x27 0x00 0x00 0x00 .U..'...
0008 0x00 0x43 0x6f 0x6d 0x4c 0x69 0x6e 0x6b .ComLink
0010 0x20 0x49 0x49 0x01 0x10 0x02 0x00 0x01 II.....
0018 0x01 0x03 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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:<SignalStrength:0x06 0x00:size(64)>:readSignalStrength:193
INFO:__main__:finished processing SignalStrength:0x06 0x00, 193
INFO:__main__:PROCESS:END:77.716:SignalStrength:0x06 0x00
INFO:__main__:we seem to have found a nice signal strength of: 193
INFO:__main__:at this point, we could issue remote commands to a medical
device, let's inspect the interfaces
INFO:__main__:PROCESS:START:80.406:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xa1 0x00 0x00 0x4a 0xa1 0x4a .J...J.J
0010 0xa2 0x93 0xbf 0x4a 0xa1 0x04 0x00 0x00 ...J....
0018 0x05 0x03 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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19105L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19105L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:92.824:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:93.877:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:105.974:RadioStats:0x05 0x00
INFO:__main__:{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19105L,
'packets.transmit': 19105L}}
INFO:__main__:CLEAR BUFFERS
INFO:__main__:PROCESS:START:113.854:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xa3 0x00 0x00 0x4a 0xa3 0x4a .J...J.J
0010 0xa4 0x93 0xc3 0x4a 0xa3 0x04 0x00 0x00 ...J....
0018 0x05 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19107L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19107L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:122.863:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:123.658:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:132.775:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19107L,
'packets.transmit': 19107L}}
INFO:__main__:XXX:clear_buffer[attempt][0]:segments[0],total_segments[0]:raw[0]:BEGIN :first poll
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<RadioStats:0x05 0x00:size(64)>]>:STARTING POLL PHASE:attempt:0
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[None] poll_size[0] poll_i[0] command[<RadioStats:0x05 0x00:size(64)>]>:poll:attempt:0
INFO:__main__:PROCESS:START:142.167:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=14
INFO:__main__:finished processing LinkStatus:0x03:status:size=14, 14
INFO:__main__:PROCESS:END:152.087:LinkStatus:0x03:status:size=14
INFO:__main__:Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[0] command[<LinkStatus:0x03:status:size=14:size(14)>]:STOP POLL after 1 attempts:size:14
INFO:__main__:XXX:clear_buffer[attempt][0]:segments[0],total_segments[0]:raw[0]:END first poll 14:SHOULD DOWNLOAD :True
INFO:__main__:XXX:clear_buffer[attempt][0]:download the size? 14:segments[0],total_segments[0]:raw[0]
INFO:__main__:PROCESS:START:154.877:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xa6 0x00 0x00 0x4a 0xa6 0x4a .J...J.J
0010 0xa7 0x93 0xc9 0x4a 0xa6 0x04 0x00 0x00 ...J....
0018 0x05 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19110L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19110L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:163.928:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:164.644:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:173.403:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19110L,
'packets.transmit': 19110L}}
INFO:__main__:PROCESS:START:180.595:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xa8 0x00 0x00 0x4a 0xa8 0x4a .J...J.J
0010 0xa9 0x93 0xcd 0x4a 0xa8 0x04 0x00 0x00 ...J....
0018 0x05 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19112L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19112L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:189.682:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:190.421:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:199.372:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19112L,
'packets.transmit': 19112L}}
INFO:__main__:XXX:clear_buffer[attempt][1]:segments[0],total_segments[0]:raw[0]:BEGIN :first poll
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>]>:STARTING POLL PHASE:attempt:0
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<RadioStats:0x05 0x00:size(64)>]>:poll:attempt:0
INFO:__main__:PROCESS:START:209.075:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=14
INFO:__main__:finished processing LinkStatus:0x03:status:size=14, 14
INFO:__main__:PROCESS:END:218.965:LinkStatus:0x03:status:size=14
INFO:__main__:Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[0] command[<LinkStatus:0x03:status:size=14:size(14)>]:STOP POLL after 1 attempts:size:14
INFO:__main__:XXX:clear_buffer[attempt][1]:segments[0],total_segments[0]:raw[0]:END first poll 14:SHOULD DOWNLOAD :True
INFO:__main__:XXX:clear_buffer[attempt][1]:download the size? 14:segments[0],total_segments[0]:raw[0]
INFO:__main__:PROCESS:START:221.481:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xab 0x00 0x00 0x4a 0xab 0x4a .J...J.J
0010 0xac 0x93 0xd3 0x4a 0xab 0x04 0x00 0x00 ...J....
0018 0x05 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19115L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19115L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:230.139:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:230.92:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:240.846:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19115L,
'packets.transmit': 19115L}}
INFO:__main__:PROCESS:START:249.765:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xad 0x00 0x00 0x4a 0xad 0x4a .J...J.J
0010 0xae 0x93 0xd7 0x4a 0xad 0x04 0x00 0x00 ...J....
0018 0x05 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19117L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19117L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:259.224:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:259.937:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:268.897:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19117L,
'packets.transmit': 19117L}}
INFO:__main__:XXX:clear_buffer[attempt][2]:segments[0],total_segments[0]:raw[0]:BEGIN :first poll
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>]>:STARTING POLL PHASE:attempt:0
DEBUG:__main__:<Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<RadioStats:0x05 0x00:size(64)>]>:poll:attempt:0
INFO:__main__:PROCESS:START:278.367:LinkStatus:0x03:status:size=64
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] processing LinkStatus:0x03:status:size=64)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[0] poll_i[0] command[<LinkStatus:0x03:status:size=64:size(64)>] sending LinkStatus:0x03:status:size=64)
INFO:root:usb.write.len: 3
0000 0x03 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x02 0x01 0x00 0x0e .U......
0008 0x05 0x04 0x00 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:LinkStatus:0x03:status:size=14
INFO:__main__:finished processing LinkStatus:0x03:status:size=14, 14
INFO:__main__:PROCESS:END:288.116:LinkStatus:0x03:status:size=14
INFO:__main__:Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[0] command[<LinkStatus:0x03:status:size=14:size(14)>]:STOP POLL after 1 attempts:size:14
INFO:__main__:XXX:clear_buffer[attempt][2]:segments[0],total_segments[0]:raw[0]:END first poll 14:SHOULD DOWNLOAD :True
INFO:__main__:XXX:clear_buffer[attempt][2]:download the size? 14:segments[0],total_segments[0]:raw[0]
INFO:__main__:PROCESS:START:290.5:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xb0 0x00 0x00 0x4a 0xb0 0x4a .J...J.J
0010 0xb1 0x93 0xdd 0x4a 0xb0 0x04 0x00 0x00 ...J....
0018 0x05 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19120L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19120L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:298.923:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:299.618:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:307.911:RadioStats:0x05 0x00
DEBUG:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19120L,
'packets.transmit': 19120L}}
INFO:__main__:NO PENDING BUFFER
INFO:__main__:DONE CLEARING BUFFERS
INFO:__main__:PROCESS:START:315.879:UsbStats:0x05 0x01
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] processing UsbStats:0x05 0x01)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<UsbStats:0x05 0x01:size(64)>] sending UsbStats:0x05 0x01)
INFO:root:usb.write.len: 3
0000 0x05 0x01 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0x00 0x00 .U......
0008 0x00 0x4a 0xb2 0x00 0x00 0x4a 0xb2 0x4a .J...J.J
0010 0xb3 0x93 0xe1 0x4a 0xb2 0x04 0x00 0x00 ...J....
0018 0x05 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing UsbStats:0x05 0x01, {'errors.timeouts': 0, 'packets.transmit': 19122L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 19122L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:324.897:UsbStats:0x05 0x01
INFO:__main__:PROCESS:START:325.634:RadioStats:0x05 0x00
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] processing RadioStats:0x05 0x00)
INFO:__main__:send_force_read: attempt 0/1 send command, read until we get something within some timeout
INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[<LinkStatus:0x03:status:size=14:size(14)>] poll_size[14] poll_i[False] command[<RadioStats:0x05 0x00:size(64)>] sending RadioStats:0x05 0x00)
INFO:root:usb.write.len: 3
0000 0x05 0x00 0x00 ...
DEBUG:__main__:sleeping 0.001
INFO:root:usb.read.len: 64
INFO:root:usb.read.raw:
0000 0x01 0x55 0x00 0x00 0x00 0x00 0xff 0x00 .U......
0008 0x00 0x00 0xd9 0x00 0x00 0x03 0x8b 0x00 ........
0010 0x00 0x02 0xfc 0x00 0x15 0x00 0x7f 0x00 ........
0018 0xc4 0x00 0x10 0x00 0x00 0x00 0x00 0x00 ........
0020 0x00 0x01 0x00 0x4e 0x00 0x00 0x00 0x00 ...N....
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 ........
INFO:__main__:quit send_force_read, found len: 64 expected 64 after 0 attempts
INFO:__main__:finished processing RadioStats:0x05 0x00, {'errors.timeouts': 255, 'packets.transmit': 907L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 217L, 'errors.crc': 0}
INFO:__main__:PROCESS:END:334.742:RadioStats:0x05 0x00
INFO:__main__:INTERFACE STATS:
{'radio': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 255,
'packets.received': 217L,
'packets.transmit': 907L},
'usb': {'errors.crc': 0,
'errors.naks': 0,
'errors.sequence': 0,
'errors.timeouts': 0,
'packets.received': 19122L,
'packets.transmit': 19122L}}
INFO:__main__:howdy! all done looking at the stick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment