USR-DR404 user manual
Jinan USR IOT Technology Limited
60
After the command is executed correctly, the module switches from command mode to transparent transmission
mode. If need to enter the command mode again, enter "+++" and the confirmation code to return to the command mode.
4.3.4.3. AT+NETP
Function: Query/Set network protocol parameters
Format:
Query : AT+NETP<CR>
+ok=<protocol,CS,port,IP><CR>< LF ><CR>< LF >
Setting: AT+NETP=<protocol,CS,port,IP><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
protocol: protocol type, including
TCP
UDP
CS: Client or server, including
SERVER: server
CLIENT: client
port: protocol port, decimal number, less than 65535
Note: when in TCP Server and UDP Server mode, cannot be 80(HTTP port), 8000(websocket port), 49000(usr-link port).
IP: when module works as TCP client or UDP, server address(can be a IP address or a domain name of server).
After restarting the module, parameters take effect.
4.3.4.4. AT+UART
Function: Query/Set serial parameters
Format:
Query : AT+UART<CR>
+ok=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>< LF ><CR>< LF >
Setting: AT+UART=<baudrate,data_bits,stop_bit,parity,flowctrl><CR>
+ok<CR>< LF ><CR>< LF >
Parameters:
baudrate: band rate,
300, 600, 1200, 1800, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400, 345600, 460800
data_bits: data bit