HF2111 GPRS Serial Server User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
21/29
Query Operation
AT+SOCKB<CR>
+ok=<protocol,port,IP,mode><CR><LF><CR><LF>
Set Operation
AT+SOCKB=<protocol,port,IP,mode><CR>
+ok<CR><LF><CR><LF>
Parameters:
protocol:
NONE: none setting, clear current setting.
TCP
UDP
port: protocol port ID: Decimal digit and less than 65535
IP: S
erver’s IP address or domain name
mode: Connectiontype
LONG: long link connection
SHORT: short link connection.
4.2.2.16.
AT+SOCKC
Function: Set/Query SOCK C network protocol parameters, Setting is valid after
reset. Support SMS config.
Format:
Query Operation
AT+SOCKC<CR>
+ok=<protocol,port,IP,mode><CR><LF><CR><LF>
Set Operation
AT+SOCKC=<protocol,port,IP,mode><CR>
+ok<CR><LF><CR><LF>
Parameters:
protocol:
NONE: none setting, clear current setting.
TCP
UDP
port: protocol port ID: Decimal digit and less than 65535
IP: Server’s IP address or domain name
mode: Connectiontype
LONG: long link connection
SHORT: short link connection.
4.2.2.17.
AT+TCPALK
Function: Query if SOCK A TCP link already build-up;
Format:
AT+TCPALK<CR>
+ok=<sta><CR><LF><CR><LF>
Parameters:
sta.: if module already setup TCP link;
on: TCP link setup;
off: TCP link not setup;
4.2.2.18.
AT+TCPBLK
Function: Query if SOCK A TCP link already build-up;
Format:
AT+TCPBLK<CR>
+ok=<sta><CR><LF><CR><LF>
Parameters: