@rickkas7 I got everything working on the i2c bus using your Asset Tracker library
It’s nice to have a quality Accelerometer to add to my box of tools.
I did notice one line that I think needs to be changed regarding the GPS positioning.
In the GPS Wait State case you have if (gps.location.isValid()) {
I noticed that the program would constantly use the previous GPS Fix location data even though it had zero satellites in view. If I would have moved the GPS unit it would have still used the old GPS position data even though I was someplace different.
I looked this up and others noticed the same issue with the gps.location.isValid() command.
Here is a way to force the code to get a new GPS fix if the old GPS position data is older than a preset threshold.