User's Manual
HF-A21-SMT Embedded WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com
41
AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR>< LF ><CR>< LF >
Set Operation
AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
protocol:
TCP
UDP
CS: Network mode:
SERVER
CLIENT
Port: protocol port ID: Decimal digit and less than 65535
IP: Server‟s IP address when module set as client
After HF-A21-SMT module boots up again, the setting will be effective.
4.2.2.4. AT+UART
Function: Set/Query serial port parameters;
Format:
Query Operation
AT+UART<CR>
+ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>< LF ><CR>< LF >
Set Operation
AT+UART=<baudrate,data_bits,stop_bit,parity><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
baudrate:
1200,1800,2400,4800,9600,19200,38400,57600,115200,230400
data_bits:
5,6,7,8
stop_bits:
1,2
parity:
NONE,EVEN,ODD,MARK,SPACE
flowctrl:hardware flow control (CTSRTS)
NFC: No flow control
FC: flow control
After HF-A21-SMT module boots up again, the setting will be effective.
4.2.2.5. AT+ UARTF
Function: Open/Close UART auto-frame function;
Format:
Query Operation
AT+ UARTF<CR>
+ok=<para><CR>< LF ><CR>< LF >
Set Operation
AT+ UARTF=<para ><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
para:
disable - Close auto-frame function;
enable - Open auto-frame function;