Skip to content

Instantly share code, notes, and snippets.

@bustavo bustavo/gist:d96336d2c1da62dd3a4c Secret
Last active Aug 29, 2015

Embed
What would you like to do?
$ 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
You can’t perform that action at this time.