WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
32
3.3 Obtaining Module Location: +CIPGSMLOC
Description
To obtain the location information of the module
Format
AT+CIPGSMLOC<CR>
AT+CIPGSMLOC=<n><CR>
Parameter
<n>: Specifies the type of request
0: single base station (default)
1: multiple base station (not supported)
Return Value
<CR><LF>+CIPGSMLOC: <fail_string><CR><LF>
<fail_string>:
CONTACT FAIL
LINK FAIL
LINK NOT FREE
<CR><LF>OK<CR><LF>
<CR><LF>+CIPGSMLOC: {<result_string>}
<CR><LF>+CIPGSMLOC: OK<CR><LF>
< result_string>: character string containing latitude and longitude
<CR><LF>OK<CR><LF>
<CR><LF>+CIPGSMLOC: <code>
<CR><LF>+CIPGSMLOC: FAIL <CR><LF>
<code>: response code from the server when the request is sent successfully but no
location information is returned
401: No permission
400: parsing error
404: requested base station has not been included
408: parsing times out
500: server error
000: unknown error
<CR><LF>OK<CR><LF>
<CR><LF>+CIPGSMLOC: TIMEOUT<CR><LF>
Example
AT$MYNETACT=0,1
OK
The single-BS location
request is executed
successfully.