diff --git a/bin/publish_stick.sh b/bin/publish_stick.sh new file mode 100755 index 0000000..4d1da5d --- /dev/null +++ b/bin/publish_stick.sh @@ -0,0 +1,37 @@ +#!/bin/bash +# http://www.dest-unreach.org/socat/doc/socat-ttyovertcp.txt +# EXAMPLE FOR REMOTE TTY (TTY OVER TCP) USING SOCAT +# +# You have a host with some serial device like a modem or a bluetooth interface +# (modem server) +# You want to make use of this device on a different host. (client) +# +# 1) on the modem server start a process that accepts network connections and +# links them with the serial device /dev/tty0: +# +# $ socat tcp-l:54321,reuseaddr,fork file:/dev/tty0,nonblock,waitlock=/var/run/tty0.lock +# +# 2) on the client start a process that creates a pseudo tty and links it with a +# tcp connection to the modem server: +# +# $ socat pty,link=$HOME/dev/vmodem0,waitslave tcp:modem-server:54321 +# socat FILE:/dev/ttyUSB0,nonblock,b9600,raw tcp:localhost:4161 + +# +echo "" +SOCAT=$(which socat) +# BLOCK_SIZE="-b 64" +BLOCK_SIZE="" +ADDR1="tcp-l:8080,reuseaddr,fork" +ADDR2="FILE:/dev/ttyUSB0,nonblock,b9600,raw" +# ADDR2="FILE:carelink.ttyUSB0,b9600,raw" +# $ socat pty,link=$HOME/dev/vmodem0,waitslave tcp:modem-server:54321 +SOCAT_ARGS="-d -d ${BLOCK_SIZE} ${ADDR1} ${ADDR2}" + +echo "$SOCAT $SOCAT_ARGS" +$SOCAT $SOCAT_ARGS & +sleep 2 +ssh -f -N -R 0.0.0.0:8080:0.0.0.0:8080 bewest@bewest.io + +##### +# EOF diff --git a/logs/stick.log b/logs/stick.log index 641ee6f..529a18f 100644 --- a/logs/stick.log +++ b/logs/stick.log @@ -1,598 +1,10 @@ -INFO:__main__:howdy! I'm going to take a look at your carelink usb stick. -INFO:link:Link opened serial port: Serial(port='/dev/ttyUSB0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=0.5, xonxoff=False, rtscts=False, dsrdtr=False) -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing ProductInfo:0x04) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x0b 0x2c 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': '0b2c00'} -INFO:__main__:{'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '0b2c00'} -INFO:__main__:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing SignalStrength:0x06 0x00) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0xc4 0x2c 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__::readSignalStrength:196 -INFO:__main__:finished processing SignalStrength:0x06 0x00, 196 -INFO:__main__:we seem to have found a nice signal strength of: 196 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing ProductInfo:0x04) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x0b 0x2c 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': '0b2c00'} -INFO:__main__:{'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '0b2c00'} -INFO:__main__:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing SignalStrength:0x06 0x00) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0xc2 0x2c 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__::readSignalStrength:194 -INFO:__main__:finished processing SignalStrength:0x06 0x00, 194 -INFO:__main__:we seem to have found a nice signal strength of: 194 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing ProductInfo:0x04) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x0b 0x2c 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': '0b2c00'} -INFO:__main__:{'description': 'ComLink II', 'software.version': '1.16', 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], 'product.version': '0.0', 'rf.freq': '916.5Mhz', 'serial': '0b2c00'} -INFO:__main__:get signal strength of Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing SignalStrength:0x06 0x00) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0xbd 0x2c 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__::readSignalStrength:189 -INFO:__main__:finished processing SignalStrength:0x06 0x00, 189 -INFO:__main__:we seem to have found a nice signal strength of: 189 -INFO:__main__:test fetching product info Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing ProductInfo:0x04) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x0b 0x2c 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': '0b2c00'} -INFO:__main__:{'description': 'ComLink II', - 'interfaces': [(0, 'Paradigm RF'), (1, 'USB')], - 'product.version': '0.0', - 'rf.freq': '916.5Mhz', - 'serial': '0b2c00', - '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[] -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing SignalStrength:0x06 0x00) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0xbf 0x2c 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__::readSignalStrength:191 -INFO:__main__:finished processing SignalStrength:0x06 0x00, 191 -INFO:__main__:we seem to have found a nice signal strength of: 191 -INFO:__main__:at this point, we could issue remote commands to a medical - device, let's inspect the interfaces -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing UsbStats:0x05 0x01) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x02 0x81 0x00 0x00 0x02 0x81 0x02 ........ -0010 0x82 0x03 0x92 0x02 0x81 0x04 0x00 0x00 ........ -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': 641L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 641L, 'errors.crc': 0} -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing RadioStats:0x05 0x00) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x00 0x00 .U...... -0008 0x00 0x01 0x7f 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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 RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 405L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 383L, 'errors.crc': 0} -INFO:__main__:{'radio': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 383L, - 'packets.transmit': 405L}, - 'usb': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 641L, - 'packets.transmit': 641L}} -INFO:__main__:CLEAR BUFFERS -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing UsbStats:0x05 0x01) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x02 0x83 0x00 0x00 0x02 0x83 0x02 ........ -0010 0x84 0x03 0x95 0x02 0x83 0x04 0x00 0x00 ........ -0018 0x05 0x00 0x17 0x00 0x00 0x00 0x00 0x00 ........ -0020 0x00 0x01 0x00 0xc7 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': 643L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 643L, 'errors.crc': 0} -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[] processing RadioStats:0x05 0x00) -INFO:__main__:send_force_read: attempt 0/5 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[] 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 0x00 0x00 .U...... -0008 0x00 0x01 0x7f 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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 RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 405L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 383L, 'errors.crc': 0} -DEBUG:__main__:INTERFACE STATS: -{'radio': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 383L, - 'packets.transmit': 405L}, - 'usb': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 643L, - 'packets.transmit': 643L}} -INFO:__main__:XXX:clear_buffer[attempt][0]:segments[0],total_segments[0]:raw[0]:BEGIN :first poll -DEBUG:__main__:]>:STARTING POLL PHASE:attempt:0 -DEBUG:__main__:]>:poll:attempt:0 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[None] poll_size[0] poll_i[0] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 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[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[1] command[]>:poll:attempt:1 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[1] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[1] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[2] command[]>:poll:attempt:2 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[2] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[2] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[3] command[]>:poll:attempt:3 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[3] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[3] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[4] command[]>:poll:attempt:4 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[4] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[4] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[5] command[]>:poll:attempt:5 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[5] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[5] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[6] command[]>:poll:attempt:6 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[6] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[6] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[7] command[]>:poll:attempt:7 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[7] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[7] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[8] command[]>:poll:attempt:8 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[8] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[8] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -DEBUG:__main__:] poll_size[0] poll_i[9] command[]>:poll:attempt:9 -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[9] command[] processing LinkStatus:0x03:error:) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[9] command[] sending LinkStatus:0x03:error:) -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 0x00 0x00 0x00 .U...... -0008 0x05 0x04 0x00 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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__:LinkStatus:0x03:error:LinkStatus:error:True:reason: - -INFO:__main__:finished processing LinkStatus:0x03:error:LinkStatus:error:True:reason:, 0 -DEBUG:__main__:poll zero, sleeping in POLL, .100 -INFO:__main__:Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[9] command[]:STOP POLL after 10 attempts:size:0 -INFO:__main__:XXX:clear_buffer[attempt][0]:segments[0],total_segments[0]:raw[0]:END first poll 0:SHOULD DOWNLOAD :False -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] processing UsbStats:0x05 0x01) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] 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 0x02 0x8f 0x00 0x00 0x02 0x8f 0x02 ........ -0010 0x90 0x03 0xa1 0x02 0x8f 0x04 0x00 0x00 ........ -0018 0x05 0x00 0x17 0x00 0x00 0x00 0x00 0x00 ........ -0020 0x00 0x01 0x00 0xc7 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': 655L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 655L, 'errors.crc': 0} -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] processing RadioStats:0x05 0x00) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] 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 0x00 0x00 .U...... -0008 0x00 0x01 0x7f 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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 RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 405L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 383L, 'errors.crc': 0} -INFO:__main__:XXX:clear_buffer[attempt][0]:END:no data:INTERFACE STATS -{'radio': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 383L, - 'packets.transmit': 405L}, - 'usb': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 655L, - 'packets.transmit': 655L}} -INFO:__main__:NO PENDING BUFFER -INFO:__main__:DONE CLEARING BUFFERS -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] processing UsbStats:0x05 0x01) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] 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 0x02 0x91 0x00 0x00 0x02 0x91 0x02 ........ -0010 0x92 0x03 0xa3 0x02 0x91 0x04 0x00 0x00 ........ -0018 0x05 0x00 0x17 0x00 0x00 0x00 0x00 0x00 ........ -0020 0x00 0x01 0x00 0xc7 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': 657L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 657L, 'errors.crc': 0} -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] processing RadioStats:0x05 0x00) -INFO:__main__:send_force_read: attempt 0/5 send command, read until we get something within some timeout -INFO:__main__:link Stick transmit[None] reader[None] download_i[False] status[] poll_size[0] poll_i[False] command[] 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 0x00 0x00 .U...... -0008 0x00 0x01 0x7f 0x00 0x00 0x01 0x95 0x00 ........ -0010 0x00 0x00 0x26 0x00 0x18 0x01 0x58 0x01 ..&...X. -0018 0x67 0x00 0x17 0x00 0x00 0x00 0x00 0x00 g....... -0020 0x00 0x01 0x00 0xc7 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 RadioStats:0x05 0x00, {'errors.timeouts': 0, 'packets.transmit': 405L, 'errors.naks': 0, 'errors.sequence': 0, 'packets.received': 383L, 'errors.crc': 0} -INFO:__main__:INTERFACE STATS: -{'radio': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 383L, - 'packets.transmit': 405L}, - 'usb': {'errors.crc': 0, - 'errors.naks': 0, - 'errors.sequence': 0, - 'errors.timeouts': 0, - 'packets.received': 657L, - 'packets.transmit': 657L}} -INFO:__main__:howdy! all done looking at the stick -python pump/stick.py /dev/ttyUSB0 - elapsed 0:01.28 - user 0.10 +Traceback (most recent call last): + File "decocare/stick.py", line 15, in + log = logging.getLogger( ).getChild(__name__) +AttributeError: RootLogger instance has no attribute 'getChild' +Command exited with non-zero status 1 +python decocare/stick.py + elapsed 0:00.09 + user 0.03 system 0.05 - CPU 12% (0text+0data 42352max)k + CPU 97% (0text+0data 18528max)k