AT Commands For LBS
No | Command | Description |
L1801 | AT+CLBS | Base station Location |
L1802 | AT+CLBSCFG | Base station Location configure |
L1803 | AT+CASSISTLOC | Base station location of LTE/CDMA1x mode |
L1801 AT+CLBS Base Station Location
The write command is used to base station location.
R) AT+CLBS=? |
+CLBS:(list of supported <type>s), (range of supported <cid>s), (range of supported <longitude>s),(range of supported <latitude>s),(list of supported <lon_type>s) OK |
W) AT+CLBS=<type>,<cid>, [[<l ongitude>,<latitude>], [<lon_ type>]] |
1) <type>=1,get longitude and latitude +CLBS: <locationcode>[,<latitude>,<longitude>,<acc>] OK 2) <type>=4,get longitude latitude and date time +CLBS: <locationcode>[,<latitude>,<longitude>,<acc>,<date>,<time>] OK If error is related to ME functionality: +CME ERROR: <err> |
<type> | 1 Use 3 cell’s information 4 Get longitude latitude and date time |
<cid> | Bearer profile identifier, refer to <pdpidx> of AT+CGDCONT |
<locationcode> |
0 Success If the operation failed, the location code is not 0, such as: |
<longitude> | Current longitude in degrees .-180.000000-180.000000 |
<latitude> | Current latitude in degrees -90.000000-90.000000 |
<acc> | Positioning accuracy |
<lon_type> |
The type of longitude and latitude 0 WGS84 |
<date> | Service date |
<time> | Service time |
Example |
AT+CLBS? +CLBS: (1,4),(1-24,100-179),(-180.000000-180.000000), (-90.000000-90.000000),(0,1) OK |
NOTE
If customers feel that the positioning error is too large, <type>=9 can be used to report this information.
The error can be improved by this information
L1802 AT+CLBCFG Base station Location configure
The write command is used to set and query the base station location configure.
T) AT+CLBSCFG=? |
+CLBSCFG: (list of supported <operate>s),(range of supported <para>s),<len_value> OK |
W) AT+CLBSCFG=<operate>,< para>[,<value>] |
+CLBSCFG: 0,<para>,<value> OK or OK If error is related to ME functionality: +CME ERROR: <err> |
<operate> | 0 Read operator 1 Set operator |
<para> |
3 Server’s address lbs-simcom.com:3001 lbs-simcom.com:3000 lbs-simcom.com:3002 (Default) |
<value> |
String type. The value of parameter If <operate> is 1 and <para> is 3, <value> can be set. |
<len_value> | Max length of <value> |
Example |
AT+CLBSCFG? +CLBSCFG: (0-1),3,”Param Value” OK AT+CLBSCFG=0,3 +CLBSCFG: 0,3,”lbs-simcom.com:3002″ OK AT+CLBSCFG=1,3,”lbs-simcom.com:3002″ OK |
NOTE
Server’s address of “lbs-simcom.com:3002” is The other two servers are charged.
If you want to use the charged address, the IMEI, customer information and software version must be provided to SIMCom
L1803 AT+CASSISTLOC Base station location of LTE/CDMA1x mode
The write command is used to base station location.
This command only is applicable to CDMA only or CDMA and LTE hybrid network or CDMA and EVDO hybrid network.
W) AT+CASSISTLOC=<mode> | +CASSISTLOC: <longitude>,<latitude>,, +CASSISTLOC: <ret_code> OK or +CASSISTLOC: ,,, OK or ERROR |
<mode> | 1 get longitude and latitude. |
<longitude> | Current east longitude in degrees. |
<latitude> | Current north latitude in degrees |
<ret_code> | The result code. 0 Success |
Example |
AT+CASSISTLOC=1 +CASSISTLOC: 31.220278,121.353058,, +CASSISTLOC: 0 OK |