stanleyhuangyc / Freematics

Official source code repository for Freematics
https://freematics.com
430 stars 349 forks source link

Location coordinates zero #123

Open sahil-siwatch opened 3 years ago

sahil-siwatch commented 3 years ago

Hi. I am using sim800L module for my GPS project. I am trying to run it in balcony. I am using all the commands from serial terminal. All commands return OK but final location is always '0,0,0'. What could be the reason? I am using external antenna as well. Power supply is suffiecient I think. Following are the commands that I used:

AT+CGATT=1

AT+SAPBR=3,1,"CONTYPE","GPRS"

AT+SAPBR=3,1,"APN","internet"

AT+SAPBR=1,1

AT+SAPBR=2,1

AT+CIPGSMLOC=1,1

Screenshot of my serial monitor: https://drive.google.com/file/d/1G6ikFRSgj5oMshcwpwJGhj9Uvei6CU5X/view?usp=sharing