M10 AT Commands Set
M10_ATC_V1.01 - 149 -
AT+QISERVER
=<type>[,<max>]
OK
ERROR
If configuration as server success, return:
SERVER OK
If configuration as server fail, return:
CONNECT FAIL
Parameter
<type> A numeric to indicate the type of the server
0 TCP server
1 UDP server
<max> the maximum number of clients allowed to connect in. The
default value is 1.
Note:
The parameter <max> is invalid when QIMUX is 0
Reference
Note
7.2.17 AT+QICSGP Set CSD Or GPRS For Connection Mode
AT+QICSGP Set CSD Or GPRS For Connection Mode
Test Command
AT+QICSGP=?
Response
+QICSGP:0-CSD,DIALNUMBER,USER
NAME,PASSWORD,RATE(0,3)
+QICSGP: 1-GPRS,APN,USER NAME,PASSWORD
OK
Parameters
See Write Command
Read Command
AT+QICSGP?
Response
+QICSGP: <mode>
OK
Parameter
See Write Command
Write Command
AT+QICSGP=<
mode>,[(<apn>,<
user name >,
<password>)/
(<dial
number>,<user
name>,<passwor
d>,<rate>)]
Response
OK
ERROR
Parameters
<mode> a numeric parameter which indicates the wireless connection
mode
0 set CSD as wireless connection mode
1 set GPRS as wireless connection mode
GPRS parameters:
<apn> a string parameter which indicates the access point name
<user name> a string parameter which indicates the user name