<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[LilyGo T-Call SIM800L board location issues]]></title><description><![CDATA[<p dir="auto">Hello Everyone,</p>
<p dir="auto">I really need some help troubleshooting location issues for the SIM800L. I am using the <a href="https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800" rel="nofollow ugc">LiliyGO T-Call Sim800L</a> and the <code>R14.18</code> firmware. This is the response from the <code>ATI</code> command: <code>SIM800 R14.18</code>. My sim provider is Lebara (Netherlands) <code>multimedia.lebara.nl</code> is their APN.</p>
<p dir="auto">It seems most other functions than location are working fine. I can communicate with the modem by sending AT commands. I connect to the GPRS network and can send HTTP requests and SMS messages.</p>
<p dir="auto">At first i tried using the GSM location feature trough the Arduino TinyGSM library. That never worked, so i tried doing it myself with AT commands. The following code blocks shows my steps.</p>
<pre><code>/* make bearer profile correct, activate it */
// make sure bearer profile one is correct
AT+SAPBR=3,1,Contype,GPRS
OK

// specify APN name
AT+SAPBR=3,1,APN,multimedia.lebara.nl        
OK         

// activate bearer profile 
AT+SAPBR=1,1     
OK                         
</code></pre>
<p dir="auto">In many examples on the internet and in the datasheets from <a href="https://www.simcom.com/product/SIM800.html" rel="nofollow ugc">simcom's webpage</a> they use double quotes for the string parameters like this:</p>
<p dir="auto"><code>AT+SAPBR=3,1,"Contype","GPRS"</code></p>
<p dir="auto">This gives me an <code>ERROR</code> response instead of <code>OK</code>. So as you saw i do them without the double quotes which evidently seems to work fine.</p>
<p dir="auto">After completing these commands, the indicator light on the LilyGO<br />
board starts blinking faster (~3 per sec) indicating a gprs connection. After that i try getting the location.</p>
<pre><code>/* Now for fetching the actual location  */
// set lbs server
AT+CLBSCFG=1,3,lbs-simcom.com:3002
OK

// try getting location + time
AT+CLBS=4,1                          
+CLBS: 1

OK

// try getting only location 
AT+CLBS=1,1                        
+CLBS: 1

OK
</code></pre>
<p dir="auto">Both these commands gives me a locationcode 1 error, which indicates no location. Specified in the GSM location datasheet. Earlier i would commonly get locationcode 3 which would indicate NET error, but i think that maybe was due to incorrect bearer profile settings.</p>
<p dir="auto">One problem might be that the LBS server from simcom is not working correctly, so i also tried another server address <code>www.c4a.com.cn:3002</code>. This one is from china.</p>
<pre><code>/*Trying chinese LBS server */
// change lbs server setting
AT+CLBSCFG=1,3,www.c4a.com.cn:3002
OK

// trying to get location again
AT+CLBS=1,1 
+CLBS: 1

OK

// and the other one
AT+CLBS=4,1 
+CLBS: 1

OK
</code></pre>
<p dir="auto">There is also this redundant location command, using <code>AT+CIPGSMLOC</code>, which does <a href="https://electronics.stackexchange.com/questions/479748/sim800-doesnt-give-gsm-location" rel="nofollow ugc">not work anymore</a>. As expected not for me either.</p>
<pre><code>/* trying redundant command */
AT+CIPGSMLOC=1,1
+CIPGSMLOC: 0,0.000000,0.000000,2021/10/23,16:38:47

OK
</code></pre>
<p dir="auto">One last thing is that it might take some time for the network to calibrate before being able get location properly. I have tried this many times. Letting it sit connected for up to 2 hours, and trying every five minutes.</p>
<p dir="auto">Some people have problems with power delivery to the board, but i do not think this is the case for me since i never have expected dropouts or restarts when using the board. My signal quality is also very good.</p>
<pre><code>/* testing signal quality */
AT+CSQ
+CSQ: 31,0

OK
</code></pre>
<p dir="auto">I have already reached out multiple places for help <a href="https://github.com/vshymanskyy/TinyGSM/issues/378" rel="nofollow ugc">this github issue</a> seems really similar to mine, but he is actually able to get a location. I left a comment at the bottom. I also posted in <a href="https://gitter.im/tinygsm/Lobby" rel="nofollow ugc">TinyGSM's gitter chat</a>, and in the <a href="https://arduino.stackexchange.com/questions/86380/getting-location-working-on-sim800l-with-tinygsm?noredirect=1#comment198454_86380" rel="nofollow ugc">Arduino stack exchange</a></p>
<p dir="auto">So yeah that is my problem. I feel like i have exhausted every option, I even tried a sim from another country. If anyone are able to help, that would be greatly appreciated.</p>
]]></description><link>https://www.community.lilygo.cc/topic/12/lilygo-t-call-sim800l-board-location-issues</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 13:00:33 GMT</lastBuildDate><atom:link href="https://www.community.lilygo.cc/topic/12.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Oct 2021 16:58:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to LilyGo T-Call SIM800L board location issues on Mon, 22 Nov 2021 07:28:23 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://github.com/Xinyuan-LilyGO/LilyGo-T-Call-SIM800/blob/master/schematic/SIMCOM_GSM%2BLocation_Application%2BNote_V1.02.pdf" rel="nofollow ugc">reference</a></p>
]]></description><link>https://www.community.lilygo.cc/post/42</link><guid isPermaLink="true">https://www.community.lilygo.cc/post/42</guid><dc:creator><![CDATA[Sukaibin]]></dc:creator><pubDate>Mon, 22 Nov 2021 07:28:23 GMT</pubDate></item></channel></rss>