From acdc736a38f96cadb06caf47cdbe1c3a42d9de66 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 30 Jun 2025 15:25:00 +0100 Subject: [PATCH] update --- loop/SARA_send_data_v2.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/loop/SARA_send_data_v2.py b/loop/SARA_send_data_v2.py index bf62a7a..5b47e4d 100755 --- a/loop/SARA_send_data_v2.py +++ b/loop/SARA_send_data_v2.py @@ -1245,9 +1245,6 @@ try: print("Operation not allowed. This may require a different configuration.") # Actions spécifiques pour ce type d'erreur - # Clignotement LED rouge en cas d'erreur - led_thread = Thread(target=blink_led, args=(24, 5, 0.5)) - led_thread.start() else: # 2.Si la réponse contient une réponse HTTP valide @@ -1262,10 +1259,6 @@ try: print("*****") print('⛔ATTENTION: HTTP operation failed') print("*****") - print("Blink red LED") - # Run LED blinking in a separate thread - led_thread = Thread(target=blink_led, args=(24, 5, 0.5)) - led_thread.start() # Get error code print("Getting error code", end="") @@ -1315,10 +1308,7 @@ try: else: # Si la commande HTTP a réussi print('✅✅HTTP operation successful.') - print("Blink blue LED") - led_thread = Thread(target=blink_led, args=(23, 5, 0.5)) - led_thread.start() - + #4. Read reply from server print("Reply from server:") command = f'AT+URDFILE="uSpot_server_response.txt"\r'