GPS bugfix
This commit is contained in:
@@ -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"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user