From e5770b09dc0c0ac9dcd3d93911e88d6ed41a5b5a Mon Sep 17 00:00:00 2001 From: PaulVua Date: Thu, 15 Jan 2026 11:21:30 +0100 Subject: [PATCH] improve pdp reconnect --- loop/SARA_send_data_v2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loop/SARA_send_data_v2.py b/loop/SARA_send_data_v2.py index eecb309..3476df9 100755 --- a/loop/SARA_send_data_v2.py +++ b/loop/SARA_send_data_v2.py @@ -525,12 +525,12 @@ def reset_PSD_CSD_connection(): # 2. Parser la réponse if '+CGACT: 1,1' in response_check: print("✅ Contexte PDP déjà actif") - return True + #return True elif '+CGACT: 1,0' in response_check: print("➡️ ⚠️ Contexte PDP inactif") else: print("⚠️ État PDP inconnu, reset nécessaire") - return False + #return False time.sleep(1) # Activate PDP context 1