Exemplo n.º 1
0
def log_sent(command):
    LOG.log_serial_communication("SENT: " + str(command[3:].encode("hex")))
Exemplo n.º 2
0
def log_ack(ack_type):
    LOG.log_serial_communication("ACK:           " + ack_type + " --")
Exemplo n.º 3
0
def log_received(data, typeName):
    LOG.log_serial_communication("RECEIVED (" + str(typeName) + ")  :" + str(data.encode("hex")))