Shenzhen Hi-Link Electronic Co.,Ltd
http://www.hlktech.com
Tel:+86 0755-83575155 Fax+86 0755-83575189
23
6.4
Default
mode
Fig6.4..Default mode model
In this mode, WIFI enable, module works in the AP mode, ETH1, ETH2 function
enable. ETH1 works as WAN, ETH2 works as LAN. Through the appropriate settings,
the data between COM1 and network can achieve mutual conversion.
WIFI safety: support all encryption methods at present.
In this mode, WIFI device can connect with the module and become the device
under WIFI LAN.
WAN default IP is dynamic IP address. LAN, WIFI for the same local area network,
enabled by default DHCP server.
There are four mode for serial-net conversion
:
TCP Server
、
TCP Clinet
、
UDP
Server
、
UDP Client
。
TCP Server
Fig6.4.1.TCP Server
In this mode, the module is listening on the specified port, waiting for TCP Client
connection, if connected, all TCP data is sent directly to the serial port end, the data of
HLK-RM04
TCP Server
TCP Client
TCP Client
TCP Client
DHCP ENABLE
SERIAL
HLK-RM04
MCU
WIFI CLIENT
(PHONE
、
pad)
COM1
WIFI
AP
ETH2
ETH1
LAN
WAN