From b32f2bdd13ebc881ba58748b1dce6c3460814c3b Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Mon, 15 Jul 2024 20:10:18 -0600 Subject: [PATCH] 2024-07-15 - --- GPS.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GPS.py b/GPS.py index a5dcb20..02c212a 100755 --- a/GPS.py +++ b/GPS.py @@ -31,7 +31,8 @@ def send_at(command,back,timeout): print(command + ' back:\t' + rec_buff.decode()) return 0 else: - gps_data = rec_buff.decode()[25:-36] +# gps_data = rec_buff.decode()[25:-36] + gps_data = rec_buff.decode()[13:-36] print(gps_data) client.publish("iiot/"+ myhost +"/gps", gps_data) return 1