You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'packets.transmit': 287L}}
INFO:__main__:BEGIN POWER CONTROL
PowerControl SERIAL <SERIAL>
INFO:__main__:execute attempt: 1
INFO:__main__:session transferring packet
INFO:stick:transmit_packet:write:<TransmitPacket:PowerControl:data:unknown>
INFO:stick:PROCESS:START:183.433:TransmitPacket:PowerControl:data:unknown
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:PowerControl:data:unknown>] processing TransmitPacket:PowerControl:data:unknown)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[TransmitPacket:PowerControl:data:unknown] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:PowerControl:data:unknown>] sending TransmitPacket:PowerControl:data:unknown)
Traceback (most recent call last):
File "decocare/session.py", line 126, in <module>
session.power_control( )
File "decocare/session.py", line 80, in power_control
response = self.query(commands.PowerControl)
File "decocare/session.py", line 103, in query
self.execute(command)
File "decocare/session.py", line 100, in execute
return super(type(self), self).execute(command)
File "decocare/session.py", line 34, in execute
self.transfer( )
File "decocare/session.py", line 69, in transfer
return self.stick.transmit_packet(self.command)
File "/home/root/decoding-carelink/decocare/stick.py", line 844, in transmit_packet
result = self.process( )
File "/home/root/decoding-carelink/decocare/stick.py", line 483, in process
--
'errors.timeouts': 0,
'packets.received': 292L,
'packets.transmit': 292L}}
INFO:session:execute attempt: 1
INFO:session:session transferring packet
INFO:stick:transmit_packet:write:<TransmitPacket:ReadPumpModel:data:unknown>
INFO:stick:PROCESS:START:179.271:TransmitPacket:ReadPumpModel:data:unknown
INFO:stick:link Stick transmit[TransmitPacket:ReadPumpModel:data:unknown] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:ReadPumpModel:data:unknown>] processing TransmitPacket:ReadPumpModel:data:unknown)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[TransmitPacket:ReadPumpModel:data:unknown] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:ReadPumpModel:data:unknown>] sending TransmitPacket:ReadPumpModel:data:unknown)
Traceback (most recent call last):
File "decocare/commands.py", line 1485, in <module>
log.info('PUMP MODEL: %s' % session.read_model( ))
File "/home/root/decoding-carelink/decocare/session.py", line 88, in read_model
model = self.query(commands.ReadPumpModel)
File "/home/root/decoding-carelink/decocare/session.py", line 103, in query
self.execute(command)
File "/home/root/decoding-carelink/decocare/session.py", line 100, in execute
return super(type(self), self).execute(command)
File "/home/root/decoding-carelink/decocare/session.py", line 34, in execute
self.transfer( )
File "/home/root/decoding-carelink/decocare/session.py", line 69, in transfer
return self.stick.transmit_packet(self.command)
File "/home/root/decoding-carelink/decocare/stick.py", line 844, in transmit_packet
result = self.process( )
File "/home/root/decoding-carelink/decocare/stick.py", line 483, in process
--
INFO:stick:PROCESS:END:93.592:SignalStrength:0x06 0x00
INFO:stick:we seem to have found a nice signal strength of: 189
INFO:__main__:read HISTORY DATA
INFO:session:execute attempt: 1
INFO:session:session transferring packet
INFO:stick:transmit_packet:write:<TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:>
INFO:stick:PROCESS:START:106.562:TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:
INFO:stick:link Stick transmit[TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:>] processing TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:)
INFO:stick:send_force_read: attempt 0/5 send command, read until we get something within some timeout
INFO:stick:link Stick transmit[TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:] reader[None] download_i[False] status[None] poll_size[None] poll_i[None] command[<TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:>] sending TransmitPacket:ReadHistoryData:size[1024]:[page][0]:data[0]:)
Traceback (most recent call last):
File "decocare/download.py", line 84, in <module>
downloader.download( )
File "decocare/download.py", line 24, in download
self.device.execute(comm)
File "/home/root/decoding-carelink/decocare/session.py", line 100, in execute
return super(type(self), self).execute(command)
File "/home/root/decoding-carelink/decocare/session.py", line 34, in execute
self.transfer( )
File "/home/root/decoding-carelink/decocare/session.py", line 69, in transfer
return self.stick.transmit_packet(self.command)
File "/home/root/decoding-carelink/decocare/stick.py", line 844, in transmit_packet
result = self.process( )
File "/home/root/decoding-carelink/decocare/stick.py", line 483, in process
raw = self.send_force_read( )
File "/home/root/decoding-carelink/decocare/stick.py", line 599, in send_force_read
NO CRC ERROR FOUND
no nak found
NOT A CLEAN RUN
The text was updated successfully, but these errors were encountered:
Update.
After playing with serial numbers, I found out you should consider the one on the pump screen ( with only numbers ) not the one shown on the back of the pump.
I could finally download information from the pump. I am submitting the info now.
The output shows some errors... Could it be due to the fact I am using an MMT-754?
Hello,
I changed to Beaglebone to start experimenting with the code and it seems the USB stick runs are ok, but not the pump.
Here is the output:
root@beaglebone:~/decoding-carelink# ./status-quo.sh /dev/ttyUSB0
run all ./status-quo.sh /dev/ttyUSB0
./status-quo.sh
!/bin/bash
make an example of an interesting log worth sharing
CMD="$*"
NAME=$0
export PORT=${1-'/dev/ttyUSB0'}
export SERIAL=${2-'208850'}
. bin/common
run_all 2>&1 | tee status-quo.log
echo "OUT" | tee logs/explain.log
. ./explain-brief.sh | tee -a logs/explain.log
explain_markdown
EOF
Sun Oct 12 16:27:39 UTC 2014
Was there an ACK ERROR?
DIAGNOSE CRC
OUT
Observations
Sun Oct 12 16:27:51 UTC 2014
stick
pump
downloaded: 0
commands session:finished: 0
howdy! pump runs were NOT OK
Last send command
stats before traceback
Traceback
The text was updated successfully, but these errors were encountered: