Pummpcomm v2.1.4 Pummpcomm.Driver.SubgRfspy View Source

This module models the serial communications with a chip running the subg_rfspy firmware (https://github.com/ps2/subg_rfspy) capable of talking to a wireless insulin pump. It takes packet commands destined for the insulin pump, converts them to 4x6, and wraps them in a command that the subg_rfspy firmware knows how to process. The lower level serial communication is handled by a serial driver such as Pummpcomm.Driver.SubgRfspy.UART.

Link to this section Summary

Link to this section Functions

Link to this function read(timeout_ms \\ 1000) View Source
Link to this function update_register(register, value) View Source
Link to this function write(packet, repetitions \\ 1, repetition_delay \\ 0, timeout_ms \\ 1000) View Source
Link to this function write_and_read(packet, timeout_ms \\ 500) View Source