IOT DTU-H10X User manual

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
1
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
Support SSL Encryption
Support Telnet Communication
Support RS232/RS485/Ethernet Data Interface
RS232 RS485 automatic switching
Support Work As STA/AP/AP+STA Mode
Support Router/Bridge Mode Networking
Support AT+ Instruction Set for Configuration
Support Friendly Web Configuration Page
Single 5~18V DC Power Supply
Size: 84 x 84 x 25mm
FCC/CE/TELEC/RoHs Certificated

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
2
TABLE OF CONTENTS
1. 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. RJ45 Interface.................................................................................................................. 11
1.2.5. Button Interface................................................................................................................ 12
1.2.6. Mechanical Size............................................................................................................... 13
1.2.7. Order Information............................................................................................................. 13
1.2.8. Device Difference............................................................................................................. 14
1.2.9. Package Information........................................................................................................ 14
2. APPLICATION ............................................................................................................................ 15
2.1. Wireless Networking............................................................................................................. 15
2.1.1. AP Application.................................................................................................................. 15
2.1.2. STA Application ............................................................................................................... 16
2.1.3. AP+STA Applicatioin........................................................................................................ 16
2.1.4. One AP One STA Applicatioin......................................................................................... 18
2.2. Ethernet Interface Communication ..................................................................................... 18
2.2.1. Ethernet Interface Networking (As AP, N-Ver) ................................................................ 19
2.2.2. Ethernet Interface Networking (As STA, N-Ver).............................................................. 19
2.2.3. Ethernet Interface Networking (As STA, Z-Ver) .............................................................. 20
3. FUNCTION DESCRIPTION....................................................................................................... 21
3.1. User Configuration Process................................................................................................. 21
3.2. Working Mode ....................................................................................................................... 21
3.2.1. Transparent Transmission Mode..................................................................................... 21
3.2.2. Agreement(Serial Command Mode)................................................................................ 22
3.2.3. HTTPD Client Mode......................................................................................................... 23
3.3. Wi-Fi Parameter Setting........................................................................................................ 24
3.3.1. Auto- Frequency Function ............................................................................................... 24
3.3.2. Security............................................................................................................................ 24
3.3.3. Search Function for STA ................................................................................................. 24
3.3.4. Address Binding............................................................................................................... 24
3.4. UART Frame Scheme............................................................................................................ 24
3.4.1. UART Free-Frame........................................................................................................... 24
3.4.2. UART Auto-Frame........................................................................................................... 25
3.5. Network Setting..................................................................................................................... 25
3.5.1. Socket A........................................................................................................................... 25
3.5.2. Socket B........................................................................................................................... 26
3.6. TCP Password Authentication............................................................................................. 26
3.7. Upload ID................................................................................................................................ 27
3.8. Keepalive................................................................................................................................ 27
3.9. Multiple STA Parameters...................................................................................................... 27
3.10. Websocket(Reserved)....................................................................................................... 27
3.11. Parameters Setting............................................................................................................ 27

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
3
3.12. Palmodic Signal................................................................................................................. 27
3.13. Firmware Upgrade............................................................................................................. 28
4. 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. Mode Selection Page....................................................................................................... 30
4.1.4. AP Interface Setting Page ............................................................................................... 31
4.1.5. STA Interface Setting Page ............................................................................................. 31
4.1.6. Application Setting Page.................................................................................................. 32
4.1.7. Ethernet Setting ............................................................................................................... 33
4.1.8. HTTPD Client Mode......................................................................................................... 33
4.1.9. Device Management Page .............................................................................................. 34
4.2. The device Usage Introduction............................................................................................ 35
4.2.1. Software Debug Tools ..................................................................................................... 35
4.2.2. Network Connection......................................................................................................... 35
4.2.3. Device Debug .................................................................................................................. 35
4.3. Typical Application Examples ............................................................................................. 38
4.3.1. Wireless Control Application............................................................................................ 38
4.3.2. Remote Management Application.................................................................................... 38
4.3.3. Transparent Serial Port Application................................................................................. 39
4.3.4. Wireless Data Acquisition Card Application..................................................................... 39
5. AT+INSTRUCTION INTRODUCTION...................................................................................... 41
5.1. Configuration Mode .............................................................................................................. 41
5.1.1. Switch to Configuration Mode.......................................................................................... 41
5.2. AT+ Instruction Set Overview.............................................................................................. 42
5.2.1. Instruction Syntax Format................................................................................................ 42
5.2.2. AT+ Instruction Set .......................................................................................................... 43
5.2.2.1. AT+E ............................................................................................................................ 44
5.2.2.2. AT+ENTM..................................................................................................................... 45
5.2.2.3. AT+NETP..................................................................................................................... 45
5.2.2.4. AT+UART..................................................................................................................... 45
5.2.2.5. AT+ UARTF.................................................................................................................. 46
5.2.2.6. AT+ UARTFT................................................................................................................ 46
5.2.2.7. AT+ UARTFL................................................................................................................ 46
5.2.2.8. AT+ MODBEN.............................................................................................................. 47
5.2.2.9. AT+TMODE.................................................................................................................. 47
5.2.2.10. AT+WMODE............................................................................................................. 47
5.2.2.11. AT+WSKEY/AT+WSKEYA....................................................................................... 48
5.2.2.12. AT+WSKEYB............................................................................................................ 48
5.2.2.13. AT+WSKEYC ........................................................................................................... 49
5.2.2.14. AT+WSSSID/AT+WSSSIDA .................................................................................... 49
5.2.2.15. AT+WSSSIDB .......................................................................................................... 50
5.2.2.16. AT+WSSSIDC .......................................................................................................... 50
5.2.2.17. AT+MSSID................................................................................................................ 50
5.2.2.18. AT+WSLK................................................................................................................. 51
5.2.2.19. AT+WEBU ................................................................................................................ 51
5.2.2.20. AT+WAP................................................................................................................... 51

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
4
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. AT+ LANN ................................................................................................................ 54
5.2.2.29. AT + DHCPDEN ....................................................................................................... 55
5.2.2.30. AT+ DHCPGW.......................................................................................................... 55
5.2.2.31. AT+ TCPTO.............................................................................................................. 55
5.2.2.32. AT+ MAXSK ............................................................................................................. 56
5.2.2.33. AT+TCPB.................................................................................................................. 56
5.2.2.34. AT+TCPPTB............................................................................................................. 56
5.2.2.35. AT+TCPADDB.......................................................................................................... 57
5.2.2.36. AT+TCPTOB ............................................................................................................ 57
5.2.2.37. AT+TCPLKB............................................................................................................. 57
5.2.2.38. AT+NTCPBSSLEN................................................................................................... 57
5.2.2.39. AT+REGEN .............................................................................................................. 58
5.2.2.40. AT+REGTCP............................................................................................................ 58
5.2.2.41. AT+REGID................................................................................................................ 58
5.2.2.42. AT+EPHY ................................................................................................................. 59
5.2.2.43. AT+STTC.................................................................................................................. 59
5.2.2.44. AT+DOMAIN............................................................................................................. 59
5.2.2.45. AT+FRLDEN............................................................................................................. 60
5.2.2.46. AT+RELD.................................................................................................................. 60
5.2.2.47. AT+Z......................................................................................................................... 60
5.2.2.48. AT+MID..................................................................................................................... 60
5.2.2.49. AT+WRMID .............................................................................................................. 60
5.2.2.50. AT+VER.................................................................................................................... 61
5.2.2.51. AT+H......................................................................................................................... 61
5.2.2.52. AT+FVEW................................................................................................................. 61
5.2.2.53. AT+FVER.................................................................................................................. 61
5.2.2.54. AT+WMAC................................................................................................................ 62
5.2.2.55. AT+PING .................................................................................................................. 62
5.2.2.56. AT+HTPSV/AT+HTTPURL....................................................................................... 62
5.2.2.57. AT+HTPTP/AT+HTTPTP ......................................................................................... 63
5.2.2.58. AT+HTPURL/AT+HTTPPH ...................................................................................... 63
5.2.2.59. AT+HTTPCN ............................................................................................................ 63
5.2.2.60. AT+HTTPUA............................................................................................................. 63
5.2.2.61. AT+HTPMODE......................................................................................................... 64
5.2.2.62. AT+HTPHEAD.......................................................................................................... 64
5.2.2.63. AT+FASWD.............................................................................................................. 64
APPENDIX A: QUESTIONS AND ANSWERS ............................................................................... 66
Q1: How to configure transparent serial port application (TCP protocol) with two DTU
devices? ........................................................................................................................................... 66
Q2: Where to SetDTU LAN IP and WAN IP through Web Page?............................................... 66
Q3: How to configure transparent serial port application (UDP protocol) with two DTUs?.... 67
Q4: Where to set DTU network protocol (TCP/UDP)?.................................................................. 67

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
5
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?................................................................................................ 70
Q8: DTU works in STA mode, how does the PC get the DTU IP address.................................. 71
APPENDIX B:RECOMMEND TOOLST........................................................................................... 72
B.1.UART Tools............................................................................................................................. 72
B.2.TCPUDP Tools........................................................................................................................ 72
B.3.APP Tools ............................................................................................................................... 72
APPENDIX C:TELNET FUNCTION ............................................................................................. 73
C.1 Telnet Function:...................................................................................................................... 73
C.2 Telnet Character:.................................................................................................................... 73
C.3 Telnet Usage:.......................................................................................................................... 73
APPENDIX C: CONTACT INFORMATION ..................................................................................... 79

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
6
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. DTU-H1XX Functional Architecture..................................................................................... 15
Figure 7. DTU AP Application............................................................................................................. 15
Figure 8. DTU STA Application........................................................................................................... 16
Figure 9. DTU AP+STA Application.................................................................................................... 17
Figure 10. One AP and One STA Application................................................................................... 18
Figure 11. Ethernet Interface Networking (As AP)............................................................................ 19
Figure 12. Ethernet Interface Networking (As STA, N-Ver).............................................................. 19
Figure 13. Ethernet Interface Networking (As STA, Z-Ver) .............................................................. 20
Figure 14. Search Page .................................................................................................................... 24
Figure 15. Multi-TCP Link Data Transmition Structure..................................................................... 26
Figure 16. Dual Socket Working Data Flow...................................................................................... 26
Figure 17. Open Web Management page......................................................................................... 29
Figure 18. Quick Configure Page...................................................................................................... 30
Figure 19. Mode Selection Page....................................................................................................... 30
Figure 20. AP Interface Setting Page ............................................................................................... 31
Figure 21. STA Interface Setting Page ............................................................................................. 32
Figure 22. Application Setting Page.................................................................................................. 32
Figure 23. Ethernet Setting Page...................................................................................................... 33
Figure 24. HTTPD Client Mode Page ............................................................................................... 34
Figure 25. Device Management Page .............................................................................................. 34
Figure 26. STA Interface Debug Connection.................................................................................... 35
Figure 27. AP Interface Debug Connection ...................................................................................... 35
Figure 28. “CommTools" Serial Debug Tools ................................................................................... 36
Figure 29. “TCPUDPDbg" Tools Create Connection........................................................................ 36
Figure 30. “TCPUDPDbg" Tools Setting ........................................................................................... 37
Figure 31. “TCPUDPDbg" Tools Connection .................................................................................... 37
Figure 32. Wireless Control Application............................................................................................ 38
Figure 33. Remote Management Application.................................................................................... 38
Figure 34. Transparent Serial Port Application................................................................................. 39
Figure 35. Wireless Data Acquisition Card Application..................................................................... 40
Figure 36. The device Default UART Port Parameters..................................................................... 41
Figure 37. Switch to Configuration Mode.......................................................................................... 41
Figure 38. "AT+H" Instruction for Help.............................................................................................. 42
Figure 39. Configure Transparent Serial Port Connection (TCP)..................................................... 66
Figure 40. DTU LAN IP Setting......................................................................................................... 66
Figure 41. DTU WAN IP Setting........................................................................................................ 67
Figure 42. Configure Transparent Serial Port Connection (UDP)..................................................... 67
Figure 43. DTU Network Protocols: TCP/Server .............................................................................. 68
Figure 44. DTU Network Protocol: TCP/Client.................................................................................. 68
Figure 45. DTU Network Protocol: UDP ........................................................................................... 69
Figure 46. Two DTUs Connection Through AP ................................................................................ 70
Figure 47. Wireless Data Acquisition Card Setting........................................................................... 71

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
7
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.......................................................................................................... 22
Table 5 The device Web Access Default Setting .............................................................................. 29
Table 6 Error Code DescribtionThe device Web Access Default Setting ......................................... 43
Table 7 AT+ Instruction Set List ........................................................................................................ 43

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
8
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、
DTU-H102 Type. Add Modbus RTU to Modbus TCP transfer.

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
9
1.PRODUCT OVERVIEW
1.1. General Specification
Table 1 DTU-H10X Technical Specifications
Class
Item
Parameters
Ethernet Port
Port Number
1
Interface
8-Pin RJ45
PHY Rate
10/100Mbps, MDI/MDIX
Network Protocol
IP/TCP/UDP/DHCP/DNS/HTTP/ARP/
ICMP/Web socket/Http Client
Wi-Fi Port
Standard
802.11 b/g/n
Frequency
2.412GHz~2.484GHz
Network Mode
STA/AP/STA+AP
Security Type
WEP/WPAPSK/WPA2PSK
Encryption
WEP64/WEP128/TKIP/ AES
Max Connection
32
Transmit Power
802.11b: +20 dBm (Max.)
802.11g: +18 dBm (Max.)
802.11n: +15 dBm (Max.)
Receiver Sensitivity
802.11b: -89 dBm (@11Mbps, CCK)
802.11g: -81dBm(@54Mbps, OFDM)
802.11n: -71dBm(@HT20, MCS7)
Antenna Option
External: 3dBi Antenna
Port Number
2(1 x RS232, 1x RS485)
UART Port
Interface Standard
RS232: DB9 Pin Type
RS485: 2 wire(A+, B-)
Data Bits
5,6,7,8
Stop Bit
1,2
Check Bit
None, Even, Odd, Space, Mark
Baud Rate
300 bps ~ 460800bps
Flow Control
RTS / CTS
Hardware
Parameters
Input Voltage
5~18V DC Input
Operating Current
Avg:170mA Peak:400mA
Operating Temp.
-40℃~85℃
Storage Temp.
-45℃- 125℃/ 5 ~ 95% RH
Dimensions
84 x 84 x25mm
Certificate
CE/FCC/TELEC/RoHS
Warranty
2 Years
Software
Parameters
Network Protocol
IP/TCP/UDP/DHCP/DNS/HTTP/ARP/
ICMP/Web socket/Http Client/Telnet
Max. TCP Connection
32
Configure Interface
Web Server / AT Command/ Telnet

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
10
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
Interface
RJ45 Ethernet
10/100M Ethernet
RS232
RS232 Communication
RS485
RS485 Communicaton
DC5-18V
DC Power 5~18V Input
LED
Indicator
Power
3.3V Internal Power Supply Indicator
Ready
Boot Indicator
On: Device boot OK.
Off: Waiting For Device boot.
(The device need about 7 seconds to boot)
Link
Wi-FIi Connection Indication
On:STA mode Connect to AP or AP mode
other device connect to it.
Off:No Wi-Fi Conectoin

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
11
Function
Name
Description
RXD
RS232/RS485 Data Receive
TXD
RS232/RS485 Data Transfer
Button
Reload
Restore to Factory Setting Button
Long Press this button for 3 seconds and
loosen, the device will restore to factory
setting in 10 seconds.
1.2.2. RS232 Interface
Device serial port is male(needle), RS232 voltage level(can connect to PC directly), Pin Order is
cosistent with PC COM port. Use cross Cable connected with PC(2-3 cross, 7-8 cross, 5-5 direct,
7-8 no connection), see the following table for pin defination.
Figure 2. RS232 Pin Defination(Male/Needle Type)
Table 3 RS232 Interface
Pin Number
Name
Description
2
RXD
Receive Data
3
TXD
Send Data
5
GND
GND
7
RTS
Request to Send
8
CTS
Clear to Send
9
VCC
Defualt not used. May connect the jumper of
the DTU main board to make this pin
connected with DTU DC power supply.
1.2.3. RS485 Interface
RS485 use two wire links, A(DATA+), B(DATA-). Connect A(+) to A(+), B(-) to B(-) for
communication.
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.

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
12
Figure 3. RJ45 Pin Defination
Table 4 RJ45 Interface
Pin Number
Name
Description
1
TX+
Transfer Data+
2
TX-
Transfer Data-
3
RX+
Receive Data+
4
PHY-VCC
Transformer Tap Voltage
5
PHY-VCC
Transformer Tap Voltage
6
RX-
Receive Data-
7
N.C.
None Connect
8
N.C.
None Connect
1.2.5. Button Interface
This Button is used for restore device to factory setting. When device is working(Ready LED on),
Press down this Button for more than 3 seconds and then lose, the device will reboot and restore
to factory setting in 10 seconds(Ready LED will be off when reboot, then it will on for boot OK).

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
13
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.
Figure 5. DTU-HXXX Series Order Information

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
14
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
1 * 5V/1A Power Adapter
1 * Serial Cable(Only for DTU-H100)
1 * Ethernet Cable(Only for DTU-H100)
1 * 3dBi Antenna

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
15
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. Wireless
Networking is very flexible.
Following figure shows the functional architecture:
Figure 6. DTU-H1XX Functional Architecture
Notes:
AP: that is the wireless Access Point, the founder of a wireless network and the centre of the
network nodes. The wireless router we use at home or in office may be an AP.
STA: short for Station, each terminal connects to a wireless network (such as laptops, PDA and
other networking devices) can be called with a STA device.
2.1.1. AP Application
Infrastructure: it‟s also called basic network. It built by AP and many STAs which join in.
The characters of network of this type are that AP is the centre, and all communication between
STAs is transmitted through the AP. The figure following shows such type of networking.
Phone
Laptop
PLC Device
Tablet
Wi-Fi Link
Wi-Fi Link
Wi-Fi Link
RS232/RS485
DTU Device AP Mode
Figure 7. DTU AP Application

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
16
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.
Phone
Laptop
PLC Device
Tablet
Wireless Connection
RS232/RS485
DTU Device STA Mode
Server
Server
WWW. Network Cloud
Figure 8. DTU STA Application
2.1.3. AP+STA Applicatioin
The DTU support AP+STA network mode, means device support one AP interface and one STA
interface at the same time, as following figure.

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
17
Phone
Laptop
PLC Device
Tablet
Wireless Connection
RS232/RS485
DTU Device AP+STA Mode
Server
Server
AP
STA
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
permit phone/PAD to connect, then phone/PAD can control user device and and setting the
device parameters,
The advantage of AP+STA mode is:
Users can easily setting and track user device through Phone/PAD and not change the
orginal network setting.
Users can easily setting device‟s parameters through WiFi when device works as STA
mode.
AP+STA Mode Setting:
AP+STA mode need serial AT command to enable as follows:
AT+FAPSTA=on, Enable AP+STA mode;
AT+WMODE=STA, when configure device works as STA mode, it‟s AP interface still
active;
AP+STA Mode Notes:

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
18
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.
2.1.4. One AP One STA Applicatioin
Phone
Laptop
PLC Device
Tablet
Wireless Connection
RS232/RS485
IP: 10.10.100.100 IP: 10.10.100.101 IP: 10.10.100.102
AP IP: 10.10.100.254
STA IP: 10.10.101.100
AP IP: 10.10.101.254
AP
AP
STA
Figure 10. One AP and One STA Application
Notes:
The AP and STA part of device IP must be set in different subnetwork as the above picture.
2.2. Ethernet Interface Communication
Device provides one 10/100M Ethernet interface. With this Ethernet interface, user can easily
realize the three interface (WiFi, RS232/RS485, and Ethernet) intercommunication and
networking. Device can configured as Bridge Mode or Router Mode base on different
networking technology.
Notes: The Ethernet function is enabled by default. Users may input “AT+FEPHY=on/off" and

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
19
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).
2.2.1. Ethernet Interface Networking (As AP, N-Ver)
Phone
Laptop Tablet
Wi-Fi Link
Wi-Fi Link
Wi-Fi Link
RJ45 Ethernet
DTU Device AP Mode
Laptop
AP
IP:10.10.100.254
IP:10.10.100.100 IP:10.10.100.101 IP:10.10.100.102
IP:10.10.100.2
Figure 11. Ethernet Interface Networking (As AP)
For above networking, device works as AP and also the centre of this network. All devices‟ IP
address in this network shall use the same network segment with device and they can
intercommunication with this method.
2.2.2. Ethernet Interface Networking (As STA, N-Ver)
Laptop
Wireless
RJ45 Ethernet
Ethernet IP:10.10.100.254
STA IP:192.168.1.100
IP:10.10.100.100 Laptop
IP:192.168.1.1
Wireless
IP:192.168.1.102
Figure 12. Ethernet Interface Networking (As STA, N-Ver)
For above networking, device works as STA(Firmware is N-Version),and device configured as
router mode. When device connect to AP, it will get wireless port IP address from AP(For
example: 192.168.1.100).At the same time, device also form a subnet(Default 10.10.100.254)
and all devices connected to device Ethernet interface will get assigned IP address(For example:

IOT-WORKSHOP
DTU-H10X Wi-Fi/Ethernet to RS485/RS232 Server User Manual
http://www.iotworkshop.com
20
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)
Laptop
Wireless
RJ45 Ethernet
IP:192.168.1.101 Laptop
IP:192.168.1.1
Wireless
IP:192.168.1.102
STATIC IP:192.168.1.10
Figure 13. Ethernet Interface Networking (As STA, Z-Ver)
For above networking, device works as STA and device configured as bridge mode(AT+FVER=z).
When device connect to AP, all devices connected to device Ethernet interface will get assigned
IP address from AP (For example: 192.168.1.101).For device works as bridge mode, it can be
treated as a transparent device and PC1, PC2 can communicate without any limit. But in this
networking, device needs assign a static LAN IP address (For example: 192.168.1.10) if device
also needs communication with AP or configuration through web page.
Table of contents
Other IOT Adapter manuals
Popular Adapter manuals by other brands

Goobay
Goobay 44176 user manual

Intellinet
Intellinet PowerLine Turbo Ethernet Adapter Quick install guide

ultron
ultron UAI-100 manual

Feasycom
Feasycom FeasyAdapter FSC-BP119 user manual

Velleman
Velleman HQ-Power PSSMV6 quick start guide

Agilent Technologies
Agilent Technologies 42942A Operation and service manual