Getting tower location instead of gps

I have a GSM / GPS module connected to a microcontroller, communication between them is working fine. I can get GPS and send it to Microcontroller, but there are times when the device is inside a building, so I cannot get the current GPS location, I want to get the tower location instead.

The AT command that I use to get the LAC and CI response looks like this.

Command: AT + CREG = 2

Answer: enter image description here

Hence LAC = 2BCB or 11211

and CI =2B9A or 11162

The SIM card I am using is registered with T-Mobile, so MCC = 310

and MNC = 260

by viewing them here . However, when I plug in these values ​​in this website , I don't get it.

What am I missing?

I noticed when I try to check the current network using AT + COPS? I am not getting the same results as shown.

enter image description here

Can I manually set the network information? If so, please someone provide me with the correct format. I tried sending At + COPS = 4.2, "310 260" but it gave me an error.

Here is the AT command file . I follow it, it has a different format. Thank!

+3


source to share


1 answer


I figured I just had to plug in the values ​​on this website instead of the original site I was using.



+1


source







All Articles