GV300 User manual
Soporte Técnico
GSM/GPRS/GPS Tracker
Comandos AT para pruebas
Revision: 1.00
http://www.queclink.com
TRACGV300UM001 [email protected]
-1-
Comandos AT para pruebas
Comandos AT para pruebas
Titulo del document
Version 1.00
Fecha 2013-1-10
Estado Borrador
Document Control ID TRACGV300UM001
General Notes
Queclink offers this information as a service to its customers, to support application and
engineering efforts that use the products designed by Queclink. The information provided is based
upon requirements specifically provided to Queclink by the customers. Queclink has not
undertaken any independent search for additional relevant information, including any information
that may be in the customer’s possession. Furthermore, system validation of this product designed
by Queclink within a larger electronic system remains the responsibility of the customer or the
customer’s system integrator. All specifications supplied herein are subject to change.
Copyright
This document contains proprietary technical information which is the property of Queclink
Limited., copying of this document and giving it to others and the using or communication of the
contents thereof, are forbidden without express authority. Offenders are liable to the payment of
damages. All rights reserved in the event of grant of a patent or the registration of a utility model
or design. All specification supplied herein are subject to change without notice at any time.
Copyright © Shanghai Queclink Wireless Solutions Co., Ltd. 2011
Comandos AT para pruebas
Contenido
1 Manejo de Buffer ........................................................................................................................... 4
1.1. Solicitar numero de mensajes en buffer ..................................................................................... 4
1.2. Actualizar mensajes en la memoria flash ................................................................................... 4
1.3. Leer mensajes desde el buffer .................................................................................................... 4
1.4. Escribir mensajes en el buffer .................................................................................................... 4
1.5. Eliminar los mensajes del Buffer ............................................................................................... 4
2 Analisis de Logs ............................................................................................................................. 5
2.1. Log GPS NMEA ........................................................................................................................ 5
2.2. Log de reportes........................................................................................................................... 5
2.3. Log sensor de movimiento ......................................................................................................... 6
2.4. Log entrada y salidas .................................................................................................................. 6
2.5. Detener la captura de logs .......................................................................................................... 6
3 Analisis de Logs GSM ................................................................................................................... 7
3.2 Estado de registro en la red GSM ............................................................................................... 7
2.6. Estado de registro en al red GPRS ............................................................................................. 8
2.7. Enlazarse/Desenlazarse de GPRS .............................................................................................. 9
Comandos AT para pruebas
1 Manejo de Buffer
1.1. Solicitar numero de mensajes en buffer
AT+QFSBUF=6
1.2. Actualizar mensajes en la memoria flash
AT+QFSBUF=5
1.3. Leer mensajes desde el buffer
AT+QFSBUF=4
1.4. Escribir mensajes en el buffer
AT+QFSBUF=3
1.5. Eliminar los mensajes del Buffer
AT+QFSBUF=0
TRACGV300UM001 -4-
Comandos AT para pruebas
2 Analisis de Logs
2.1. Log GPS NMEA
AT+UARTLOG=1
2.2. Log de reportes
AT+UARTLOG=2
TRACGV300UM001 -5-
Comandos AT para pruebas
2.3. Log sensor de movimiento
AT+MCULOG=1
2.4. Log entrada y salidas
AT+GPIOLOG=1
2.5. Detener la captura de logs
AT+UARTLOG=0
AT+MCULOG=0
AT+GPIOLOG=0
TRACGV300UM001 -6-
Comandos AT para pruebas
3 Analisis de Logs GSM
3.2 Estado de registro en la red GSM
AT+CREG?
Read Command Response
AT+CREG?
TA returns the status of result code presentation and an integer <stat> which
shows whether the network has currently indicated the registration of the ME.
Location information elements <lac> and <ci> are returned only when <n>=2
and ME is registered in the network.
+CREG: <n>,<stat>[,<lac>,<ci>]
OK
If error is related to ME functionality:
+CME ERROR: <err>
Write Command Response
AT+CREG=<n>
TA controls the presentation of an unsolicited result code +CREG: <stat>
when <n>=1 and there is a change in the ME network registration status.
OK
Parameters
<n> 0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code
+CREG: <stat>
2 Enable network registration unsolicited result code
with location information
<stat> 0 Not registered, ME is not currently searching a new
Operator to register to
1 Registered, home network
2 Not registered, but ME is currently searching a new
operator to register to
3 Registration denied
TRACGV300UM001 -7-
Comandos AT para pruebas
4 Unknown
5 Registered, roaming
<lac> String type; two byte location area code in hexadecimal format
< ci > String type; two byte cell ID in hexadecimal format
2.6. Estado de registro en al red GPRS
AT+CGREG?
Read Command Response
AT+CGREG?
+CGREG: <n>,<stat>[,<lac>,<ci>]
OK
+CME ERROR: <err>
Parameter
See Write Command.
Write Command Response
AT+CGREG=[<n OK
>] ERROR
Parameters
<n>
0 Disable network registration unsolicited result code
1 Enable network registration unsolicited result code
+CGREG:<stat>
2 Enable network registration and location information unsolicited result
code +CGREG: <stat>[,<lac>,<ci>]
<stat>
0 Not registered, ME is not currently searching a new operator to register to
1 Registered, home network
2 Not registered, but ME is currently searching a new
operator to register to
3 Registration denied
TRACGV300UM001 -8-
Comandos AT para pruebas
4 Unknown
5 Registered, roaming
<lac> String type; two byte location area code in hexadecimal format
(e.g. "00C3" equals 195 in decimal)
<ci> String type; two bytes cell ID in hexadecimal format
2.7. Enlazarse/Desenlazarse de GPRS
AT+CGATT?
Read Command Response
AT+CGATT?
+CGATT: <state>
OK
Parameter
See Write Command.
Write Command Response
AT+CGATT=<sta OK
te>
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<state> Indicates the state of GPRS attachment
0 Detached
1 Attached
Other values are reserved and will result in an ERROR
response to the Write Command
TRACGV300UM001 -9-