decoding-carelink icon indicating copy to clipboard operation
decoding-carelink copied to clipboard

KeypadPush:data:unknown

Open bustavo opened this issue 11 years ago • 5 comments

When running the commands for the mm-press-key.py I get the same result.

The command is entered like this: python mm-press-key.py --serial 123456 --port /dev/ttyUSB0 act python mm-press-key.py --serial 123456 --port /dev/ttyUSB0 up python mm-press-key.py --serial 123456 --port /dev/ttyUSB0 down etc

And the result is always:

do stuff with an insulin pump over RF

using Namespace(commands=['act'], dryrun=False, init=False, no_postlude=False, no_prelude=False, no_rf_prelude=False, port='/dev/ttyUSB0', serial='123456', verbose=None)

{'radio': {'errors.crc': 0,
           'errors.naks': 0,
           'errors.sequence': 0,
           'errors.timeouts': 17,
           'packets.received': 35L,
           'packets.transmit': 59L},
 'usb': {'errors.crc': 0,
         'errors.naks': 0,
         'errors.sequence': 0,
         'errors.timeouts': 0,
         'packets.received': 295L,
         'packets.transmit': 295L}}

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

act

response: KeypadPush:data:unknown hexdump:


decoded:

bytearray(b'')

end stats

{'radio': {'errors.crc': 0,
           'errors.naks': 0,
           'errors.sequence': 0,
           'errors.timeouts': 17,
           'packets.received': 36L,
           'packets.transmit': 61L},
 'usb': {'errors.crc': 0,
         'errors.naks': 0,
         'errors.sequence': 0,
         'errors.timeouts': 0,
         'packets.received': 301L,
         'packets.transmit': 301L}}

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/6610251-keypadpush-data-unknown?utm_campaign=plugin&utm_content=tracker%2F522759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F522759&utm_medium=issues&utm_source=github).

bustavo avatar Nov 29 '14 06:11 bustavo

Should init be true ?


Kenneth D. Stack President

Proximus, LLC. M&A, Venture Capital, Advisors

2723 South State Street, Suite 150 Ann Arbor, MI 48104

734.330.6422 [email protected] www.proximusllc.com

CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distribution or disclosing same.

On Nov 29, 2014, at 1:02 AM, Gustavo [email protected] wrote:

When running the commands for the mm-press-key.py I get the same result.

The command is entered like this: python mm-press-key.py --serial 123456 --port /dev/ttyUSB0 act python mm-press-key.py --serial 123456 --port /dev/ttyUSB0 up python mm-press-key.py --serial 123456 --port /dev/ttyUSB0 down etc

And the result is always:

do stuff with an insulin pump over RF

using Namespace(commands=['act'], dryrun=False, init=False, no_postlude=False, no_prelude=False, no_rf_prelude=False, port='/dev/ttyUSB0', serial='123456', verbose=None)

{'radio': {'errors.crc': 0, 'errors.naks': 0, 'errors.sequence': 0, 'errors.timeouts': 17, 'packets.received': 35L, 'packets.transmit': 59L}, 'usb': {'errors.crc': 0, 'errors.naks': 0, 'errors.sequence': 0, 'errors.timeouts': 0, 'packets.received': 295L, 'packets.transmit': 295L}} PUMP MODEL: ReadPumpModel:size[64]:data:'754'

act

response: KeypadPush:data:unknown hexdump:

decoded:

bytearray(b'') end stats

{'radio': {'errors.crc': 0, 'errors.naks': 0, 'errors.sequence': 0, 'errors.timeouts': 17, 'packets.received': 36L, 'packets.transmit': 61L}, 'usb': {'errors.crc': 0, 'errors.naks': 0, 'errors.sequence': 0, 'errors.timeouts': 0, 'packets.received': 301L, 'packets.transmit': 301L}} — Reply to this email directly or view it on GitHub.

kenstack avatar Nov 29 '14 06:11 kenstack

@kenstack It happens with the --init part on the command also.

bustavo avatar Nov 29 '14 06:11 bustavo

I suspect the keypad pushes changed for that model.

I discovered the keypad pushes for 522 by playing around with the tweak command in send-comm.

bewest avatar Nov 29 '14 06:11 bewest

Here's what I used to discover bolus... please be careful with this, it may brick your pump: https://gist.github.com/bewest/186e800d687b3b4fb469

bewest avatar Nov 29 '14 06:11 bewest

Thanks @bewest. I'll try that out and see what I get. Do you know if I can permanently damage the pump? or is it just like a reset or something I can recover from?

bustavo avatar Nov 29 '14 06:11 bustavo