loginov-rocks / UbxGps

Arduino library for the fastest and simplest communication with u-blox GPS modules
https://registry.platformio.org/libraries/loginov-rocks/UbxGps
MIT License
140 stars 44 forks source link

Serial.available() everytime only 4 Bytes #14

Closed Olgidos closed 5 years ago

Olgidos commented 5 years ago

I am using an UBlOX M8U with Serial and want ot get the PVT information. I am trying around with your library but get no results. When ich just use a Scetch to out print all bytes that reach my arduino, i get the orignal message like in U-center. The problem is, these bytes come always as 4. so Serial.available will alwas go out of the while scope after 4 bytes ?!?. So its not possible to get a complete message over the library andy advice?

loginov-rocks commented 5 years ago

Hi @Olgidos !

Check docs if the PVT message of yours M8U is the same as in the UbxGpsNavPvt.h - probably there is some difference.