background image

 

 

 

figure5-5 sketch map of submitting modification 

 

4.1.3.3

 

121B145B145B145B

Restore to factory setting 

User clicks ‘’ button to restore the configuration parameters of the wireless module into 

factory status. After restoring

the factory setting becomes effect until the module has been 

reset. 

 

Содержание HLK-WIIF-M04

Страница 1: ...transmission mode support AT instruction set summarize HLK WIIF M04 is the new third generation embedded Uart Wifi modules studied by Shenzhen Hi Link ElectronicTechnology co Ltd Uart Wifi is an embed...

Страница 2: ...arsing Embed WEB server and achieve the long range parameters configur ation through wireless network with IE browser Support more prefect transmission performance the maximum sending rate can reach t...

Страница 3: ...rades based on the products of the first two generations now it s more functional and more Convenient to use its main features include Interface RS232 DB9 Male The range of baud rate 1200 115200bps si...

Страница 4: ...ireless configuration Application intelligent bus network such as wireless credit card machine small financial payment network such as wireless POS machine industrial equipment networking such as wire...

Страница 5: ...1b 1 2 5 5 11 Mbps 802 11g 6 9 12 18 24 36 48 54 Mbps Madulation DSSS OFDM DBPSK DQPSK CCK QAM16 64 Output power 802 11b 18 2 dBm typical 802 11g 15 1 dBm typical wireless Antenna Interface SMA Serial...

Страница 6: ...onnect 15 TCP connection the most connection 8 the most Client 8 the most Server 3 4 the most client to connect to server built in this module 4 UDP connection the most connection5 6 The muximum sendi...

Страница 7: ...nal Figure 2 5 Wireless adapter Wireless adapter can be used to configure paraments of the product through the wireless connection which is more useful when the products can t connect to serial port I...

Страница 8: ...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 devices Basic wireless network based on AP Infrastructure...

Страница 9: ...le supports quick networking by specifying channel number In the usual course of wireless networking devices would first scan automatically on the current channel in order to search for the network or...

Страница 10: ...am is enabled the module will automatically initiate a scan in every 100 seconds and according to the current scan result module selects a recent AP to access During the wireless roaming the network m...

Страница 11: ...s can simply leave RTS CTS pin vacant 2 3 3 36B44B44B44BCommand Mode of Serial Module also provides the command mode based on serial control which is different from auto work mode this mode provides t...

Страница 12: ...er and connect it with the module through wireless connection and then run the configuration management application we provide you can search and configure the parameters of the module the method of o...

Страница 13: ...to the same wireless network use IE browser to connect the WEB server of the module This approach has the advantages of simple operation and intuitive interface 47B47B 2 3 6 39B48B48B48BFirmware upgr...

Страница 14: ...ameters 1 Run the UART WIFI configuration management program 2 Connect HLK WIFI M04 with your PC s serial and then turn the power on after the serial caple has been connected as shown below Figure 3 1...

Страница 15: ...4 Then click search modules as shown below...

Страница 16: ...reless settings including network name encryption keys and the IP address of network settings 6 Modify the working mode settings select the enable auto work mode option and set the parameters accordin...

Страница 17: ...y parameters of UART WIFI module 3 3 TTTTTesting 1 Run TCP UDP debugging software create a TCP Server whose detecting port is 60000 2 Run serial debugging software such as RealTerm exe in this case Mo...

Страница 18: ...3 Repower the serial adapter plate or press the reset button and the HLK WIFI M03 module will reset and automatically connect to the network and TCP server Then you can begin your transmission test b...

Страница 19: ...2 73B96B96B96BEncryption mode Table 4 2 Encryption mode Parameter name Parameter Correlative Command Encryption mode Encryption AT ENCRY Description encryption types of Wifi network options include O...

Страница 20: ...effective in WEP encryption mode optional range is 1 to 4 it s no sense in other encryption mode 3 4 1 5 76B99B99B99BKey Table 4 5 Key Parameter name Parameter Correlative Command Key Encryption Key...

Страница 21: ...te the network address type of the client if this parameter is enabled the module will dynamically obtain the network address of the client according to the DHCP protocol 3 4 2 2 78B101B101B101BIP add...

Страница 22: ...server address of the local network address t s only effective in the case of exiting DHCP 3 4 3 42B54B54B54BParameters of work mode 3 4 3 1 81B104B104B104BAuto work mode Table 4 11 Auto work mode Pa...

Страница 23: ...e creates is Client it s used to specify the server module connects to its input format may be IP address or domain name 3 4 3 5 85B108B108B108BTCP connection timeout Table 4 15 TCP connection timeout...

Страница 24: ...using the default setting is just contented Only when user needs to join Adhoc the parameter may be modified to Adhoc 3 4 4 2 88B111B111B111BCreating adhoc when network does not exist Table 4 18 Creat...

Страница 25: ...system is 36M ordinarily user doesn t need to modify this parameter when the use environment is harsh and wireless signal is worse user can modify this parameter to reduce the sending rate in order to...

Страница 26: ...ds to scan each channel is 150ms and the completion of all channel scan takes about 2s In order to reduce the scanning time and improve networking speed user can specify channel number through modifyi...

Страница 27: ...o 13 channels and Japan is 1 to 14 channels The system default setting is 1 14 channels ordinarily user doesn t need to modify this parameter Another use of this parameter is reducing the time of scan...

Страница 28: ...options include 8 bits 7 bits The default setting of system is 8 bits 3 4 5 3 98B121B121B121BStop Bits Table 4 28 Stop Bits Parameter name Parameter Correlative Command Stop Bits Stop Bits AT UART Des...

Страница 29: ...ame Parameter Correlative Command Auto framing period Data Trigger Timeout AT ATPT Description When serial is in transparent transmission mode the data received is less than the length of framing if w...

Страница 30: ...0000ms the minimum accuracy is 100ms In addition the setting must be greater than the setting of auto framing period The default setting of system is 2000ms 3 4 7 46B58B58B58BSystem parameters 3 4 7 1...

Страница 31: ...e command mode of compatible protocol is used to be compatible with the control protocol of TLG09UA01 02 products If user wants to use this mode please call for the Technical Support for more help 3 5...

Страница 32: ...to fix the BSSID address of wireless network Channel Auto Detect the operating channel of wireless network automatically Auto retry 255 Retry for ever automatically Wirelss roam Disable Forbid to do...

Страница 33: ...orking of active serial device 3 6 1 1 107B131B131B131BApplication scene Figure 4 6 The networking of active serial device The networking of active serial device means the device sponsores the network...

Страница 34: ...n refer to the setting of wireless AP or router Network setting Enable DHCP Work mode setting Enable auto work mode Protocol type TCP C S mode client Server address IP address of background server suc...

Страница 35: ...ect devices actively and request to upload or download data At this time background server works as a TCP Client while the device works as a TCP Server 3 6 2 2 110B134B134B134BReference setting Wirele...

Страница 36: ...is method creates a passive network essentially The most typical application is upgrading the wireless network for the traditional network based on the connection of RS422 485 bus If user would use th...

Страница 37: ...uto work mode Protocol type UDP C S mode broadcast Port number 6000 Connection timeout 0 Device X Wireless setting SSID encryption mode key and so on refer to the setting of wireless AP or router Netw...

Страница 38: ...hoc when network does not exist SSID my_adhoc Encryption mode open Others is default Network setting IP address 192 168 0 11 Subnet Mask 255 255 255 0 Gateway address 192 168 0 1 DNS address 192 168 0...

Страница 39: ...92 168 0 12 Subnet Mask 255 255 255 0 Gateway address 192 168 0 1 DNS address 192 168 0 1 Setting of work mode Enable auto work mode Protocol type TCP C S mode client Port number 6000 Server address 1...

Страница 40: ...above the module of device control terminal works in command mode user inputs to the AT Instruction to control it create four TCP connections including 2 Clients and 2 Servers There are a number of cl...

Страница 41: ...Network setting IP address 192 168 0 X Subnet Mask 255 255 255 0 Gateway address 192 168 0 1 DNS address 192 168 0 1 Work mode setting Disable auto work mode...

Страница 42: ...mmand test socket command test AT instruction test firmware upgrade system information query 4 1 2 53B65B65B65BModule management 4 1 2 1 117B141B141B141BManagement through serial connection use serial...

Страница 43: ...computer it s shown as the figure 2 5 2 Install wireless driver the successful result is shown as the following sketch map Figure5 2 Install wireless driver 3 Open the UART WIFI configuration hypervis...

Страница 44: ...ule if channel is selected to auto it will expend a long time to search the completed result is shown as the following sketch map Figure5 3 sketch map of wireless connection 4 1 3 54B66B66B66BConfigur...

Страница 45: ...B144B144B144BSubmit modification User can click submit modification button after modifying configuration parameter including parameter in advanced setting in the display interface to save the paramete...

Страница 46: ...ation 4 1 3 3 121B145B145B145BRestore to factory setting User clicks button to restore the configuration parameters of the wireless module into factory status After restoring the factory setting becom...

Страница 47: ...configuration file through clicking the export parameters button and apply all parameter which are saved in configuration file through clicking import parameter button What should be noted is that us...

Страница 48: ...function can predigest operation steps and enhance work efficiency when a lot of modules need to be restored to the default configuration 4 1 4 55B67B67B67BFunction test This section offers the functi...

Страница 49: ...4 1 124B148B148B148BNetwork scanning User can click scan button to scan network as the following sketch map Scan result will show in the following display frame such as network type encryption network...

Страница 50: ...twork scanning 4 1 4 2 125B149B149B149BJoin Disconnect network User can click the button to join or disconnect the wireless network as the following sketch map the result will show in the following di...

Страница 51: ...join disconnect network 4 1 4 3 126B150B150B150BQuery network status User can click the state button to query network connection status as following sketch map the result will show in the following di...

Страница 52: ...B151BCreate socket User can click create button to create socket as the following sketch map Click the Yes button after hasing configured each parameter It will return a socket number after creating s...

Страница 53: ...ction through clicking close button and inputing the socket number which is expected to close 4 1 4 6 129B153B153B153Bquery socket status User can query socket status through clicking query button and...

Страница 54: ...e connecting to the server these sockets are created by system automatically as socket3 and socket4 shown in sketch map 4 1 4 7 130B154B154B154BSocket sending User can send data through socket by clic...

Страница 55: ...used to send or receive data directly what is input should be the socket number of the conection between clients and the server and data size that expected to receive in pop up dialog box the data wi...

Страница 56: ...figure5 16 query the receiver buffer figure5 17 socket receiving...

Страница 57: ...how figure5 18 system information 4 1 6 57B69B69B69BFirmware upgrade This function will be activate when the module has connected to the wireless network User can acquire the function of module firmwa...

Страница 58: ...k successfully before using web page configuration 2 The default port number of the WEB server is 80 so it only needs to input address in address column of browser if user has modified the web server...

Страница 59: ...and login password of module default password is 000000 2 The configuration web page is shown as the following sketch map if user want to modify configuration parameters of wireless module you need t...

Страница 60: ...to input AT instruction directly for parameter configuration of wireless module and function test What should be descripted is that the serial debugging softwares serial genius serial master etc that...

Страница 61: ...default escape character is and save 4 Wait for the time specified by the parameter of escape time its default setting is 2 second select send text file in the transmit menu send escape character stri...

Страница 62: ...figure5 23 instruction test...

Страница 63: ...nd Message AT CMD op para1 para2 para3 para4 CR AT means the leader of Command message CMD means command string op means the symbol of Command operator when the command requires parameters it can spec...

Страница 64: ...of command response most of instructions need a response message after the receiver has processed the instruction if the receiver receive a new command aaquire in the process of processing the previo...

Страница 65: ...igure6 2 AT Instruction special process flow 5 1 1 2 133B157B157B157BFormat Examples Example 1 responsing success message Example 2 responsing failed message Example 3 Using input parameter Example 4...

Страница 66: ...22B22B22BInstruction Set 5 2 1 61B73B73B73BInstruction List Table 6 2 AT Instruction list name use HHHHTUTUTUTU null UUUUTTTT Null HHHHTUTUTUTUATLTUUUUTTTT Set or query data length of automatic framin...

Страница 67: ...MTFUUUUTTTT Update parameters in memory to Flash HHHHTUTUTUTUQMACUUUUTTTT Query physical address HHHHTUTUTUTUQVERUUUUTTTT query version HHHHTUTUTUTURSTFUUUUTTTT Return to manufacturer setting HHHHTUTU...

Страница 68: ...CR OK bssid type channel b_encry ssid rssi CR LF CR LF Parameter bssid means network BSSID it is formed with twelve hexadecimal Numbers and the format is 001EE3A34455 type means Network Type Table 6...

Страница 69: ...138B162B162B162BAT LKSTT Function Query the network connection status Format AT LKSTT CR OK status ip netmask gateway dns CR LF CR LF Parameter Status means Connection Status Table 6 5 Connection Sta...

Страница 70: ...S mode Value Meanings 0 Client 1 Server the meanings of host_timeout is shown as follows according to protocol and C S mode Table 6 8 host_timeout cs protocol Meanings 0 X Name of target server it can...

Страница 71: ...socket size CR OK actualsize CR LF CR LF data steam Parameter socket means socket number size means the size of the data which prepare to be send its unit is type actualsize means the size of the data...

Страница 72: ...host port rx_data CR LF CR LF Parameter socket means socket number status means socket state Table 6 9 Socket status Value Meanings 0 Disconnected 1 Detecting 2 Connected host means IP address of the...

Страница 73: ...ket means socket number 5 2 3 63B75B75B75BSystem control type 5 2 3 1 145B169B169B169BAT Function Null command Format AT CR OK CR LF CR LF Parameter None 5 2 3 2 146B170B170B170BAT Z Function Reset sy...

Страница 74: ...on Enable the serial to enter to transparent transmition mode System exit this mode when it has received escape character according with escape term in transparent transmition mode Format AT ENTM CR O...

Страница 75: ...t to output mode the mode of AT IOM is 2 Format AT IOC status CR OK status CR LF CR LF Parameter status means IO Status Table 6 10 IO Status Value Meanings 0 High level 1 Low level 5 2 3 9 153B177B177...

Страница 76: ...Format AT NIP type ip netmask gateway dns CR OK type ip netmask gateway dns CR LF CR LF Parameter type means address type Table 6 11 address type Value Meanings 0 Use DHCP to assign IP address dynami...

Страница 77: ...tocol means protocol type Table 6 13 protocol type Value Meanings 0 TCP 1 UDP cs means C S mode Table 6 14 CS mode Value Meanings 0 Client 1 Server host_timeout means that shown as follow Table 6 15 h...

Страница 78: ...1 32 characters and embedded in double quotation marks 5 2 4 5 159B183B183B183BAT ENCRY Function Set or query wireless network encryption mode What should br noted is that every encryption modes need...

Страница 79: ...y means key string it s embedded in double quotation marks according with diffirent encryption modes key size and key format is defined as follows Table 6 18 key Key Format Encryption mode HEX ASCII W...

Страница 80: ...BSSID mode bssid CR OK mode bssid CR LF CR LF Parameter mode means BSSID Mode Table 6 19 BSSID Mode Value Meanings 0 auto 1 specified bssid means Network BSSID its size is tweleve hexadecimal numbers...

Страница 81: ...the lowest bit each bit means a channel the default setting is 3fff that means all of 1 14 channels 5 2 4 10 164B188B188B188BAT WPRT Function Set or query wireless network type Format AT WPRT type CR...

Страница 82: ...means the symbol of enabling Table 6 23 enable symbol Value meanings 0 disabled 1 enabled 5 2 4 13 167B191B191B191BAT WARC Function Set or query the function of auto retry after the wireless network i...

Страница 83: ...BG mode Value Meanings 0 B G fixed 1 B max rate means the maximum sending rate in B mode only 0 to 3 is effective Table 6 26 The maximum sending rate Value Meanings 0 1 Mbps 1 2 Mbps 2 5 5 Mbps 3 11...

Страница 84: ...800 bps 2400 2400 bps 1200 1200 bps data bit means data bits Table 6 28 data bits Value Meanings 0 8 bits 1 7 bits stop bit means stop bits Table 6 29 stop bits Value Meanings 0 1 bit 1 Not supported...

Страница 85: ...AT ATLT length CR OK length CR LF CR LF Parameter length means TTTTauto framing length its range is 64 1024 bytes 5 2 4 18 172B196B196B196BAT ESPC Function Set or query escape characters This paramete...

Страница 86: ...enable means the symbol of enabling Table 6 31 symbol of enabling Value Meanings 0 disabled 1 enabled port means TTTTserver port number the default setting is 80 5 2 4 21 175B199B199B199BAT PASS Funct...

Страница 87: ...7B201B201B201BAT CMDM use this please connect to HI LINK info hlktech com Function TTTTSet or query default command mode of the system Format AT CMDM mode CR OK mode CR LF CR LF Parameter mode means t...

Страница 88: ...the module is specified BSSID and the BSSID is not consistent with the AP sets 21B25B25B25BQ3 Why does the module need about 10 seconds to response the command or connect to network automatically whe...

Страница 89: ...he ICMP connection sometimes connects and sometimes disconnects after the module has joined in the network why A The module will create a default network connection after hasing joined in network if t...

Страница 90: ...d the escaple character If wpa wpa2 it will take about 15s 27B32B32B32BQ9 To modify the parameters with configuration program why does it show the error used prohibitive operating symbol A Please disc...

Страница 91: ...he reasons includes The signal between the netcard and the specified module is weak System password of wireless connection setting is not consistent with the specified module MAC address in wireless c...

Страница 92: ...uch as those change the channel from 1 to 6 or from 6 to 13 and so on 3 Modify the maximum rate of advanced wireless parameters reduce it to 11Mbps or even lower 7B8B8B8BAppendix B Revision History of...

Отзывы: