Jura-Python-BT
Code for control and payment system of Jura Coffee Machine
|
Public Member Functions | |
def | __init__ (self) |
def | tojura (self, letter, hex=0) |
def | fromjura (self, bytes, hex=0) |
Public Attributes | |
base_layout | |
Class to encode and decode Jura protocol
def jura_encoder.JuraEncoder.__init__ | ( | self | ) |
def jura_encoder.JuraEncoder.fromjura | ( | self, | |
bytes, | |||
hex = 0 |
|||
) |
Convert Jura protocol bytes to a letter If hex is set to 1, the input will be in hex
def jura_encoder.JuraEncoder.tojura | ( | self, | |
letter, | |||
hex = 0 |
|||
) |
Convert a letter to the Jura protocol bytes If hex is set to 1, the output will be in hex
jura_encoder.JuraEncoder.base_layout |