7240 Could not get GPS time from GPS

Issue:
my RAK 7240 does not include correct GPS locations. I included the system log.

Setup:
the GPS antenna is attached to the gateway and positioned outside. Running version 1.2.0064.
Reboot did not fix the problem.

NTP Time is enabled.

Thu Mar 25 11:01:59 2021 user.info lora_pkt_fwd[1650]: WARNING: [gps] could not get GPS time from GPS
Thu Mar 25 11:02:00 2021 user.info lora_pkt_fwd[1650]: WARNING: [gps] could not get GPS time from GPS
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: 
##### 2021-03-25 11:02:00 UTC #####
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: ### [UPSTREAM] ###
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # RF packets received by concentrator: 0
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # CRC_OK: 0.00, CRC_FAIL: 0.00, NO_CRC: 0.00
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # RF packets forwarded: 0 (0 bytes)
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # PUSH_DATA datagrams sent: 1 (135 bytes)
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # PUSH_DATA acknowledged: 100.00
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: ### [DOWNSTREAM] ###
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # PULL_DATA sent: 1 (100.00 acknowledged)
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # RF packets sent to concentrator: 0 (0 bytes)
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # SX1301/SX1302 time (PPS): 1023910886, offset us 0
Thu Mar 25 11:02:00 2021 user.info lora_pkt_fwd[1650]: src/jitqueue.c:453:jit_print_queue(): INFO: [jit] queue is empty
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: ### [GPS] ###
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # Invalid time reference (age: 1616670120 sec)
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: # no valid GPS coordinates available yet
Thu Mar 25 11:02:00 2021 user.notice lora_pkt_fwd[1650]: ##### END #####
Thu Mar 25 11:02:00 2021 user.info lora_pkt_fwd[1650]: 
JSON up: {"stat":{"time":"2021-03-25 11:02:00 UTC","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0,"cpur":0.0,"memr":0.0}}
Thu Mar 25 11:02:00 2021 user.info lora_pkt_fwd[1650]: INFO: [up] PUSH_ACK received in 18 ms
Thu Mar 25 11:02:01 2021 user.info lora_pkt_fwd[1650]: WARNING: [gps] could not get GPS time from GPS
Thu Mar 25 11:02:02 2021 user.info lora_pkt_fwd[1650]: WARNING: [gps] could not get GPS time from GPS
Thu Mar 25 11:02:02 2021 user.info lora_pkt_fwd[1650]: INFO: [down] PULL_ACK received in 18 ms
Thu Mar 25 11:02:02 2021 kern.info quectel-CM[8978]: requestRegistrationState2 MCC: 206, MNC: 1, PS: Detached, DataCap: UNKNOW
Thu Mar 25 11:02:02 2021 kern.info quectel-CM[8978]: Dail Failed 14
Thu Mar 25 11:02:03 2021 user.info lora_pkt_fwd[1650]: WARNING: [gps] could not get GPS time from GPS
Thu Mar 25 11:02:04 2021 user.info lora_pkt_fwd[1650]: WARNING: [gps] could not get GPS time from GPS
Thu Mar 25 11:02:05 2021 user.info lora_pkt_fwd[1650]: WARNING: [gps] could not get GPS time from GPS
Thu Mar 25 11:02:05 2021 user.notice lora_pkt_fwd[1650]: 
##### 2021-03-25 11:02:05 UTC #####

Hi @momo232030,
Update to the latest version of the firmware available:
https://downloads.rakwireless.com/LoRa/RAK7240/Firmware/RAK7240_Latest_Firmware%20.zip

Still no change, on firmware version 1.2.0065
Added the logs with this post.


hu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]:

2021-04-01 08:32:54 UTC

Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: ### [UPSTREAM] ###
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # RF packets received by concentrator: 0
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # CRC_OK: 0.00, CRC_FAIL: 0.00, NO_CRC: 0.00
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # RF packets forwarded: 0 (0 bytes)
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # PUSH_DATA datagrams sent: 1 (135 bytes)
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # PUSH_DATA acknowledged: 100.00
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: ### [DOWNSTREAM] ###
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # PULL_DATA sent: 1 (100.00 acknowledged)
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # RF packets sent to concentrator: 0 (0 bytes)
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # SX1301/SX1302 time (PPS): 173224818, offset us 0
Thu Apr 1 08:32:54 2021 user.info lora_pkt_fwd[2409]: src/jitqueue.c:453:jit_print_queue(): INFO: [jit] queue is empty
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: ### [GPS] ###
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # Invalid time reference (age: 1617265974 sec)
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: # no valid GPS coordinates available yet
Thu Apr 1 08:32:54 2021 user.notice lora_pkt_fwd[2409]: ##### END #####
Thu Apr 1 08:32:54 2021 user.info lora_pkt_fwd[2409]:
JSON up: {“stat”:{“time”:“2021-04-01 08:32:54 UTC”,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:100.0,“dwnb”:0,“txnb”:0,“cpur”:0.0,“memr”:0.0}}
Thu Apr 1 08:32:54 2021 user.info lora_pkt_fwd[2409]: INFO: [up] PUSH_ACK received in 19 ms
Thu Apr 1 08:32:54 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS
Thu Apr 1 08:32:54 2021 kern.info quectel-CM[2016]: requestRegistrationState2 MCC: 206, MNC: 1, PS: Detached, DataCap: UNKNOW
Thu Apr 1 08:32:54 2021 kern.info quectel-CM[2016]: Dail Failed 33
Thu Apr 1 08:32:54 2021 kern.info quectel-CM[2016]: QmiWwanThread exit
Thu Apr 1 08:32:54 2021 kern.info quectel-CM[2016]: main exit
Thu Apr 1 08:32:55 2021 user.info lora_pkt_fwd[2409]: INFO: [down] PULL_ACK received in 17 ms
Thu Apr 1 08:32:55 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS
Thu Apr 1 08:32:56 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS
Thu Apr 1 08:32:57 2021 kern.info quectel-CM[4274]: WCDMA<E_QConnectManager_Linux&Android_V1.1.38
Thu Apr 1 08:32:57 2021 kern.info quectel-CM[4274]: /usr/sbin/quectel profile[1] = (null)/(null)/(null)/0, pincode = (null)
Thu Apr 1 08:32:57 2021 user.notice root: echo 1 > /sys/class/gpio/gpio2/value
Thu Apr 1 08:32:57 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.240000] usb 1-1.1: USB disconnect, device number 3
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.250000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.270000] option 1-1.1:1.0: device disconnected
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.280000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.290000] option 1-1.1:1.1: device disconnected
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.300000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.320000] option 1-1.1:1.2: device disconnected
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.330000] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.340000] option 1-1.1:1.3: device disconnected
Thu Apr 1 08:32:57 2021 daemon.notice netifd: Network device ‘wwan0’ link is down
Thu Apr 1 08:32:57 2021 daemon.notice netifd: Interface ‘wwan’ has link connectivity loss
Thu Apr 1 08:32:57 2021 kern.info kernel: [ 244.380000] qmi_wwan 1-1.1:1.4 wwan0: unregister ‘qmi_wwan’ usb-101c0000.ehci-1.1, WWAN/QMI device
Thu Apr 1 08:32:57 2021 daemon.notice netifd: wwan (2587): Read error: Network is down, reopening socket
Thu Apr 1 08:32:57 2021 daemon.notice netifd: Interface ‘wwan’ is disabled
Thu Apr 1 08:32:57 2021 daemon.notice netifd: wwan (2587): udhcpc: bind: No such device
Thu Apr 1 08:32:58 2021 user.notice root: echo 0 > /sys/class/gpio/gpio2/value
Thu Apr 1 08:32:58 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]:

2021-04-01 08:32:59 UTC

Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: ### [UPSTREAM] ###
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # RF packets received by concentrator: 0
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # CRC_OK: 0.00, CRC_FAIL: 0.00, NO_CRC: 0.00
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # RF packets forwarded: 0 (0 bytes)
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # PUSH_DATA datagrams sent: 1 (135 bytes)
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # PUSH_DATA acknowledged: 100.00
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: ### [DOWNSTREAM] ###
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # PULL_DATA sent: 1 (100.00 acknowledged)
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Thu Apr 1 08:32:59 2021 user.notice lora_pkt_fwd[2409]: # RF packets sent to concentrator: 0 (0 bytes)
Thu Apr 1 08:32:59 2021 user.info lora_pkt_fwd[2409]: INFO: [up] PUSH_ACK received in 19 ms
Thu Apr 1 08:32:59 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS
Thu Apr 1 08:33:00 2021 user.info lora_pkt_fwd[2409]: INFO: [down] PULL_ACK received in 17 ms
Thu Apr 1 08:33:00 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS
Thu Apr 1 08:33:01 2021 user.info lora_pkt_fwd[2409]: WARNING: [gps] could not get GPS time from GPS

Hi @momo232030,
Is your gateway in “Packet Forwarder” mode?
Also, could you send me the SN(serial number) of your gateway in personal message/dm so I could check if there is something wrong with the device?

Yes, the gateway is in packetforwarder mode.

@Nikola is this already fixed?