페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Search in pages
AT Commands For LBS

  

Command Description
AT+CLBS Base station Location
AT+CLBSCFG Base station Location configure

 

 

 

 

AT Commands For Open/Close Network

  

Command Description
AT+CNETSTART Open network
AT+CNETSTOP Close network
AT+CNETIPADDR Inquire PDP address

 

 

 

 

AT+CNETSTART     Open Network

 

R) AT+CNETSTART?

+CNETSTART: <net_stat>

 

OK

or

ERROR

E) AT+CNETSTART

OK

 

+CNETSTART: <err>

or

+CNETSTART: <err>

 

OK

or

+CNETSTART: <err>

 

ERROR

or

ERROR

 

 

<net_state>

a numeric parameter that indicates the state of PDP context activation:

0           network close (deactivated)

1          network is opening

2          network open(activated)

3          network is closing

<err> The result of operation, 0 is success, other value is failure.

 

 

Example

AT+CNETSTART?

+CNETSTART: 0

 

OK

AT+CNETSTART

OK

 

+CNETSTART: 0

 

 

 

 

AT+CNETSTOP     Close Network

 

E) AT+CNETSOP

OK

 

+CNETSTOP: <err>

or

+CNETSTOP: <err>

 

OK

or

+CNETSTOP: <err>

 

ERROR

or

ERROR

 

 

<err> The result of operation, 0 is success, other value is failure.

 

 

Example

AT+CNETSTOP

+CNETSTOP: 0

 

OK

 

 

 

 

AT+CNETIPADDR     Inquire PDP Address

 

R) AT+CNETIPADDR?

+CNETIPADDR: <ip_address>

 

OK

or

+CNETIPADDR: <err_info>

 

ERROR

or

ERROR

 

 

<ip_address> A string parameter that identifies the IP address of current active socket PDP.
<err_info> A string parameter that displays the cause of occurring error.

 

 

Example

AT+CNETIPADDR?

+CNETIPADDR: 10.71.155.118

 

OK

 

 

 

 

 Unsolicited Open/Close network command <err> Codes

 

Code of <err> Description
0 Operation succeeded
1 Unknown error
2 Open network failed
3 Close network failed
4 Network not opened
5 Operation not support
6 Busy
7 Network has been opened
8 Network is also in use

 

 

 

 

AT+CLBS     Base Station Location

 

T) 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>,[[<longitude>,<latitude>],[<lon_type>]]

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

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

 

OK

 

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

+CLBS:

<locationcode>[,<longitude>,<latitude>,<acc>,<date>,<time>]

 

OK

If error is related to ME functionality:

+CME ERROR: <err>

Parameter Saving Mode
Maximum Response Time
Reference  
 

 

<type>

1    Use 3 cell’s information

4    Get longitude latitude and date time

<cid> Bearer profile identifier, refer to <pdpidx> of AT+CNACT
<locationcode>

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

<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

1       GCJ02

<times> Access service times
<date> Service date
<time> Service time
 

 

Example

AT+CLBS=?

+CLBS:

(1,3,4,9),(0-3),(-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.

 

 

 

 

AT+CLBSCFG     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>

Parameter Saving Mode
Maximum Response Time
Reference  

 

 

<operate>

0       Read operator

1       Set operator

<para>

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)

<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

 

NOTE

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

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.

 

Adsense

EMW3070

Viewed Page List