GPRS DTU User Manual V1.3
http://en.usr.cn
Jinan USR IOT Technology Limited
Page 27 of 31
2. Serial data bit, parity bit, stop bit settings
a.
Inquiry
Send
AT+ICF?<CR><LF>
return
<CR><LF>+ICF:<format>,<parity><CR><LF>OK<CR><LF>
b.
Setting
Send
AT+ICF=<format>,<parity><CR><LF>
Return
<CR><LF>OK<CR><LF>
Setting successfully. Then, work as per new data bit, parity bit, stop bit.
With this command, can set start/ stop(asynchronous) frame format of the local serial port.
When DCE receive DTE command and sending message text and result code,
<format>,<parity> format as follows:
Format: 1: 8 data bit 2 stop bit
3: 8 data bit 1 stop bit
4: 7 data bit 2 stop bit
5: 7 data bit 1 parity bit
1 stop bit
Parity
0: odd Parity
1: even parity
3: No parity
Example:
Setting: 8 data bit, 1 stop bit, <format>,<parity>=3,3
6.4.Setting Example
//Power on, within 2-30 seconds, configure as follows:
AT+CSTT="CMNET"
OK
AT+CIPCFG=1,50,0,0,0,0
OK
AT+CIPPACK=0,"4C4F47"
OK
AT+CIPPACK=1,"4C4F47494E3A31303031"