stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
419 stars 345 forks source link

Freematics One+ B - Unable to resolve GPS data using newer library #196

Open ZacharyDuBois opened 5 months ago

ZacharyDuBois commented 5 months ago

Using the newest Telelogger example code, I can no longer use the GNSS or MEMS on my older One+ B. Looking at the code, it looks like a lot of the code pertaining to the older model was deleted (ublox M8 / MPU-9250). I was able to get the MPU-9250 to work again by uncommenting some code in telelogger.ino but I am unable to get the M8 to register anymore as it looks like it was completely rebuilt.

CPU:160MHz FLASH:16MB
IRAM:343KB
DEVICE ID:[redacted]
TYPE:14
MEMS:MPU-9250
ACC BIAS:0.00/-0.12/0.88
GNSS:NO
OBD:OK
SD:14752 MB total, 319 MB used
File: /DATA/13.CSV
VIN:[redacted]
[CELL] Activating...
[BUF] 8 samples | 70 bytes | 1/32
CELL:SIM7600A-H
IMEI:[redacted]
[CELL] Searching...
Operator:T-Mobile
[CELL] IP:[redacted]
LOGIN(am[redacted]:8081)...
[BUF] 32 samples | 280 bytes | 4/32

Note, before my MEMS modification, the MEMS line would return "NO".

Please support the older model One+ B. I really would love to not have these become ewaste.