background image

Convert Server User Manual

www.usriot.com

Jinan USR IOT Technology Limited

30 / 44

tec@usr.cn

Such as SSID of AP which Convert Server need to connected, and also select the networking type: DHCP or
static IP address.

Attention:This page has three STA settings, you can refer to fill one can also fill multiple, if fill in multiple, when
connecting the current network signal is less than critical value when the signal, automatically switch to the
next STA network (if only to fill a, please fill out the critical value is 100, otherwise it will the broken network).

Figure 22

STA Interface Setting Page

6.1.6. Application Setting Page

This page use to setting the parameters of serial port communication, such as UART setting,UART
AutoFrame Setting,Ethernet function,Device ID setting and high layer network protocol setting which used
support serial communication.

Summary of Contents for USR-WIFI232-630

Page 1: ...Convert Server User Manual www usriot com Jinan USR IOT Technology Limited 1 44 tec usr cn RS232 RS485 TO RJ45 WIFI CONVERT SERVER USR WIFI232 630 File version Ver1 0 0 ...

Page 2: ...ation of STA 11 4 3 Application of AP STA 12 4 4 Wired and wireless Application drawing 13 4 5 Ethernet bridge connection WIFI works in AP mode 15 4 6 Wireless bridge connection AP STA 16 5 Function Description 17 5 1 User configuration process 17 5 2 Working mode 17 5 2 1 Transparent Transmission Mode 17 5 2 2 Serial command mode 18 5 2 3 HTTPD Client mode 19 5 3 WI FI parameter setting 20 5 3 1 ...

Page 3: ... configure transparent serial port application TCP protocol with two Convert Servers 35 Q2 Where to Set WIFI Convert Server LAN IP and WAN IP through Web Page 36 Q3 How to configure transparent serial port application UDP protocol with two Convert Servers 36 Q4 Where to set Convert Server network protocol TCP UDP 37 Q5 How to configure transparent serial port application Two Convert Servers all co...

Page 4: ... the serial port to the WIFI Ethernet communication transformation connect the the device serial port to PC serial port connect the device WIFI Ethernet to PC WIFI Ethernet If the desktop does not own the serial port also can use USB 232 to replace The hardware environment Figure 1 Hardware Connect According to the above connect Convert Server 1 2 Network connection Open Wi Fi search network on th...

Page 5: ...ww usriot com Jinan USR IOT Technology Limited 5 44 tec usr cn Figure 2 WIFI Search Join the network choose to automatically obtain IP Convert Server supports DHCP Server feature and is enabled by default Figure 3 WIFI connection ...

Page 6: ...as follows 1 Open test software USR TCP232 Test 2 COM Settings area left Choose COM port witch has connect the Convert Server there is COM3 choose band rate to 57600 this is the default band rate of Convert Server Click Open COM port 3 Net Settings area right Choose TCP client mode Server IP write 10 10 100 254 it is the WIFI default IP address Server port to 8899 It is the default Port the Conver...

Page 7: ...in definition RS232 RS485 automatic switching RJ45 network connection support wired Ethernet transmission Reload button do not worry incorrect settings in working status press the button 3s then it load to default settings and automatic restart Rich status indicator light Power Ready Link NET1 NET2 Pin 9 of the DB9 can be connected to power input solder jumper on the back of PCB used for power the...

Page 8: ...e 25 85 Storage temperature 40 125 Dimensions 103 105 28mm Software parameters Network type Station AP mode STA AP Security mechanisms WEP WPA PSK WPA2 PSK WAPI Encryption WEP64 WEP128 TKIP AES Work mode Transparent Transmission Serial command AT instruction set Network Protocol TCP UDP ARP ICMP DHCP DNS HTTP Max TCP Connection 32 User Configuration Web Server AT command config User Application SW...

Page 9: ...l from left to right Table 2 Indicator light Indicator Function Description Power power Keep light when power on Ready Inner LINUX start Keep green light when connected to network correctly Link Network link Light when establish network link NET1 Indicator light of 1RJ45 Flash when Data interaction of 1RJ45 NET2 Indicator light of 2RJ45 Flash when Data interaction of 2RJ45 3 3 Interface Instructio...

Page 10: ...ace RS485 two wire links A DATA B DATA when link to other RS485 device A to A B to B RJ45 interface Network port connection Convert Server is 10M 100M adaptive support AUTO MDI MDIX which means you can use direct network cable to connect with PC also can be tested Convert Server by default open as shown in the Convert Server specifications Table 4 RJ45 Pins ID TAB FUNCTION 1 TX Transceiver Data 2 ...

Page 11: ... 4 1 Application of AP Figure 6 Application of AP As shown in figure in Convert Server used as an AP all the other Convert Servers and computer can be used as the STA to connect this Convert Server at the same time it also can through the UART or GPIO interface to the user equipment 4 2 Application of STA ...

Page 12: ... tec usr cn Figure 7 Application of STA Convert Server as STA use the AP CLI interface connect to other AP to compose a wireless network All of the STA take AP as the wireless network center and the mutual communication between STA is through AP forwarding 4 3 Application of AP STA ...

Page 13: ...AP interface and a STA interface at the same time AP STA function settings AP STA function need to set through serial command AT FAPSTA on set AP STA function Then set Convert Server to STA mode the AP interface still valid Note the AT command part of this article is no longer in detail please click the high performance series Convert Server specification 4 4 Wired and wireless Application drawing...

Page 14: ...cation drawing 1 When USR WIFI232 630 used as AP other computers and equipments can be used as STA connected to this device through RJ45 network cable Figure 10 Wired and wireless Application drawing 2 When USR WIFI232 630 used as STA network port connected to computer via RJ45 wireless added to wireless router to networking ...

Page 15: ...etion of installation 2RJ45 of serial server connected to the router 1RJ45 of serial server connected computer So computer serial server router in the same network Serial server is equivalent to a switch bridge router and computer Which uses the AT command includes the following AT WAP Set to the router SSID AT WAKEY Set to the router password AT LANN Set the ip of itself with routers in the same ...

Page 16: ...bridged to the router achieves to extend the coverage of the wireless router Which uses the AT command includes the following AT FAPSTA on Open the AP STA function Restore factory settings take effect AT FVER z Open z mode Restore factory settings take effect AT WMODE STA Set the work mode to STA mode AT WSSSID Set to the router SSID for STA mode AT WSKEY Set to the router password for STA mode AT...

Page 17: ...ol Type Link Type Server or Client Target Port ID Number Target Port IP Address Serial Port Parameters Baud Rate Data Bit Parity Check Bit Stop Bit Hardware Flow Control Work Mode Selection Transparent transmission Serial command mode GPIO mode HTTPD Client mode The following sections will introduce specific to each part in detail 5 2 Working mode 5 2 1 Transparent Transmission Mode Convert Server...

Page 18: ...ddress this pattern can be use UDP or TCP client sends data to the server Customer MCU send packets according to the following format parsing Convert Server is finished only the n bytes of data sent to the destination address When data is returned not analytical data from serial port output directly Table 5 Protocol table of Serial command mode frame header length functio n byte Backup data area D...

Page 19: ...d to check byte does not contain a check byte add Sum check The following is an example of a specific application send data 0x55 0xaa 0x00 0x0a 0x00 0x00 0x00 0x21 0x00 0x85 0x00 0xA8 0xC0 0x01 0x0f Length 0x00 0x0a Function byte 0x00 UDP Short connection IP cut protocol Destination port 0x21 0x00 33 Target address 0x85 0x00 0xA8 0xC0 192 168 0 133 Data 0x01 data length 1 Sum check 0x0f 0x00 0x00 ...

Page 20: ...Server works as STA Convert Server will adjust its wireless channel to keep the same channel with associated AP and connect in When Convert Server works as AP and Convert Server enable Auto frequency function then when Convert Server boot up it will select the best wireless channel based on surrounding environment 5 3 2 Security Convert Server supports multiple wireless encryption mechanisms and e...

Page 21: ...ll a please fill out the critical value is 100 otherwise it will the broken network Figure 14 Router list 5 3 4 Address Binding Convert Server supports the feature of binding the BSSID address of target network According to the provisions of 802 11 protocol different wireless networks can have a same network name i e SSID ESSID but must correspond to a unique BSSID address i e MAC address Illegal ...

Page 22: ...mmand is factory default setting command and AT RELD can t change its value 5 4 2 UART Auto Frame Convert Server support UART auto frame function If user select open this function and setting auto frame trigger length and auto frame trigger time parameters then Convert Server will auto framing the data which received from UART port and transmitting to the network as pre defined data structure Auto...

Page 23: ...a from serial port user will be duplicate and broadcast to every TCP connection or client Detailed multi TCP link data transmition structure as following figure Figure 15 Multi TCP Link Data Transmition Structure 5 5 2 Socket B Socket B has one work mode TCP Client please refer to the AT SOCKB command instruction With variety work mode socket B can provide users with flexible data transfer methods...

Page 24: ...tion to the server for the first time The other is a plus id in front of each data ID number related parameter is set in the serial port and other Settings section of the web build joint function of ID for the first time and each data with the function of ID are opened by default ID can also use the at command to set the related parameters specific refer to Module specification 5 6 3 Synchronnize ...

Page 25: ...3 3 5 6 6 Websocket This Convert Server can realize the function of the websocket server allowing serial real time interaction with the web Convert Server replace the previous HTTP GET POST corresponding faster This Convert Server provides the corresponding websocket test page for user testing specific page is as follows web Page 10 10 100 254 websocketen html Figure 17 Websocket Page Click on the...

Page 26: ...vert Server Convert Server connected to wireless network parameters configuration is done on a PC connected to the same wireless network AT instruction set configuration means user configure parameters through serial interface command Refer to AT instruction set chapter for more detail Notes USR can customized the parameters setting as customer request and ship Convert Server with these parameters...

Page 27: ...agement page support English and Chinese language User can select language environment at the top right corner and click Apply button The main menu include nine pages Quick Configure Mode Selection AP Interface Setting STA Interface Setting Application Setting Ethernet Setting HTTPD Client mode WEB IO and Device Management 6 1 2 Quick Configure This page provides users with a method of rapid confi...

Page 28: ... set up the corresponding work mode UART Setting set serial port parameters including baud rate parity bit 485 functions and so on Network Setting set network parameters Only TCPA related parameters Device Management when after completion of the above parameters are configured click reset Convert Server 6 1 3 Mode Selection Page This page use to setting the wireless networking mode AP and STA mode...

Page 29: ...c usr cn Figure 20 Mode Selection Page 6 1 4 AP Interface Setting Page This page use to setting the parameters when Convert Server works as AP Figure 21 AP Interface Setting Page 6 1 5 STA Interface Setting Page This page use to setting the parameters when Convert Server works as STA ...

Page 30: ...when connecting the current network signal is less than critical value when the signal automatically switch to the next STA network if only to fill a please fill out the critical value is 100 otherwise it will the broken network Figure 22 STA Interface Setting Page 6 1 6 Application Setting Page This page use to setting the parameters of serial port communication such as UART setting UART AutoFram...

Page 31: ...etting Page Notes Generally Network protocols support three modes TCP Server TCP Client UDP Server UDP Client When the Convert Server is configured to UDP server side the Convert Server will memory the UDP client end of the last communication and communication with this UDP client While the UDP client mode will only ...

Page 32: ...The password is the password to login page default is admin Such as the default when sending the first data should be 0x61 0x64 0x6D 0x69 0x6E 0x0D 0x0A hex 6 1 7 Ethernet Setting This page is used to set two Ethernet front end ports of the Convert Server two Ethernet front end ports can be open or closed And so the second can be set to the WAN port to use this Convert Server can be used as a seco...

Page 33: ...n Figure 25 HTTPD Client Mode Page 6 1 9 Device Management Page This page use to manage Convert Server general setting such as administrator setting restart Convert Server button restore factory default setting button and update firmware through webpage Figure 26 Device Management Page Notes ...

Page 34: ...cn Restart module button When you setting the parameters of different web pages you will click Apply button to confirm the setting but the setting take effect only after user click the Restart button here the Convert Server will re boot up and refresh the memory information with new changes ...

Page 35: ...vert Server 2 Setting Works as STA mode See Mode Selection Page WAN connection type DHCP or Static IP For this example 10 10 100 100 See STA Interface Setting Page Network Protocal TCP Client Port ID 8899 Application IP address Convert Server 1 s LAN IP address 10 10 100 254 See Application Setting Page Notes When Convert Server 2 works as STA mode Convert Server s WiFi interface works as WAN port...

Page 36: ...below Figure User can set WAN connection type to DHCP and STATIC IP Figure 29 Convert Server WAN IP Setting Q3 How to configure transparent serial port application UDP protocol with two Convert Servers Network structure as below figure Convert Server 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 Appli...

Page 37: ...nt net segment with WAN port See AP Interface Setting Page Figure 30 Configure Transparent Serial Port Connection UDP Q4 Where to set Convert Server network protocol TCP UDP USR WIFI232 D2 network protocol setting see Application Setting Page as below Figure Protocol TCP Server Only Port ID required 8899 Default Figure 31 Convert Server Network Protocols TCP Server Protocol TCP Client Application ...

Page 38: ...vert Server 1 Setting We use USR WIFI232 D2 as AP for this example Works as AP mode and all default setting Convert Server 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 TCP Server Port ID 8899 See Application Setting Page LAN IP address 10 10 99 254 Different net segment with WAN port See AP Interface...

Page 39: ...ress range from 100 to 200 for last IP address segment Such as default IP 10 10 100 254 When Convert Server works as AP the IP address Convert Server can allocate to STA is from 10 10 100 100 to 10 10 100 200 So if user needs to set static IP for dedicated STA internal network the available IP address range can start from 10 10 100 1 to 10 10 100 99 Q7 PC works as server all Convert Servers works ...

Page 40: ...ation IP address 10 10 100 100 Convert Server 2 Setting Works as STA mode WAN connection type Static IP 10 10 100 101 Network Protocal TCP Client Port ID 8899 Application IP address 10 10 100 100 LAN IP address 10 10 99 254 Different net segment with WAN port Convert Server 3 Setting Works as STA mode WAN connection type Static IP 10 10 100 102 Network Protocal TCP Client Port ID 8899 Application ...

Page 41: ...en setting Convert Server please don t set this IP section if set may cause the Convert Server can t normal start Q9 Convert Server operates in STA mode the PC how to get the IP Convert Server All Convert Server supports UDP search they will return to their respective IP MAC MID detailed search process is as follows 1 PC via UDP broadcast broadcast address xx xx xx 255 Port 48899 sent a password t...

Page 42: ...l IP address and MAC address and name of the Convert Server IP MAC MID as 10 10 100 254 888 B5D0000E2 guxin So you can get to the IP address of the Convert Server Q10 Servers use wireless switch 1 The module is opened in AP STA mode AT commands to send AT FAPSTA on and AT FVER z to the module received the correct response restore factory settings 2 Module Will join the router Webpage settings page...

Page 43: ...Technology Limited Address 1 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 Web www usriot com Email sales usr cn order usr cn Appendix C Disclaimer This document provides information about RS232 RS485 TO RJ45 WIFI CONVERT SERVER this document does not grant any license to intellectual property rights Except the responsibility declared in the product sal...

Page 44: ...hnology Limited 44 44 tec usr cn merchantability or fitness for any patent copyright or other intellectual property infringement etc USR may make changes to specifications and product descriptions without notice Appendix D Update History 2014 01 09 V1 0 created ...

Reviews: