Skip to content
Snippets Groups Projects
Commit 3f2f743d authored by Adrien Chabod's avatar Adrien Chabod
Browse files

Send Order Print

parent 465360b1
Branches
No related tags found
1 merge request!1MAJ BDD + Data commande fonctionnel
......@@ -191,8 +191,9 @@ class BLE_MACHINE_SEND_ORDER(RxCharacteristic):
def WriteValue(self, value, options):
print('cocktail commandé: {}'.format(bytearray(value).decode()))
commande = unformalize_data_list(format(bytearray(value).decode()))
return commande
data = unformalize_data_list(format(bytearray(value).decode()))
commande = mysql_get_composition_for_machine(data)
print(commande)
#print(format(bytearray(value).decode()))
def main():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment