Table of Contents

Advertisement

www.usriot.com

USR-DR404 user manual

USR-DR404 User Manual
File version: V1.0.1
Jinan USR IOT Technology Limited
www.usriot.com
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USR-DR404 and is the answer not in the manual?

Questions and answers

Summary of Contents for USR IOT USR-DR404

  • Page 1: Usr-Dr404 User Manual

    USR-DR404 user manual USR-DR404 User Manual File version: V1.0.1 Jinan USR IOT Technology Limited www.usriot.com...
  • Page 2: Table Of Contents

    USR-DR404 user manual Contents USR-DR404 User Manual............................... 1 1. Product Overview..................................6 1.1. Brief Introduction................................6 1.2. Specifications................................6 2. Networking application................................7 2.1. Wireless Networking Configuration..........................7 2.2. Wireless networking application...........................8 2.2.1. Wireless networking application(AP)......................... 8 2.2.2. STA Mode................................9 2.2.3.
  • Page 3 4.3.4.14. AT+WAP...............................65 4.3.4.15. AT+WAKEY............................65 4.3.4.16. AT+MSLP............................. 66 4.3.4.17. AT+WSCAN............................66 4.3.4.18. AT+TCPLK.............................67 4.3.4.19. AT+TCPDIS............................67 4.3.4.20. AT+WANN............................68 4.3.4.21. AT+LANN............................. 68 4.3.4.22. AT+TCPTO............................68 4.3.4.23. AT+MAXSK............................69 4.3.4.24. AT+TCPB.............................. 69 4.3.4.25. AT+TCPPTB............................70 4.3.4.26. AT+TCPADDB............................70 4.3.4.27. AT+TCPTOB............................70 Jinan USR IOT Technology Limited www.usriot.com...
  • Page 4 4.3.4.59. AT+HEARTDT............................81 4.3.4.60. AT+HEARTTM............................81 4.3.4.61. AT+REBOOTEN............................ 81 4.3.4.62. AT+REBOOTT............................82 4.3.4.63. AT+TIMEOUTEN..........................82 4.3.4.64. AT+TIMEOUTT............................. 83 4.3.4.65. AT+FAPSTA............................83 4.3.4.66. AT+HTTPSCEN............................. 83 4.3.4.67. AT+MODBPOLLEN..........................84 4.3.4.68.AT+UPDATE............................84 4.3.4.69.AT+MONITOR............................85 5. Contact us....................................85 6. Disclaimer....................................85 Jinan USR IOT Technology Limited www.usriot.com...
  • Page 5 Long distance communication: two serial server can transport for 150m(Test conditions: open line of sight, two WIFI  serial servers self-networking, 57600 baud rate, no packet loss during transmission). Designed with guide rails for easy installation.  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 6: Product Overview

    1. Product Overview 1.1. Brief Introduction USR-DR404 supports serial port to WIFI function, make the serial port (RS485)connection switch into TCP/IP net interface to realize the bi-direction transparent transmission between serial port and WIFI/Ethernet. Enable serial devices to have TCP / IP network interface function immediately, connect to the network for data communication, greatly extend...
  • Page 7: Networking Application

    2.1. Wireless Networking Configuration USR-DR404 can configure to be a STA or an AP. Can be set by AT command, web page, as below: (1) AT command setting: Set by AT + WMODE, it can be set to AP or STA.
  • Page 8: Wireless Networking Application

    RS485, as fellows: Diagram 3 AP mode The WIFI serial server works in AP mode. The above applications can be set using the following AT commands: (1) Set the WIFI server to AP mode AT+WMODE=AP Jinan USR IOT Technology Limited www.usriot.com...
  • Page 9: Sta Mode

    2.2.2. STA Mode USR-DR404 do as STA and connect to other APs to form a wireless network, all STA take the AP as wireless networking centre, mutual communication between STAs is completed through AP forwarding, as below:...
  • Page 10: Ap+Sta

    2.2.3. AP+STA USR-DR404 can support one AP and one STA meanwhile. Enable the AP+STA function, STA and AP interface can be used meanwhile, STA interface connected to the router, and then connected to the server in the internet via TCPB; AP interface can be connected by the phone/ pad (TCPA).
  • Page 11: Wireless Networking Applications (Ap,Sta)

    After clicking “Apply”,restart to take affect. 2.2.4. Wireless Networking Applications (AP,STA) USR-DR404 can be configured to be a STA and a AP , in theory support 2 wireless interface, one STA and one AP, other STA will connected to the network via this AP.
  • Page 12: Wired Networking

    WAKEY Setting/query encryption parameters under the WIFI AP mode LANN Setting/query the IP under the AP mode FEPHY Enable/disable Ethernet interface FVER Setting/query module software version (N-Ver、Z-Ver) Form 2 Related AT Command Item Description Jinan USR IOT Technology Limited www.usriot.com...
  • Page 13: Wired Networking Application

    WIFI, serial port and Ethernet port. In terms of networking, the USR-DR404 serial server network port can be set to LAN port and WAN port; at the same time, it supports bridge mode and routing mode to correspond to different specific applications.
  • Page 14: Wired Networking Applications (Ap+ Wan)

    USR-DR404 works in AP mode, set the Ethernet interface to WAN, connected to the router that can search the internet, and enable the DHCP. Now USR-DR404 works as a second grade router, PC and pad connect to the AP(USR-DR404) can can be online, the default AP is USR-DR404_xxxx, no encryption, 000000000000which can be setting by web page or AT command.
  • Page 15: Wired Networking Applications (Router)

    Ethernet interface. As below, PC1 in the subnet, for DR404 works in router mode, PC1 can connected to the PC2, but PC2 can not connected to PC1. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 16 (7) Restart. Web page setting: Log in to the built-in web page of DR404, enter the page of Ethernet setting, and set the Ethernet Mode to ”n” in the Ethernet mode settings. As shown below: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 17: Wired Networking Applications (Bridge)

    AT+FVER=z (2) Enable Ethernet interface AT+FEPHY=on (3) Reset the module, the setting will take affect AT+RELD AT + RELD command does not restore the above settings. (4) Set the working mode to STA AT+WMODE=STA Jinan USR IOT Technology Limited www.usriot.com...
  • Page 18: Product Function

    The first three modes can send “+++” and “a” successively through the serial port. USR-DR404 will return the confirmation codes“a” and “+ ok” in order to switch to the AT command mode. AT + ENTM can return USR-DR404 from AT command mode to the original working mode. For details, please refer to the related chapter of “Serial AT Command”.
  • Page 19: Transparent Mode

    WIFI/Ethernet, no analyzing, minimize the complexity of use. 3.1.2. Serial command mode In this mode ,when USR-DR404 works in UDP client or TCP client, allow sending serial data to different servers. Diagram 14 Serial command mode The MCU sends data packets according to the following format.
  • Page 20: Httpd Client Mode

    HTTP protocol data and send it to the designated HTTP server. The data received from the server will be directly transmitted to the serial port without any processing. The following are specific application examples: First set HTTP parameters through AT command: Item Description Jinan USR IOT Technology Limited www.usriot.com...
  • Page 21 HTTP header according to their own needs(If the HTTP request type is POST / PUT, USR-DR404 will automatically add Content-Length).The setting commands include "AT + HTPMODE, AT + HTPSV, AT + HTPTP, AT + HTPURL, AT + HTPHEAD". For specific command setting procedures, please refer to the “AT command” chapter.
  • Page 22 Diagram 15 HTTPD Client requesting type (2) In “Application Setting”, select Httpdclient Mode as long/short. Diagram 16 HTTPD Client mode settings If set to short connection mode, timeout can be set within the range of 3-65535 (s). Jinan USR IOT Technology Limited www.usriot.com...
  • Page 23: Modbus Tcp <=> Modbus Rtu

    TCP client and the port must be the same. For the working mode, select Modbus TCP <=> Modbus RTU. Diagram 18 modbus TCP <=> modbus RTU Setting by AT command: AT+TMODE=modbus Setting by web page: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 24: At Command Mode

    TCP link. The specific data flow chart shows: USR-DR404 Serial device Diagram 20 Multi TCP link data transmission diagram Socket A settings: AT+NETP/AT+TCPTO/AT+TCPLK/AT+TCPDIS Jinan USR IOT Technology Limited www.usriot.com...
  • Page 25: Uart

    115200, 230400, 345600, 460800 Data 5, 6, 7, 8 Stop Parity None, Even, Odd NFC: no hardware control Form 8 Serial port parameters Webpage setting: Log in the build-in webpage, under the “Application Setting”page, as below: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 26: Uart Free Framing

    After testing, if the interval set to be 10 ms, and small amount of data, the delay time of the loopback from WIFI ->UART->WIFI is about 40~50ms. But ,if the interval is 10ms and the MCU can not confer to send the next bytes in 10ms, and the serial data might be breaking. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 27: Uart Auto-Framing Mode

    1. Auto framing trigger frame length: USR-DR404 receives the specified number of bytes from the serial port, forms a data frame, and forwards it to the network.
  • Page 28: Synchronous Band Rate (Rfc2217)

    Serial parameter bit: Bit # Explanation Value Description 5 bits 6 bits Data bit selection 7 bits 8 bits 1 bit Stop Bit 2bits Disable Parity Parity Enable Enable Parity EVEN Parity Type Mark Clear Jinan USR IOT Technology Limited www.usriot.com...
  • Page 29: Usr-Link

    0% to 100%. Terminator Terminator for signal strength n, 0x0D, 0x0A。 Parity The accumulated sum of all bytes after the header (excluding the header) and before the parity (excluding the parity). Form 10 Reply Command Jinan USR IOT Technology Limited www.usriot.com...
  • Page 30 Form 12 Reply Command For example: Mobile phone sends to WIFI serial server (hexadecimal number): FF 00 0F 02 00 54 45 53 54 31 0D 0A 31 32 33 34 35 36 CE Jinan USR IOT Technology Limited www.usriot.com...
  • Page 31: Usr Cloud

    The main purpose of sending to the network is to maintain a connection with the server, and at the same time let the server that is idle for a long time (do not send data to the server for a long time) to detect whether the current connection status is valid. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 32: Socket Distribution

    MCU send data package according the below format, module parse and send “n”bytes data to the appointed socket connection. When the data returned, no parse and output from the serial directly. header Length Parameters Data Parity (n+2) Format 14 Serial transmission format Header: 0x55 0xFD 0xAA Jinan USR IOT Technology Limited www.usriot.com...
  • Page 33 Parity: from the parameters( included) to parity(not include), add and take the last bytes as parity. Below is detailed application: AA FD 55 00 03 61 00 CC 2D (HEX) Length: 00 04: the length is 4 Parameters 61 00: 61—data from socket A 00—net to serial Jinan USR IOT Technology Limited www.usriot.com...
  • Page 34: Timeout Restart

    Others, if more function for the socket A and socket B, please refer to the 2.4. 3.10.Timeout Restart Under the transparent transmission mode, enable the timeout restart function. If the DR404 no WIFI connection or connected but no communication in set time, DR404 will restart. (1)Enable this function: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 35: Timing Restart

    The parameter setting is completed, takes effect after the module is restarted, and the module will restart every 200h. Item Description REBOOTEN Enable/disable timing restart REBOOTT Query/setting time for timing restart Form 18 Timing Restart 3.12.Modbus Polling (1) Setting by web page Diagram 27 Modbus polling Jinan USR IOT Technology Limited www.usriot.com...
  • Page 36: Remote Upgrade

    Query and set the remote update enable status, remote server address, remote server port, and reporting interval. (2) Setting/ Query remote upgrade parameters AT+MONITOR=off,10 Default is off. Query and set the remote update enable status and reporting interval. Setting by web page: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 37: Remote Upgrade System Configuration

    30min. 3.13.2 Remote upgrade system configuration (1) User registration and login Log in to https://ycsj1.usriot.com, click Register to register your account (if you have an account, log in directly) as shown in the figure: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 38 After activation, please contact our company to review the account. The account can be used normally after review. After login, the device monitoring interface is entered by default. This interface mainly displays the currently online devices. (2)Version configuration Jinan USR IOT Technology Limited www.usriot.com...
  • Page 39 The ftp address and http address will Automatic update, you can click the download button to download the firmware for confirmation. When iterative upgrade is required, the serial number must be increased in the order of version. (3) Add device Jinan USR IOT Technology Limited www.usriot.com...
  • Page 40: Websocket

    Check whether the device is successfully upgraded through the device upgrade record. 3.14.Websocket DR404 supports websocket server. Instead of the ways such as HTTP GET, POST, PUT, and is faster. Providing the related websocket testing webpage for user to testing, details are as below:(10.10.100.254/websocket.html) Jinan USR IOT Technology Limited www.usriot.com...
  • Page 41: Product Parameter Setting

    “AT Commands” section of this document; this chapter mainly describes the Web setting methods. 4.1. Web Page First time using the DR404, you can configure it via webpage. PC connects to AP interface of USR-DR404. Default SSID, IP and username, password are as fellows:...
  • Page 42: Open The Management Webpage

    4.1.2. Quick Configure Diagram 34 Quick Configure This webpage shows a way to quickly configure the USR-DR404 for user. Configure the parameters and restart to make the DR404 work normal. Of course, please click the respond webpage to configure. Jinan USR IOT Technology Limited...
  • Page 43: Mode Selection

    4.1.3. Mode Selection Diagram 35 Mode Selection In the first page choose the work mode of the DR404:AP/ STA. Data transfer mode including “transparent mode”, ”serial command mode”, ”HTTPD client mode”, ”modbus TCP and modbus RTU”. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 44: Ap Interface Setting

    Diagram 36 AP interface DR404 supports AP interface with which can management the DR404 easier and can realize the networking. Webpage is as above, including SSID, security mode and LAN setup. Both supports user defined. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 45: Sta Interface Setting

    DHCP and Static IP. 4.1.6. Application setting Application settings are settings for WIFI to RS485 parameters, including: setting of serial port parameters, automatic framing settings, Ethernet function settings, registration package settings and network protocol settings. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 46 USR-DR404 user manual Diagram 38 WIFI-Uart setting Jinan USR IOT Technology Limited www.usriot.com...
  • Page 47 Network setting: 4 modes can be set on the network side as TCP server, TCP client, UDP server and UDP client. When USR-DR404 is configured as a UDP server, USR-DR404 will remember the last UDP client and communicate with the last UDP client. The UDP Client mode only communicates with the target IP and port. When set to TCP Server, there is no need to enter an IP address.
  • Page 48: Ethernet Setting

    DR404 has one Ethernet port, this port can be work as LAN port or WAN port. LAN port: it supports the data transmission between Ethernet to the serial or WIFI. WAN port: DR404 can be used as secondary router which is convenient for user to network. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 49: Httpd Client Mode

    USR-DR404 user manual 4.1.8. HTTPD Client Mode Diagram 41 HTTPD Client Jinan USR IOT Technology Limited www.usriot.com...
  • Page 50: Advanced

    Under the HTTPD client mode, the content of the protocol header, including: server address, server port, request type, header path, header Connection and header User-Agent. 4.1.9. Advanced Under the advanced webpage, user can setup port mapping. It only works at STA mode or Ethernet port sets as WAN. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 51 USR-DR404 user manual Diagram 43 Advanced Jinan USR IOT Technology Limited www.usriot.com...
  • Page 52: Device Management

    Device management includes username / password settings, factory reset and software upgrade functions. Instr: Restart: when user setting parameters in different webpage, click Apply to make sure it, but these parameters will be effect after restart and DR404 will reboot to fresh the original parameters. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 53: At Command

    T1>the interval of serial port package T2<300ms T3<300ms T5<3s Change transparent transmission mode , HTTPD Client mode to AT command mode : 1. Serial device send “+++”to module continuously. Module received ‘+++’ then returned an “a” . Jinan USR IOT Technology Limited www.usriot.com...
  • Page 54 Note: The specific AT command requires a ENTER, but the "+++" and "a" sent by entering the AT command process do not need a ENTER. In AT command mode, you can view all AT commands and descriptions of USR-DR404 through the following help commands, as follows:...
  • Page 55: Net At Command

    First, the computer establishes a network connection with USR-DR404, and uses AT Setup software. Diagram 50 Web search Click “Search”, the searched USR-DR404 will be displayed, click the USR-DR404, and then set through the left operation area (the method is the same as the serial port setting) Jinan USR IOT Technology Limited www.usriot.com...
  • Page 56: Command Format

    Response data  + <RSP> [op] [para-1, para-2, para-3, para-4…] <CR> <LF> <CR> <LF> +: the response prefix RSP: response string ,including: [op]: = [para-n]: return parameters or the error code: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 57: At Command

    Query socket A TCP connection connect/disconnected TCPDIS Query/Set establish TCP connection enable/disable(Only take effect in TCP Client mode) WANN Query/Set network parameters in STA mode(WAN interface parameters) LANN Query/Set network parameters in AP mode(LAN interface parameters) Jinan USR IOT Technology Limited www.usriot.com...
  • Page 58 Query/Set HTTP URL in HTTP Client mode(new) HTPHEAD Query/Set HTTP header in HTTP Client mode(new) HTTPSCEN Query/Set HTTPD Client connection mode(long/short) HTTPSCT Query/Set HTTPD Client Short Connection Timeout (3-65535s) REGEN Query/Set registration package type REGTCP Query/Set registration packet sending type Jinan USR IOT Technology Limited www.usriot.com...
  • Page 59: At+E

    1.This AT command set is for onboard WIFI module, which can be used for query, setting WIFI serial server parameters。 2.USR-DR404 can work in AP mode or STA mode, and the WIFI parameters need to be set with different commands.
  • Page 60: At+Netp

    +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  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 61: At+Uartf

    Function: Query/Set auto-frame trigger time Format: Query : AT+ UARTFT<CR> +ok=<time><CR>< LF ><CR>< LF > Setting: AT+ UARTFT=<time><CR> +ok<CR>< LF ><CR>< LF > Parameters: time: auto-frame trigger time, unit is ms. Range: 100~10000.  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 62: At+Uartfl

    After restarting the module, parameters take effect. Note: After power on, works in transparent transmission mode by default. 4.3.4.9. AT+WMODE Function: Query/Set WIFI mode(AP or STA) Format: Query : AT+WMODE<CR> +ok=<mode><CR>< LF ><CR>< LF > Setting: AT+ WMODE=<mode><CR> Jinan USR IOT Technology Limited www.usriot.com...
  • Page 63: At+Wskey

     or 13 digits; when WPA-PSK and WPA2-PSK, password is ASCII, 8~63digits. This parameter only valid in STA mode, after restarting the module, parameters take effect. But can also be set in AP mode. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 64: At+Wsssid

    This parameter only valid in STA mode. 4.3.4.13. AT+WEBU Function: Query/Set web server username and password. Format: Query : AT+WEBU<CR> +ok=<usr,password><CR>< LF ><CR>< LF > Setting: AT+ WEBU=< usr,password ><CR> +ok<CR>< LF ><CR>< LF > Parameters: usr: username  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 65: At+Wap

    Function: Query/Set encryption parameters in AP mode Format: Query : AT+WAKEY<CR> +ok=<auth,encry,key><CR>< LF ><CR>< LF > Setting: AT+ WAKEY=< auth,encry,key><CR> +ok<CR>< LF ><CR>< LF > Parameters: auth: Authentication mode, including  OPEN  SHARED  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 66: At+Mslp

    When the module enters the sleep mode, enter AT + MSLP = on again, module exits the sleep mode. The mode is still command mode. 4.3.4.17. AT+WSCAN Function: Search around AP Format: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 67: At+Tcplk

    When setting, "off" sets the module as unlinkable.Immediately after the command is completed, the module  disconnects the link and does not reconnect."On" sets the module to a linkable state. After the command is completed, the module will immediately reconnect to the server. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 68: At+Wann

    Note: The address of the WAN port of the module viewed by WANN and the address of the LAN port of the module viewed by LANN. The two IPs cannot be set on the same network segment, otherwise the module does not work properly. 4.3.4.22. AT+TCPTO Function: Query/Set TCP timeout Format: Query : AT+ TCPTO<CR> Jinan USR IOT Technology Limited www.usriot.com...
  • Page 69: At+Maxsk

    +ok=<sta.><CR>< LF ><CR>< LF > Setting: AT+ TCPB=<on/off><CR> +ok<CR>< LF ><CR>< LF > Parameters: When querying, sta.: Returns whether socket B is enabled.  on, enable  off, disable  After restarting the module, parameters take effect. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 70: At+Tcpptb

     After restarting the module, parameters take effect. 4.3.4.27. AT+TCPTOB Function: Query/Set TCPB timeout Format: Query : AT+ TCPTOB<CR> +ok=<time><CR>< LF ><CR>< LF > Setting: AT+ TCPTOB=<time ><CR> +ok<CR>< LF ><CR>< LF > Parameters: Jinan USR IOT Technology Limited www.usriot.com...
  • Page 71: At+Tcplkb

    AT+FUDLX=on/off<CR> +ok<CR>< LF ><CR>< LF > This command enables or disables the RS485 interface. By default, RS485 is enabled, and the 485 control pin is RTS. This command takes effect after restoring factory settings. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 72: At+Aabr

    4.3.4.34. AT+DOMAIN Function: Query/Set web server domain name Format: Query : AT+ DOMAIN<CR> +ok=<name><CR>< LF ><CR>< LF > Setting: AT+ DOMAIN=<name ><CR> +ok<CR>< LF ><CR>< LF > Parameters: name: web server domain name  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 73: At+Reld

    Represents the production date, year, month and day  nnnn: Indicates the production serial number  4.3.4.38. AT+VER Function: Query firmware version Format: Query : AT+VER<CR> +ok=<ver><CR>< LF ><CR>< LF > Parameters: ver: returns firmware version of module.  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 74: At+H

    +ok=<type><CR>< LF ><CR>< LF > Setting: AT+ HTPMODE=<type><CR> +ok<CR>< LF ><CR>< LF > Parameters: type: Authentication mode, including  new : New HTTP Client mode parameters configuration way  old: old HTTP Client mode parameters configuration way  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 75: At+Httpurl

    +ok<CR>< LF ><CR>< LF > Parameters: Type: HTTP requesting type, including    POST  4.3.4.44. AT+HTTPPH Function: Query/Set HTTP header path (old). Format: Query : AT+ HTTPPH<CR> +ok=<path><CR>< LF ><CR>< LF > Setting: AT+ HTTPPH=<path><CR> Jinan USR IOT Technology Limited www.usriot.com...
  • Page 76: At+Httpcn

    Function: Query/Set HTTP server address and port number (new). Format: Query : AT+ HTPSV<CR> +ok=<ip>,<port><CR>< LF ><CR>< LF > Setting: AT+ HTPSV=<ip>,<port><CR> +ok<CR>< LF ><CR>< LF > Parameters: ip: HTTP server IP address  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 77: At+Htptp

    Query : AT+ HTPURL<CR> +ok=<path><CR>< LF ><CR>< LF > Setting: AT+ HTPURL=<path><CR> +ok<CR>< LF ><CR>< LF > Parameters: path: HTTP requesting path.  4.3.4.50. AT+HTPHEAD Function: Query/Set HTTP header (new). Format: Query : AT+ HTPHEAD<CR> Jinan USR IOT Technology Limited www.usriot.com...
  • Page 78: At+Regen

    +ok=<type><CR>< LF ><CR>< LF > Setting: AT+ REGTCP=<type><CR> +ok<CR>< LF ><CR>< LF > Parameters: type: registration package sending type, including  first: sending when establish a connection  every: sending when data is sent every time  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 79: At+Wtpwr

    +ok<CR>< LF ><CR>< LF > Parameters: Usr: Length is limited to 40 characters, HEX format.  For example: set the registration package content to: www.usr.cn, “77 77 77 2E 75 73 72 2E 63 6E” in HEX Jinan USR IOT Technology Limited www.usriot.com...
  • Page 80: At+Tcpdpen

     off, heartbeat package function is disabled  Parameter takes affect after restarting the module. 4.3.4.58. AT+HEARTTP Function: Query/Set heartbeat package sending type. Format: Query : AT+HEARTTP <CR> Jinan USR IOT Technology Limited www.usriot.com...
  • Page 81: At+Heartdt

    Query : AT+ HEARTTM<CR> +ok=<time><CR>< LF ><CR>< LF > Setting: AT+ HEARTTM=<time ><CR> +ok<CR>< LF ><CR>< LF > Parameters: time.: heartbeat package sending interval, 1~65535s, default is 30s.  4.3.4.61. AT+REBOOTEN Function: Enable/Disable timing restart function Jinan USR IOT Technology Limited www.usriot.com...
  • Page 82: At+Reboott

    Setting: AT+ TIMEOUTEN=<on/off><CR> +ok<CR>< LF ><CR>< LF > Parameters: When querying, sta.: returns whether timeout restart function is enabled, including  on, timeout restart function is enabled  off, timeout restart function is disabled  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 83: At+Timeoutt

    Query : AT+HTTPSCEN <CR> +ok=<mode><CR>< LF ><CR>< LF > Setting: AT+HTTPSCEN =<mode><CR> +ok<CR>< LF ><CR>< LF > Parameters: mode: HTTPD Client mode, including  long: long connection mode  short: short connection mode  Jinan USR IOT Technology Limited www.usriot.com...
  • Page 84: At+Modbpollen

     default: ycsj1.usr.cn  server port: server port  Default: 30001  interval: reporting interval  Default is 30min, maximum time interval (max): 120min  Parameter takes affect after restarting the module. Jinan USR IOT Technology Limited www.usriot.com...
  • Page 85: 69.At+Monitor

     default is 10min, maximum time interval (max): 120min  Parameter takes affect after restarting the module. 5. Contact us Company: Jinan USR IOT Technology Co., Ltd Address: Floor 11,Building1,No.1166 Xinluo Street,Gaoxin Distric,Jinan,Shandong,250101 China Tel: 86-531-55507297 86-531-88826739-803 http://www.usriot.com/ Web: Skype: lisausr http://h.usriot.com/index.php?c=frontTicket&m=sign...
  • Page 86 USR-DR404 user manual Jinan USR IOT Technology Limited www.usriot.com...

Table of Contents

Save PDF