background image

HF2211S_EW1X_PW1X 

Operation Guide    

                           

 

http://www.hi-flying.com/ 

 

- 31 - 

 

5.6. STA HTTP Client Test 

HTTP data flow is as following. 

 

 

HTTP GET Test:  

Test server address: 115.29.164.59  
Test server port: 8432 
Path: /iot 

Header:

  

Содержание Elfin-EW10

Страница 1: ...hi flying com 1 HF2211S_EW1X_PW1X Operation Guide This document applies to the following series of products please refer to the user manual for product hardware description Elfin EW10 Elfin EW10 0 El...

Страница 2: ...SUPPLY 8 2 2 POWER SUPPLY 8 2 3 INTERFACE CONNECTION 8 3 INITIAL SETUP 9 3 1 WEBPAGE SET 9 3 2 IOTSERVICE SET 13 4 SERIAL PORT SETTINGS 16 4 1 SERIAL PORT TOOL SECURECRT 16 4 2 SETTING SERIAL PORT PA...

Страница 3: ...has a brief description of these products hardware and take EW for example of software introduction All tools can be download at following link http www hi flying com index php route download category...

Страница 4: ...www hi flying com 4 1 3 Elfin EW11 4PIN Connector 1 4 Elfin EW10 8PIN Connector 1 5 Elfin EW11 8PIN Connector 1 6 Elfin EW10 EW11 RJ45 Cable The RJ45 cable can be done as following picture 5 6 7 8 A...

Страница 5: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 5 1 7 EW10 Interface Conversion Cable...

Страница 6: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 6 1 8 EW11 Interface Conversion Cable 1 9 HF2211S Hardware...

Страница 7: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 7 1 10 Protoss PW11 Hardware...

Страница 8: ...nough for power supply HF2211S DC 5 36VDC 1A PW1X H AC Version 100 240VAC M DC Version 9 48VDC 1A 2 2 Power Supply See products user manual 2 3 Interface Connection Elfin EW10 is RS232 7V voltage need...

Страница 9: ...ED will be repeat flash on 0 3s then off 0 3s indicate it works normally HF2211S Link LED will be repeat flash on 0 3s then off 0 3s indicate it works normally PW1X Net LED will be repeat flash on 0 3...

Страница 10: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 10 Brower input 10 10 100 254 input default user name and password with admin admin to login in The main page is as following...

Страница 11: ...meters is as following Default socket parameters is as following Products by default works as AP mode if need to set it connect to router set it to STA or AP STA working mode as following Select the s...

Страница 12: ...211S_EW1X_PW1X Operation Guide http www hi flying com 12 If need static IP in STA mode set DHCP to off and input static IP Note setting is valid after reboot If upgrade firmware at the following posit...

Страница 13: ...oad item iot device webpage source code 3 2 IOTService Set IOTService is simple to manage the products config and even communicate with it Download address http www hi flying com download center 1 app...

Страница 14: ...uble click the product list to see the device status Click Edit to change product setting Note some setting need reboot to be valid Better do restart operation after setting Set to STA or AP STA mode...

Страница 15: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 15...

Страница 16: ...e computer is actually connected to see My Computer Device Manager Ports COM and LPT as shown in the figure Note The default serial port data of the device is as shown in the figure above Users can mo...

Страница 17: ...o the above Add button command to the button bar Click the button to send the corresponding data When the interface displays EPORT you have entered the CLI command mode Note Any serial tool can do thi...

Страница 18: ...er the IP address of the device the IP address can be obtained by searching through the IOTService tool which will be detailed later port 23 Step 2 The default login name and password are both admin t...

Страница 19: ...P mode All other STA devices connect to product AP Product AP does not support route function so the STA can not transfer data to each other The structure is t shown as below Step 1 The product defaul...

Страница 20: ...ill be like 10 10 100 XXX 5 2 TCP Server Test in AP Mode Step 1 Open TCP UDP test tool and generate TCP connection as following steps Device has already created a TCP Server port 8899 for use TCP UDP...

Страница 21: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 21...

Страница 22: ...lick Connection to generate TCP connection After successful connection the left turns to be green arrow yellow if fails Step 3 Open serial tool according to following parameters 115200 baud rates as d...

Страница 23: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 23 Step 4 Data count in following status...

Страница 24: ...lfin EW1X is AP mode by default If need to work in STA mode connecting to router There are following ways Recommend to set to STA mode only if AP is not used in mass application for test stage may set...

Страница 25: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 25 Reboot after setting PC also connect to the same router and it will find the device with products STA WAN IP...

Страница 26: ...h the product static IP to confirm connection If any problem reconfig the product with its AP SmartLinkV8 APP to config smart phone connect to Router Set product Reload pin to low for some time 0 2s t...

Страница 27: ...ometimes Do as following to try again Check if phone connect to 2 4G router SSID Set router 2 4G Wi Fi to 802 11bg 5 4 TCP Server Test in STA Mode Open TCP UDP test tool and generate TCP connection as...

Страница 28: ...peration Guide http www hi flying com 28 Click Connect to create TCP connection After successful connection the left turns to be green arrow Open serial tool according to following parameters 115200 b...

Страница 29: ...P and serial port 5 5 STA TCP Client Test Products support 3 channel sockets default netp socket works as TCP Server here create another socket working as TCP client HF test server test server iotwork...

Страница 30: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 30 It shows connected UART received 333333333333 and send to server the server sent back the packet so the UART tools shows the received data...

Страница 31: ...F2211S_EW1X_PW1X Operation Guide http www hi flying com 31 5 6 STA HTTP Client Test HTTP data flow is as following HTTP GET Test Test server address 115 29 164 59 Test server port 8432 Path iot Header...

Страница 32: ...www hi flying com 32 Host 115 29 164 59 8432 Connection keep alive Products setting as following Server response back and products UART output packet It filter the HTTP response header and only outpu...

Страница 33: ...Test Test server address 115 29 164 59 Test server port 8432 Path iot Header Host 115 29 164 59 8432 Connection keep alive Products setting as following Server response back and products UART output...

Страница 34: ...HF2211S_EW1X_PW1X Operation Guide http www hi flying com 34 Data flow is as following 5 7 STA MQTT Client Test Test server address 112 124 43 15 Test server port 1883 Device setting is as following...

Страница 35: ...flying com 35 Use MQTT fx tools to test set publish topic to the device Subscribe Topic and the publish data will be sent to device UART Set tools subscribe topic to the device publish topic and the s...

Страница 36: ...th 1_3 Webpage Local Upgrade PC connect to device login with device IP 10 10 100 254 or STA IP got from router There is another internal webpage for upgrade the firmware and webpage external config we...

Страница 37: ...not yet connect to router AP do the following operation to recover and reconfig UART Cli command to reload nReload button to restore to factory setting 5 10 More Application Case See following for mor...

Страница 38: ...flying com 38 APPENDIX A REFERENCES A 1 Test Tools IOTService Configure Software http www hi flying com index php route download category path 1_4 A 2 Smartlink V8 http www hi flying com download cent...

Отзывы: