SIM800 Series_GSM Location_Application Note_V1.03
About Document
Version History
Version Date
V1.00
V1.01
2014.09.24
2016.12.06
Owner
Dingfen.Zhu
Dingfen.Zhu
V1.02
V1.03
2017.05.06
2020.06.15
Dingfen.Zhu
Yizhe.Tan
/Wenjie.Lai
Scope
What is new
New Release
Modify CLBS format
Modify catalogue error
Add AT+CLBS=3,1
Modify CLBSCFG
Modify LBS server to "lbs-simcom.com"
All
This document presents the AT command of base station location operation and application examples. This
document can apply to SIM800 series modules, but this function needs special module and FW to be
supported.
www.simcom.com 3 / 10
SIM800 Series_GSM Location_Application Note_V1.03
Contents
About Document .................................................................................................................... 3
Version History ...................................................................................................................................... 3
Scope .................................................................................................................................................... 3
Contents ................................................................................................................................. 4
Introduction ...................................................................................................................... 5
1
1.1 Purpose of the document ............................................................................................................ 5
1.2 Related documents ..................................................................................................................... 5
1.3 Conventions and abbreviations ................................................................................................... 5
2 AT commands .................................................................................................................. 6
2.1 AT+CLBS .................................................................................................................................... 6
2.2 AT+CLBSCFG ............................................................................................................................. 7
3 Examples .......................................................................................................................... 9
3.1 Activate bearer profile ................................................................................................................. 9
3.2 Get location ................................................................................................................................. 9
3.3 Report really location ................................................................................................................ 10
3.4 Deactivate bearer profile ........................................................................................................... 10
www.simcom.com 4 / 10
SIM800 Series_GSM Location_Application Note_V1.03
1 Introduction
1.1 Purpose of the document
Based on module AT command manual, this document will introduce the base station location application
process.
Developers could understand and develop application quickly and efficiently based on this document.
1.2 Related documents
[1] SIM800 Series_AT Command Manual
1.3 Conventions and abbreviations
www.simcom.com 5 / 10
SIM800 Series_GSM Location_Application Note_V1.03
2 AT commands
2.1 AT+CLBS
Write Command
AT+CLBS=,,[[,],[]]
AT+CLBS Base station Location
Response
Test Command
AT+CLBS=?
+CLBS:
(1,3,4,9),(1-3),(-180.000000-180.000000),(-90.000000-90.000000),(0,
1)
OK
Response
OK
1)type = 1,get longitude and latitude
+CLBS: [,,,]
OK
2)type = 3,get access times
+CLBS: [,]
OK
3)type = 4,get longitude latitude and date time
+CLBS:
[,,,,,
SIM800 Series_GSM Location_Application Note_V1.03
1 Use 3 cell’s information
3 Get access times
4 Get longitude latitude and date time
9 Report positioning error
Bearer profile identifier, refer to of AT+CNACT
0 Success
If the operation failed, the location code is not 0, such as:
1 Location Failed
2 Time Out
3 NET Error
4 DNS Error
5 Service Overdue
6 Authenticate Failed
7 Other Error
80 Report LBS to server success
81 Report LBS to server parameter error
82 Report LBS to server failed
Current longitude in degrees.
Current latitude in degrees
Positioning accuracy
The type of longitude and latitude
0 WGS84
1 GCJ02
Access service times
Service date
Service time
Defined Values
SIM800 Series_GSM Location_Application Note_V1.03
or
OK
If error is related to ME functionality:
+CME ERROR:
-
-
Note
Server’s address of"lbs-simcom.com:3002" is free. The other two
Parameter Saving Mode
Max Response Time
Reference
servers are charged.
If you want to use the charged address, the IMEI, customer
information and software version must be provided to SIMCom.
Defined Values
0 Read operator
1 Set operator
1 Customer ID
2 Times have used positioning command
3 Server’s address
lbs-simcom.com:3001
lbs-simcom.com:3000
lbs-simcom.com:3002 (Default)
String type. The value of parameter
If is 1 and is 3, can be set.
Max length of
www.simcom.com 8 / 10