Jura-Python-BT
Code for control and payment system of Jura Coffee Machine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
jura_encoder.JuraEncoder Class Reference

Public Member Functions

def __init__ (self)
 
def tojura (self, letter, hex=0)
 
def fromjura (self, bytes, hex=0)
 

Public Attributes

 base_layout
 

Detailed Description

Class to encode and decode Jura protocol

Constructor & Destructor Documentation

◆ __init__()

def jura_encoder.JuraEncoder.__init__ (   self)

Member Function Documentation

◆ fromjura()

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

◆ tojura()

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

Member Data Documentation

◆ base_layout

jura_encoder.JuraEncoder.base_layout

The documentation for this class was generated from the following file: