From 37f5e44fca00ce6a4eedd2a05fb9595b940c2eee Mon Sep 17 00:00:00 2001 From: Lukas Prause Date: Thu, 13 Oct 2022 16:22:48 +0200 Subject: [PATCH] GPS bugfix --- measurement_main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/measurement_main.py b/measurement_main.py index 905db65..e148746 100755 --- a/measurement_main.py +++ b/measurement_main.py @@ -23,7 +23,7 @@ GET_IPV4_SHELL_COMMAND = "ip a | grep {} | grep inet | cut -d' ' -f6 | cut -d'/' NR_CQI_COMMAND = b'AT+QNWCFG="nr5g_csi"\r\n' NR_SERVINGCELL_COMMAND = b'AT+QENG="servingcell"\r\n' NR_EN_DC_STATUS_COMMAND = b"AT+QENDC\r\n" -NR_SERIAL_RESPOND_TOME = 0.3 # s +NR_SERIAL_RESPOND_TIME = 0.3 # s CMD_TIME_EPOCH = "date +%s" @@ -548,10 +548,9 @@ class Client: if self.config["gps"] is not None: gps_ser = serial.Serial( - port=self.config["gps"], + self.config["gps"], baudrate=self.config["gps_baudrate"], ) - gps_ser.isOpen() gps_ser_filepath = "{}{}_gps_serial_monitor_output.txt".format( self.config["folder"], self.config["prefix"] )