The AssetTracker v2 does not respond to PMTK commands; those only work with the GlobalTop PA6H GPS receiver in the AssetTracker v1.
The u-blox GPS receiver responds to the PGCMD commands, which are completely different. It usually just ignores the PMTK commands, however, that’s why the AssetTracker library is able to issue both. But you can just remove all of the PMTK commands from your code if they’re causing problems.
So is the AssetTrackerRK library is still the recommended, though unofficial, library for the Particle Asset Tracker v2? And no changes are required for that code; it should just work as is, right?
I haven’t gotten it to work yet, though I’m using a custom daughter board with the UBlox CAM-M8 on the Electron, not the off-the-shelf AssetTracker v2. I’ve successfully used the official AssetTracker 0.0.10 library with the Asset Tracker v1 hardware. I’m trying to figure out if my issue is hardware or software and, having tested without luck the AssetTracker 0.0.10, AssetTracker2 0.2.0, and now AssetTrackerRK 0.1.4 libraries with my Electron & CAM-M8, it seems likely to be a hardware issue.
FWIW, I’m giving the CAM-M8 the 3.3 V from the Electron’s 3V3 pin (tied to VCC, V_BCKP, VCC_IO on the CAM-M8), ground (tied to GND on the CAM-M8), and TX/RX (tied across 220 ohm resistors to RX/TX on the CAM-M8). The D_SEL pin on the CAM-M8 is open as recommended for UART operation. I’ve tried testing outside for 30+ minutes but don’t get anything on the Serial Monitor.
Again, I’m pretty sure it’s hardware-related but just making sure that I didn’t miss something related to software updates for the Asset Tracker v2. Thanks in advance for any tips!