페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages

1. AT Commands For LBS  

 

No Command Description
F1801 AT+CLBS Base station Location
F1802 AT+CLBSCFG Base station Location configure

 

 

 

 

 

F1801   AT+CLBS     Base Station Location

The write command is used to base station location.

 

T) AT+CLBS=?

+CLBS:

(1,2,3,4,9),(1-42),(-180.000000-180.000000),(-90.000000-90.000000),(0,1) 

OK

W) AT+CLBS=<type>,<cid>,

[[<longitude>,<latitude>],

[<lon_ type>]]

OK

1) <type>=1,get longitude and latitude

+CLBS: <ret_code>[,<latitude>,<longitude>,<acc>]

 2) <type>= 2,get detail address

+CLBS: <ret_code>[,<detail_addr>]

 3) <type>= 3,get access times

+CLBS: <ret_code>[,<times>]

 4) <type>= 4,get longitude latitude and date time

+CLBS: <ret_code>[,<latitude>,<longitude>,<acc>,<date>,<time>]

5) <type>= 9, report positioning error

+CLBS: <ret_code>

 If error is related to ME functionality:

+CLBS: <ret_code>

 ERROR

 

<type> A numeric parameter which specifies the location type.
1     use 3 cell’s information
2     get detail address
3     get access times
4     get longitude latitude and date time
9     report positioning error
<cid>

A numeric parameter which specifies a particular PDP context definition (see AT+CGDCONT command).

1…42

<longitude> Current longitude in degrees .-180.000000-180.000000
<latitude> Current latitude in degrees  -90.000000-90.000000
<detail_addr>

Current detail address.

It based the UCS2 coding. Each 4 characters in the URC is for one UCS2 character.

<acc> Positioning accuracy
<lon_type>

The type of longitude and latitude

0 WGS84
1 GCJ02

<times> Access service times(UTC,the format is YYYY/MM/DD,HH:MM:SS)
<date> Service date(UTC, the format is YYYY/MM/DD).
<time> Service time(UTC, the format is HH:MM:SS).
<ret_code> Please refer to chapter 18.3

 

Example

AT+CLBS=?

+CLBS:

(1,2,3,4,9),(1-42),(-180.000000-180.000000),(-9

0.000000-90.000000),(0,1)

OK

AT+CLBS=1

OK

+CLBS: 0,31.228525,121.380295,500

AT+CLBS=2

OK

+CLBS: 0,4e0a6d775e020020957f5b81533a002091d19

49f8def002097608fd166688baf79d162805927697c

 AT+CLBS=3

OK

+CLBS: 0,2020/04/30,09:48:56

AT+CLBS=4

OK

+CLBS: 0,31.228525,121.380295,500,2025/06/07,10:49:08

 

 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. The LBS is only support in GSM/WCDMA/CDMA/LTE/5G net mode.

Before use LBS, please execute AT+NETACT? to check urc.

If return +NETACT: 0, please excute AT+NETACT=1 firstly; If return +NETACT: 1, excute LBS commands directly.

 

 

 

F1802   AT+CLBCFG     Base station Location configure

The write command is used to set and query the base station location configure.

T) AT+CLBSCFG=?

+CLBSCFG: (0-1),3,”Param Value”

 OK

W) AT+CLBSCFG=<operate>,< para>[,<value>]

+CLBSCFG: 0,<para>,<value>

OK

or

OK

If error is related to ME functionality:

+CLBSCFG: <ret_code>

ERROR

 

<operate> 0 Read operator
1 Set operator
<para> 3 Server’s address
<value>

String type. The value of parameter

Server’s address of “lbs-simcom.com:3002” is free

<len_value> Please refer to chapter 18.3

 

Example

AT+CLBSCFG?

+CLBSCFG: (0-1),3,”Param Value”

OK

AT+CLBSCFG=0,3

+CLBSCFG: 0,3,”lbs-simcom.com:3002″

OK

 

 

 

 

 

2. Summary of result codes for LBS

 

0 Success
1 Parameter error returned by server
2 Service out of time returned by server
3 Location failed returned by server
4 Query timeout returned by server
5 Certification failed returned by server
6 Server LBS error success
7 Server LBS error failed
8 LBS is busy
9 Open network error
10 Close network error
11 Operation timeout
12 DNS error
13 Create socket error
14 Connect socket error
15 Close socket error
16 Get cell info error
17 Get IMEI error
18 Send data error
19 Receive data error
20 NONET error
21 Net not opened
80 Report LBS to server success
81 Report LBS to server parameter error
82 Report LBS to server failed
110 Other Error

 

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT

 

www.simcom.com

 

Viewed Page List