2 ms·
I'm doing same right now. My cheap soc has no gps module, which would need too much power also, but I can trivially get the tac+cellid from the AT+CEREG command
by rurban 6y ago
I'm doing same right now. My cheap soc has no gps module, which would need too much power also, but I can trivially get the tac+cellid from the AT+CEREG command, which have to do anyway to check network connection (I have no roaming with NB-IoT). And from this you can externally get the lat/long gps values via the OpenCellID database. They protected queries, but you can get the source also as csv. Didn't know about the Google API, but it's trivial to build something like this by yourself.
In my case I don't even need the gps coords, the cellid is enough, as my devices travel on fixed lines through various countries. For cars or buses you would need it though.
- franga2000 6y agoIsn't there a specific GSM command or whatever they're called to request location from the provider? I remember seeing it in a GSM module datasheet at some point, but I never tried it.
- rurban 6y agoModem specific. In my case AT+CEREG? in modes higher than 1 will tell you the connection status, tac and ci