Table of Contents

Advertisement

Quick Links

DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
Wi-Fi/Ethernet to RS232/RS485 Server
Overview of Characteristic
Embedded
UART to Wi-Fi device, hardware flow
control (RTS/CTS) RS232
Support
IEEE802.11b/g/n
Support
TCP/UDP/HTTP
Support
SSL
Encryption
Support
Telnet
Communication
Support
RS232/RS485/Ethernet Data
RS232 RS485 automatic switching
Support Work As
STA/AP/AP+STA
Support
Router/Bridge
Support
AT+ Instruction Set
Support Friendly
Web Configuration
Single
5~18V DC
Power Supply
Size:
84 x 84 x
25mm
FCC/CE/TELEC/RoHs
http://www.iotworkshop.com
DTU-H10X
User Manual
V1.1
interface
Wireless standards
Network Protocols
Interface
Mode
Mode Networking
for Configuration
Page
Certificated
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DTU-H10X and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for IOT DTU-H10X

  • Page 1 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual DTU-H10X Wi-Fi/Ethernet to RS232/RS485 Server User Manual V1.1 Overview of Characteristic  Embedded UART to Wi-Fi device, hardware flow control (RTS/CTS) RS232 interface  Support IEEE802.11b/g/n Wireless standards  Support TCP/UDP/HTTP Network Protocols ...
  • Page 2: Table Of Contents

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual TABLE OF CONTENTS PRODUCT OVERVIEW ....................... 9 1.1. General Specification ......................9 1.2. Hardware Introduction ......................10 1.2.1. Interface Description ......................10 1.2.2. RS232 Interface ....................... 11 1.2.3. RS485 Interface ....................... 11 1.2.4.
  • Page 3 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.12. Palmodic Signal ......................... 27 3.13. Firmware Upgrade ......................28 OPERATION GUIDELINE ......................29 4.1. Configuration via Web Accessing ..................29 4.1.1. Open Web Management Interface ................... 29 4.1.2. Quick Configure ....................... 29 4.1.3.
  • Page 4 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 5.2.2.21. AT+WAKEY ......................52 5.2.2.22. AT+HIDESSID ......................52 5.2.2.23. AT+MSLP ......................... 53 5.2.2.24. AT+WSCAN ......................53 5.2.2.25. AT+ TCPLK ......................53 5.2.2.26. AT + TCPDIS ......................54 5.2.2.27. AT+ WANN ....................... 54 5.2.2.28.
  • Page 5 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Q5: How to configure transparent serial port application: Two DTUs all configured as STA and connection through AP? ....................69 Q6: How to avoid IP address confliction when apply DTU? ............70 Q7: PC works as server, all DTUs works as data acquisition card and connect with PC, how to configure this application? ....................
  • Page 6 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual LIST OF FIGURES Figure 1. DTU-H10X Appearance....................... 10 Figure 2. RS232 Pin Defination(Male/Needle Type) ................. 11 Figure 3. RJ45 Pin Defination ......................12 Figure 4. DTU-H10X Mechanical Dimension ..................13 Figure 5. DTU-HXXX Series Order Information .................. 13 Figure 6.
  • Page 7 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 48. UDP Search Function ...................... 71 LIST OF TABLES Table 1 DTU-H10X Technical Specifications ..................9 Table 2 DTU-H10X External Interface ....................10 Table 3 RS232 Interface ........................11 Table 4 RJ45 Interface ........................12 Table 7 Serial Command Mode ......................
  • Page 8 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual HISTORY Ed. V0.1 Created on 01-27-2016. Ed. V0.2 Update AT command list and add Q&A. Ed. V1.0 Update GPIO function. Ed. V1.1 Add Telnet functio(firmware version at least 1.8), add TCPB SSL function(firmware version has TLS word support this feature,AT+VER::4.02.11.DTU-1.8-TLS),Add DTU-H101、...
  • Page 9: Product Overview

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 1. PRODUCT OVERVIEW 1.1. General Specification Table 1 DTU-H10X Technical Specifications Class Item Parameters Port Number Interface 8-Pin RJ45 Ethernet Port PHY Rate 10/100Mbps, MDI/MDIX IP/TCP/UDP/DHCP/DNS/HTTP/ARP/ Network Protocol ICMP/Web socket/Http Client Standard 802.11 b/g/n Frequency 2.412GHz~2.484GHz...
  • Page 10: Hardware Introduction

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Class Item Parameters Customization Support Software Customization 1.2. Hardware Introduction Figure 1. DTU-H10X Appearance 1.2.1. Interface Description Table 2 DTU-H10X External Interface Function Name Description External RJ45 Ethernet 10/100M Ethernet Interface RS232 RS232 Communication...
  • Page 11: Rs232 Interface

    1.2.4. RJ45 Interface DTU-H10X Ethernet port is 10M/100M adaptive, support AUTO MDI/MDIX which means it support direct connecting to PC with Ethernet cable. Ethernet function is enabled by default and it can also be closed for power save via web or AT command.
  • Page 12: Button Interface

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 3. RJ45 Pin Defination Table 4 RJ45 Interface Pin Number Name Description Transfer Data+ Transfer Data- Receive Data+ Transformer Tap Voltage PHY-VCC Transformer Tap Voltage PHY-VCC Receive Data- None Connect N.C. None Connect N.C.
  • Page 13: Mechanical Size

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 1.2.6. Mechanical Size DTU-H10X device physical size as follows: Figure 4. DTU-H10X Mechanical Dimension 1.2.7. Order Information Base on customer detailed requirement, DTU-HXXX series product provide different variants and physical type for detailed application.
  • Page 14: Device Difference

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 1.2.8. Device Difference Device difference is as following. Type RS232 RS485 Ethernet Input Voltage Size(mm) √ √ √ DTU-H100 5~18V 84x84x25 √ DTU-H101 5~18V 84x84x25 √ DTU-H101 5~18V 84x84x25 1.2.9. Package Information 1 * DTU-HXXX...
  • Page 15: Application

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 2. APPLICATION 2.1. Wireless Networking The device can be configured as both wireless STA and AP base on network type. Logically there are two interfaces in the device. One is for STA, and another is for AP. When the device works as AP, other STA equipments are able to connect to wireless LAN via the device.
  • Page 16: Sta Application

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 2.1.2. STA Application As showing in the figure below, Router works as an AP, DTU and the laptop are STAs connected to AP. Meanwhile, DTU connected to user device via RS232/RS485 interface. in such AP network structure, the whole coverage of a wireless network can be extended easily.
  • Page 17: Figure 9. Dtu Ap+Sta Application

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Server Server DTU Device AP+STA Mode PLC Device Laptop Phone Tablet Figure 9. DTU AP+STA Application When device enables AP+STA function, device's STA interface can connect with router and connect to TCP server in the network. At the same time, device's AP interface is also active and...
  • Page 18: One Ap One Sta Applicatioin

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual When user enable AP+STA function, the STA port need to keep connected with other router (AP), or STA port will have to scan the AP frequently, which will affect AP port function and may cause some data loss.
  • Page 19: Ethernet Interface Networking (As Ap, N-Ver)

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual reset to enable/disable Ethernet. Device need different configuration to support different Ethernet Networking mode (Such as “N-Ver" and “Z-Ver" as following, which need AT+FVER=n to switch to N-Ver or AT+FVER=z to switch to Z-Ver).
  • Page 20: Ethernet Interface Networking (As Sta, Z-Ver)

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 10.10.100.100).So for above networking, PC1(left laptop) at internal subnet can initiate a connection to PC2 , but PC2 can‟t active initiate a connection to PC1, they are in a different subnetwork. 2.2.3. Ethernet Interface Networking (As STA, Z-Ver)
  • Page 21: Function Description

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3. FUNCTION DESCRIPTION 3.1. User Configuration Process When device power on, it will work as the previous setting parameter. If need to change the default working mode, need to configure the following example.
  • Page 22: Agreement(Serial Command Mode)

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.2.2. Agreement(Serial Command Mode) In this mode, the user can send the serial data to a different server address, this mode can use UDP or TCP client to send data to server. Customer MCU send packets according to the following format. The device will parse the received serial data and send only the data to ther destination address.
  • Page 23: Httpd Client Mode

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Data: Sent data, the maximum length is 1000 bytes. Summary: The following example for reference. 【0x55 0xaa 0x00 0x0a 0x00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 0x0f】 UART Data: Length: 【0x00 0x0a】...
  • Page 24: Wi-Fi Parameter Setting

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.3. Wi-Fi Parameter Setting 3.3.1. Auto- Frequency Function When device works as STA, it will adjust its wireless channel to keep the same channel with associated AP and connect in. When device works as AP and enable Auto-frequency function, then when device boot up, it will select the best wireless channel based on surrounding environment.
  • Page 25: Uart Auto-Frame

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual defined value (50ms default), The device will think it as the end of one frame and transfer this free-frame to WiFi port, or The device will receive UART data untill 4K bytes, then transfer 4KB frame to WiFi port.
  • Page 26: Socket B

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 15. Multi-TCP Link Data Transmition Structure 3.5.2. Socket B Socket B has one work mode: TCP Client, please refer to the AT + TCPB command instruction.  AT+TCPB=on, Enable TCPB function; ...
  • Page 27: Upload Id

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 3.7. Upload ID This function only applies to the the device as a TCP client (Socket A or Socket B), in front of the data when the device connected to the server, it will add with two bytes of ID (ID the range is 0 ~ 65535, the high byte first, and the low byte behind) plus two bytes ID radix-minus-one complement, e.g the default ID is 1111, then the "0x57 0x04 0xfb 0xa8"...
  • Page 28: Firmware Upgrade

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Status Two: The device will output “Palmodic Signal" after normal boot up.The palmodic signal is 0.5Hz square wave with dutyfactor 1:1. User can query this signal to judge if deviceis active “live" or need to re-boot. When device switches to command mode, it will output “0", which used to distinguish work mode and command mode.
  • Page 29: Operation Guideline

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 4. OPERATION GUIDELINE 4.1. Configuration via Web Accessing When first use device, user may need some configuration. User can connect to device‟s wireless interface with following default setting information and configure the device through laptop.
  • Page 30: Mode Selection Page

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 18. Quick Configure Page This page has four configuration options and a restart, the corresponding instructions below:  WI-FI Setting: set the working mode of wifi, AP mode or the STA. ...
  • Page 31: Ap Interface Setting Page

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 4.1.4. AP Interface Setting Page This page use to setting the parameters when device works as AP. Figure 20. AP Interface Setting Page 4.1.5. STA Interface Setting Page This page use to setting the parameters when device works as STA.
  • Page 32: Application Setting Page

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 21. STA Interface Setting Page 4.1.6. Application Setting Page This page use to setting the parameters of serial port communication, such as UART setting and high layer network protocol setting which used support serial communication.
  • Page 33: Ethernet Setting

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual function for UDP Server mode, If set as UDP Server, the device will save the IP address and port of the latest UDP packet received. The data will be sent to the saved IP address and port. If the device hasn‟t saved any IP address and port when power up.
  • Page 34: Device Management Page

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 24. HTTPD Client Mode Page 4.1.9. Device Management Page This page use to manage device general setting, such as administrator setting, restart device button, restore factory default setting button, and update firmware through webpage.
  • Page 35: The Device Usage Introduction

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Restart device button: When you setting the parameters of different web pages, you will click “Apply" button to confirm the setting, but the setting take effect only after user click the “Restart" button here, the device will re-boot up and reflash the memory information with new changes.
  • Page 36: Figure 28. "Commtools" Serial Debug Tools

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 28. “CommTools" Serial Debug Tools PC2 open “TCPUDPDbg" program, and create a new connection. If The device configured as Server mode, “TCPUDPDbg" Tools shall create “Client “mode connection. Or otherwise, create a “Server"...
  • Page 37: Figure 30. "Tcpudpdbg" Tools Setting

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual “TCPUDPDbg" Tools Setting Figure 30. Then, click “Create" button to create a connection. “TCPUDPDbg" Tools Connection Figure 31. Now, in transparent transmission mode (The device default setting), data can be transferred from “CommTools" program to “TCPUDPDbg" program, or in reverse. You can see data in receiver side will keep same as in sender side.
  • Page 38: Typical Application Examples

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 4.3. Typical Application Examples 4.3.1. Wireless Control Application RS232/RS485 PLC Device Figure 32. Wireless Control Application For this wireless control application, The device works as AP mode. Device‟s serial port connects to user device. So, control agent (Smart phone for this example) can manage and control the user device through the wireless connection with device.
  • Page 39: Transparent Serial Port Application

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual For this remote management application, The device works as STA mode and connects to Internet through wireless AP. Device configured as TCP Client and communicates with remote TCP server at Internet. Device‟s serial port connects to user device.
  • Page 40: Figure 35. Wireless Data Acquisition Card Application

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual LAN IP: 10.10.100.254 Net Prot: TCP Client 10.10.100.100:8899 IP: 10.10.100.100 Net Prot: TCP Server 8899 LAN IP: 10.10.98.254 LAN IP: 10.10.99.254 WAN IP: 10.10.100.102 WAN IP: 10.10.100.101 Net Prot: TCP Client Net Prot: TCP Client 10.10.100.100:8899...
  • Page 41: At+Instruction Introduction

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 5. AT+INSTRUCTION INTRODUCTION 5.1. Configuration Mode When The device power up, it will default works as transparent transmission mode, then user can switch to configuration mode by serial port command. The device UART default parameters setting as below figure, Figure 36.
  • Page 42: At+ Instruction Set Overview

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 1. When user input “+++" (No “Enter" key required), the UART port will display feedback information “a", and not display input information"+++" as above UART display. 2. Any other input or wrong step to UART port will cause the device still works as original mode (transparent transmission).
  • Page 43: At+ Instruction Set

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  “NULL": Query the current command parameters setting;  [para-n]: Parameters input for setting if required;  <CR>:"Enter" Key, it‟s 0x0a or 0x0d in ASCII; Notes: When input AT+Instruction, “AT+<CMD>" character will display capital letter automatic and other parts will not change as you input.
  • Page 44: At+E

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual WSLK Query WiFi link status as STA WEBU Set/Query WEB page login parameters (User Name and Password) Set/Query WIFI parameters as AP WAKEY Set/Query WIFI security parameters as AP Set/Query hide AP‟s SSID...
  • Page 45: At+Entm

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 5.2.2.2. AT+ENTM  Function: Set device into transparent transmition mode;  Format: AT+ENTM<CR> +ok<CR>< LF ><CR>< LF > When operate this command, device switch from configuration mode to transparent transmission mode. 5.2.2.3. AT+NETP ...
  • Page 46: At+ Uartf

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  data_bits:  5,6,7,8  stop_bits:   parity:  NONE,EVEN,ODD,MARK,SPACE  flowctrl:hardware flow control (CTSRTS)  NFC: No flow control  FC: flow control After device boots up again, the setting will be effective.
  • Page 47: At+ Modben

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual AT+ UARTFL=<len ><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  len: Range 64 ~4096; Unit: byte. Auto-frame trigger length; 5.2.2.8. AT+ MODBEN  Function: Set/Query Modbus function, valid when reboot  Format: ...
  • Page 48: At+Wskey/At+Wskeya

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  mode:WIFI work mode   After device boots up again, the setting will be effective. 5.2.2.11. AT+WSKEY/AT+WSKEYA  Function: Set/Query WIFI security parameters as STA for first target AP;  Format: ...
  • Page 49: At+Wskeyc

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  NONE: When “auth=OPEN", effective  WEP-H: When “auth=OPEN" or “SHARED", effective, HEX format  WEP-A: When “auth=OPEN" or “SHARED", effective, ASCII format  TKIP: When "auth= WPAPSK", effective  When “auth= WPAPSK", effective AES: ...
  • Page 50: At+Wsssidb

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  ap‟s ssid: AP‟s SSID This Instruction only effective for The device works as STA. After device boots up again, the setting will be effective. But user can set this command when device configured as AP. The default is DTU- H10X_XXXX.
  • Page 51: At+Wslk

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Parameters:  ret: on/off  off: disable auto switch, default value  on: enable auto switch. Note: If enable auto swich functioin, when the device reboot, it will choose the most strong signal stength to connect according to the three AP setting by AT+WSSSIDX command.
  • Page 52: At+Wakey

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  wifi_mode: WiFi protocols  11BG    11BGN   ssid: SSID when device works as AP;  channel: WIFI channel selection  AUTO  CH1~CH11 This Instruction only effective for The device works as AP. After device boots up again, the setting will be effective.
  • Page 53: At+Mslp

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual AT+ HIDESSID=<sta><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  When Query,sta reply if device‟s SSID is hide;  On – not hide SSID;  Off - hide SSID;  When Set, ...
  • Page 54: At + Tcpdis

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  on: TCP link setup;  off: TCP link not setup; 5.2.2.26. AT + TCPDIS  Function: Open/Cose TCP (Only TCP Client available);  Format:  Query Operation AT+TCPDIS<CR> +ok=<sta><CR>< LF ><CR>< LF >...
  • Page 55: At + Dhcpden

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Set Operation AT+ LANN=<address,mask ><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  address: LAN port IP address;  mask: LAN port subnet mask; This Instruction only effective for The device works as AP. After device boots up again, the setting will be effective.
  • Page 56: At+ Maxsk

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Parameters:  time: TCP timeout time.  <= 600, (600s);  >=0, (0 means no timeout);  Default, 300s; 5.2.2.32. AT+ MAXSK  Function: Set/Query maxima TCP connection;  Format:  Query Operation AT+ MAXSK<CR>...
  • Page 57: At+Tcpaddb

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Parameters:  port: decimal ,<65535 After device boots up again, the setting will be effective. 5.2.2.35. AT+TCPADDB  Function: Set/Query TCPB server address;  Format:  Query Operation AT+TCPADDB<CR> +ok=<add><CR>< LF ><CR>< LF >...
  • Page 58: At+Regen

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Query Operation AT+NTCPBSSLEN<CR> +ok=<status><CR>< LF ><CR>< LF >  Set Operation AT+ NTCPBSSLEN=<status><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  status: on/off,Enable/Disable TCPB SSL function. 5.2.2.39. AT+REGEN  Function: Set/Query TCP Client register packet, setting is valid after reboot.
  • Page 59: At+Ephy

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Set Operation AT+REGID=<id><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  id: Register packet id, 0~65535, default is 1111. Note: When device connect to server, it will send two bytes id number(0~65535, high byte first) and two bytes id complement number, for example id is 1111.
  • Page 60: At+Frlden

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  domain: domain to acess to device webpage. 5.2.2.45. AT+FRLDEN  Function: Enable/Disable nReload pin function;  Format:  Query Operation AT+ FRLDEN<CR> +ok=< on/off ><CR>< LF ><CR>< LF >  Set Operation AT+ FRLDEN=<on/off><CR>...
  • Page 61: At+Ver

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  device_id: Device ID information; 5.2.2.50. AT+VER  Function: Query device software version information;  Format:  Query Operation AT+VER<CR> +ok=<ver><CR><LF><CR><LF>  Parameters:  ver: Device software version information; 5.2.2.51. AT+H  Function: Help;...
  • Page 62: At+Wmac

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual AT+ FVER=<n/z><CR> +ok<CR><LF><CR><LF>  Parameters:  status: device working mode..  n: router mode.(default mode)  z: bridge mode. 5.2.2.54. AT+WMAC  Function: Set/Query device MAC address;  Format:  Query Operation AT+ WMAC<CR>...
  • Page 63: At+Htptp/At+Httptp

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual 5.2.2.57. AT+HTPTP/AT+HTTPTP  Function: Query/Set device http request type, it is valid only in httpdclient mode, setting is valid after reboot  Format:  Query Operation AT+HTPTP/AT+HTTPTP<CR> +ok=<Type><CR>< LF ><CR>< LF > ...
  • Page 64: At+Htpmode

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual AT+HTTPUA<CR> +ok=<Parameter><CR>< LF ><CR>< LF >  Set Operation AT+HTTPUA=<Parameter><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  Parameter: 1~20 length, devault "lwip1.3.2". 5.2.2.61. AT+HTPMODE  Function: Query/Set device http format, it is valid only in httpdclient mode, setting is valid after reboot.(Reserved)
  • Page 65 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual +ok=<password><CR>< LF ><CR>< LF >  Set Operation AT+FASWD=<password><CR> +ok<CR>< LF ><CR>< LF >  Parameters:  password: scan password, 1~100 length, the default is "HF-A11ASSISTHREAD" if blank value. - 65 - http://www.iotworkshop.com...
  • Page 66: Appendix A: Questions And Answers

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual APPENDIX A: QUESTIONS AND ANSWERS Q1: How to configure transparent serial port application (TCP protocol) with two DTU devices?  Network structure as below figure:  DTU 1# Setting:  --See “Mode Selection Page”...
  • Page 67: Q3: How To Configure Transparent Serial Port Application (Udp Protocol) With Two Dtus

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual  Wireless WAN IP address setting see “STA Interface Setting Page” as below Figure, User can set WAN connection type to DHCP and STATIC IP. Figure 41. DTU WAN IP Setting Q3: How to configure transparent serial port application (UDP protocol) with two DTUs? ...
  • Page 68: Figure 43. Dtu Network Protocols: Tcp/Server

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 43. DTU Network Protocols: TCP/Server  Protocol: TCP Client  Application IP address required: it‟s target TCP server „s IP address;  Port ID required: 8899 (Default) Figure 44. DTU Network Protocol: TCP/Client ...
  • Page 69: Q5: How To Configure Transparent Serial Port Application: Two Dtus All Configured As Sta And Connection Through Ap

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Figure 45. DTU Network Protocol: UDP Q5: How to configure transparent serial port application: Two DTUs all configured as STA and connection through AP?  Network structure as below figure:  DTU 1# Setting: ...
  • Page 70: Q6: How To Avoid Ip Address Confliction When Apply Dtu

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual LAN IP:10.10.100.254 TCP, Server 8899 WIFI WIFI UART UART STA, STA, LAN IP:10.10.99.254 LAN IP:10.10.98.254 WAN IP: 10.10.100.100 WAN IP: 10.10.100.101 TCP, Server TCP, Client 8899 10.10.100.100: 8899 Figure 46. Two DTUs Connection Through AP Q6: How to avoid IP address confliction when apply DTU? ...
  • Page 71: Q8: Dtu Works In Sta Mode, How Does The Pc Get The Dtu Ip Address

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual LAN IP:10.10.100.254 TCP, Client WIFI 10.10.100.100:8899 IP: 10.10.100.100 UART TCP, Server 8899 WIFI WIFI UART UART STA, STA, LAN IP:10.10.99.254 LAN IP:10.10.98.254 WAN IP: 10.10.100.101 WAN IP: 10.10.100.102 TCP, Client TCP, Client 10.10.100.100:8899 10.10.100.100: 8899...
  • Page 72: Appendix B:recommend Toolst

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual APPENDIX B:RECOMMEND TOOLST Debug Tools download link : http://pan.baidu.com/s/1i413aUL, include the following tools. B.1.UART Tools SecureCRT Accessport B.2.TCPUDP Tools TCPUDPDbg: B.3.APP Tools Wi-Fi Config Tools: - 72 - http://www.iotworkshop.com...
  • Page 73: Appendix C: Telnet Function

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual APPENDIX C: TELNET FUNCTION C.1 Telnet Function: a)Remote manage DTU device b)Remote manage user device C.2 Telnet Character: DTU firmware required at least:4.02.11.DTU-1.8-TLS b)Telnet support one TCP client. c)Telnet port 23 d)Telnet will be close, if no data is sent in 3 minutes.
  • Page 74 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual b)use the webpage login account to login in. The screen will show “DTU>” when login is OK. Telnet support 2 level directory The root DTU directory, input help to check the root directory command supported.
  • Page 75 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual d)Input quit to get back to the upper level directory, and input uart-str or uart-hex to enter data transfer mode. Then the UART and the telenet can transfer data to each other. - 75 -...
  • Page 76 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Telnet Details: DTU/CMD>directory: The client send AT+<CMD>\r\n, the device will feedback with AT command response. See the detailed AT command in above chapter. DTU/UART-STR>directory: The client send [data\r\n], the device will delete the last [\r\n] and send the [data] to UART The data must end with \r\n.
  • Page 77 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual Step 3 Device send 0xFF 0xFB 0x01 to disable telnet input display. Step 4 Device send “password”,the PC feed back with password. Step 5 Device send 0xFF 0xFC 0x01 to enable telnet input display.
  • Page 78 DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual - 78 - http://www.iotworkshop.com...
  • Page 79: Appendix C: Contact Information

    DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual APPENDIX C: CONTACT INFORMATION ------------------------------------------------------------------------------------------------------------ Web Site: http://www.iotworkshop.com/ Business Contact: business@iotworkshop.com Technical Contact: support@iotworkshop.com After Sale Contact: service@iotworkshop.com ----------------------------------------------------------------------------------------------------------- END OF DOCUMENT - 79 - http://www.iotworkshop.com...

Table of Contents