diff --git a/VERSION b/VERSION index f8a696c..661e7ae 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.7.2 +1.7.3 diff --git a/changelog.json b/changelog.json index 9620675..e553461 100644 --- a/changelog.json +++ b/changelog.json @@ -1,5 +1,18 @@ { "versions": [ + { + "version": "1.7.3", + "date": "2026-05-12", + "changes": { + "features": [], + "improvements": [], + "fixes": [ + "Revert v1.7.2: retrait du check SIM sur la branche CSQ=99 (overhead inutile a chaque coupure signal temporaire, le check sur la branche USOCR/PDP suffit avec un delai de 1-2 cycles maximum)" + ], + "compatibility": [] + }, + "notes": "Apres tests: la SIM est detectee tres vite via la branche PDP meme sans le check sur CSQ=99 (le modem alterne CSQ=99 et CSQ>0 sans SIM). Le check sur CSQ=99 ajoutait du cout AT a chaque coupure reseau temporaire pour un gain marginal. On garde uniquement le check v1.7.1 dans la branche USOCR/PDP." + }, { "version": "1.7.2", "date": "2026-05-12", diff --git a/loop/SARA_send_data_v2.py b/loop/SARA_send_data_v2.py index 08b6ea3..6e80388 100755 --- a/loop/SARA_send_data_v2.py +++ b/loop/SARA_send_data_v2.py @@ -1156,35 +1156,19 @@ try: if signal_quality == 99: print('⚠️ATTENTION: Signal Quality indicates no signal (99)⚠️') - # Diagnostic : signal 99 peut etre du a une SIM absente OU une coupure reseau temporaire - sim_ok = check_sim_status() + #Pas besoin d'essayer de se reconnecter car reconnection automatique + #print("TRY TO RECONNECT:") + #command = f'AT+COPS=1,2,{selected_networkID}\r' + #command = f'AT+COPS=0\r' + #ser_sara.write(command.encode('utf-8')) + #responseReconnect = read_complete_response(ser_sara, timeout=20, end_of_response_timeout=20, wait_for_lines=["OK", "+CME ERROR", "ERROR"], debug=True) + #print('
') + #print(responseReconnect) + #print("
", end="") - if not sim_ok: - # SIM injoignable -> alerte tres visible, pas la peine d'attendre une reconnexion - print('