PlatformIO shows TinyGPSPlus version 1.0.0 in the repository.
But when i install this lib i get the (very old and buggy) version 0.92, as proved in the header file:
#define _GPS_VERSION "0.92" // software version of this library
My GPS related code was not running with the library installed by platformIO library manager. It
took me several hours to understand what’s wrong, because i assumed some error in my code.
suddenly everything worked…
You are right, I can reproduce this…
$ pio lib show TinyGPSPlus
A new, customizable Arduino NMEA parsing library
Version: 1.0.0, released 10/05/17 19:06:39
The newest file on the repo is not 5th October 2017 but 4th April 2018… But then again, the library.json was last updated at the 6th October 2017. I don’t know much about PIOs library repository, but it may just be possible that the Author updated the library code but did not update the version number, and thus PIO didn’t grab the newest version?
There are two issues:
PIO shows version lib 1.0.0, but the code in the repository
is actually 1.0.2.
This is because the author did not update library.json.
There is already a pull request to correct this:
But this is only what is displayed, does not affect on the code.
When i install the library by using PIO install, i do not get code version 1.0.0 / 1.0.2, but the initial version 0.92 !
And this is catastrophical, since this version is not working properly.