stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
430 stars 349 forks source link

GNSS data is not sent to server (Freematics ONE+) #187

Closed dd310 closed 1 year ago

dd310 commented 1 year ago

I'm using the latest version of the libraries and of the telelogger.ino sketch, compiled using Arduino IDE. Within config.h, the only changes i made are: enabling wifi and BLE. SSID and password for the wifi connection, the server url (I'm using traccar self-hosted, UDP protocol, port 5170) and GNSS_EXTERNAL

When i connect the tracker (ONE+ freematics ed, SIM7070G, external GNSS receiver) to the freematics app through BLE, GNSS data is streamed perfectly.

photo_2023-09-19_03-15-33

However, when I turn on the wifi and I read the traccar logs, it seems that the tracker is continuously sending the last known position, instead of the correct one. I confirmed this behaviour over the last few days. And ONLY the GNSS data is not sent to the server: OBD data is transmitted and I can see it just fine.

photo_2023-09-19_03-15-45

dd310 commented 1 year ago

Tried following the advice in issue #186 and it worked.

Closing as duplicate of #186