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