diff --git a/loop/SARA_send_data_v2.py b/loop/SARA_send_data_v2.py index 425b7db..0dd2c48 100755 --- a/loop/SARA_send_data_v2.py +++ b/loop/SARA_send_data_v2.py @@ -1133,6 +1133,11 @@ try: print(response_SARA_2) print("
", end="") + #parfois ici on peut avoir une erreur ERROR + if "+CME ERROR" in response_SARA_2 or "ERROR" in response_SARA_2: + print('⚠️ATTENTION: Error while sending data⚠️') + + #Read reply from server (USORD) #print("Read reply:", end="") #command = f'AT+USORD=0,100\r'