User's Manual
HF-A21-SMT Embedded WiFi Module User Manual
Shanghai High-Flying Electronics Technology Co., Ltd
www.hi-flying.com - 55 -
Figure 43. Module LAN IP Setting
HF-A21-SMT 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 44. Module WAN IP Setting
Q3: How to configure transparent serial port application (UDP protocol) with
two HF-A21-SMT modules?
Network structure as below figure:
Module 1# Setting:
Works as AP mode; --See “Mode Selection Page”
LAN IP address: 10.10.100.254; --See “AP Interface Setting Page”
Network Protocal:UDP, Port ID: 8899; Application IP address:10.10.100.100;
-- See “Application Setting Page”
Module 2# Setting:
Works as STA mode; --See “Mode Selection Page”
WAN connection type: Static IP (10.10.100.100)
--See “STA Interface Setting Page”
Network Protocal:UDP, Port ID: 8899; Application IP address: Module 1#‟s LAN IP
address (10.10.100.254); -- See “Application Setting Page”
LAN IP address: 10.10.99.254 (Different net segment with WAN port)
--See “AP Interface Setting Page”
HF-A21-SMT
AP,
LAN IP:10.10.100.254
UDP
10.10.100.100:8899
HF-A21-SMT
STA,
LAN IP:10.10.99.254
WAN IP: 10.10.100.100
UDP
10.10.100.254:8899
1# 2#
WIFI
MCUMCU
UARTUART
Figure 45. Configure Transparent Serial Port Connection (UDP)
Q4: Where to set HF-A21-SMT module network protocol (TCP/UDP)?
HF-A21-SMT network protocol setting see “Application Setting Page” as below Figure,
Protocol: TCP Server