
GSM Module
2.9
ZTE Exclusive Commands
2.9.1
+ZGPIO: read/write GPIO
Description
This command is used to set input/output interface and read/write GPIO
value.
Format AT+ZGPIO=<flag>,<index>,<value>
AT+ZGPIO=0,5
(
read
)
+ZGPIO: 0
OK
Example
AT+ZGPIO=1,22,1
(
write
)
OK
Parameter
<flag>
:
0
:
read
1
:
write
<index>
:
Index for GPIO to read/write;
<value>
:
0
:
I/O set as 0;
1
:
I/O set as 1;
Remarks
Only GPIO5, GPIO22 provided to users for operation.
2.9.2
+ZSTR: check module’s status
Description
This command is used to check the module’s operation status;
Format AT+ZSTR=<status>
+ZSTR: <status>,<value>
AT+ZSTR=1
Check initialization status
AT+ZSTR=2
Check network status
Example
AT+ZSTR=?
Check the list of parameters
Parameters
<status>
1:No meaning, input AT+ZSTR=1, and display ZSTR: 1,2
。
2: network status.
<value>
0:network unavailable;
1:network available;
2: no meaning.
2.9.3
+ZGETICCID: set ICCID
Description
Read ICCID in SIM card
Format AT+ZGETICCID
Example No
parameter
Descriptions
of returned
+ZGETICCID:89860042190733578148
Description: ICCID value as
89860042190733578148
49