-
-
Save bustavo/d96336d2c1da62dd3a4c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ python mm-press-key.py esc --serial 123456 | |
## do stuff with an insulin pump over RF | |
using ` Namespace(commands=['esc'], dryrun=False, init=False, no_postlude=False, no_prelude=False, no_rf_prelude=False, port='', serial='123456', session_life=10, verbose=None) ` | |
``` | |
``` | |
``` | |
``` | |
``` | |
``` | |
``` | |
``` | |
```javascript | |
{'radio': {'errors.crc': 0, | |
'errors.naks': 0, | |
'errors.sequence': 0, | |
'errors.timeouts': 0, | |
'packets.received': 27L, | |
'packets.transmit': 31L}, | |
'usb': {'errors.crc': 0, | |
'errors.naks': 0, | |
'errors.sequence': 0, | |
'errors.timeouts': 0, | |
'packets.received': 82L, | |
'packets.transmit': 82L}} | |
``` | |
``` | |
``` | |
### PUMP MODEL: `ReadPumpModel:size[64]:data:'754'` | |
### esc | |
response: KeypadPush:data:unknown | |
hexdump: | |
```python | |
``` | |
#### decoded: | |
```python | |
bytearray(b'') | |
``` | |
### end stats | |
``` | |
``` | |
```javascript | |
{'radio': {'errors.crc': 0, | |
'errors.naks': 0, | |
'errors.sequence': 0, | |
'errors.timeouts': 0, | |
'packets.received': 28L, | |
'packets.transmit': 33L}, | |
'usb': {'errors.crc': 0, | |
'errors.naks': 0, | |
'errors.sequence': 0, | |
'errors.timeouts': 0, | |
'packets.received': 88L, | |
'packets.transmit': 88L}} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment