Wiznet WizFi630 Serial Command Manual
Hide thumbs Also See for WizFi630:

Advertisement

Quick Links

Serial Command Guide
This document describes usages for WizFi630 WIFI AP Module. Descriptions scope and
boundary is limited as bellows
Testing environments
Networks operation mode
Serial operation Modem
Supplied software usages
Serial command definition
☞ For more information, visit our website at
For
WizFi630 Users
(Version 1.2)
©2012 WIZnet Co., Ltd. All Rights Reserved.
http://www.wiznet.co.kr

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WizFi630 and is the answer not in the manual?

Questions and answers

Summary of Contents for Wiznet WizFi630

  • Page 1 Serial Command Guide WizFi630 Users (Version 1.2) This document describes usages for WizFi630 WIFI AP Module. Descriptions scope and boundary is limited as bellows Testing environments Networks operation mode Serial operation Modem Supplied software usages Serial command definition ©2012 WIZnet Co., Ltd. All Rights Reserved.
  • Page 2: Table Of Contents

    Table of contents 1. TEST ENVIRONMENT SETUP ................. 1 System Setup..............................1 WizFi630’s default serial configuration....................1 PC #3 Setup..............................1 PC #1 and PC#2 Serial Setup........................1 2. SIMPLE SERIAL COMMAND AT SERIAL TERMINAL PROGRAM ... 2 3.
  • Page 3: Test Environment Setup

    1. Test Environment Setup 1.1 System Setup <WizFi630> 802.11 b/g/n WIFI AP Module <PC#1> Serial Terminal Program running and connected to WizFi630’s Serial Port #1 <PC#2> Serial Terminal Program running and connected to WizFi630’s Serial Port #2 <PC#3> TCP Server application is running 1.2 WizFi630’s default serial configuration.
  • Page 4: Simple Serial Command At Serial Terminal Program

    2. Simple serial command at serial terminal program ① <RF> This command gets module’s firmware version and normally used to check module is working or not ② <ATDT> This command changes module’s “serial working mode” as data mode This is special command so do not type each character and <ATDT> copy and paste it at terminal program.
  • Page 5: Wizsmartscript For Wizfi630

    3. WIZSmartScript for WizFi630 3.1 Run Program ① Execute the “WIZSmartScript.exe” file. ② If you run the WIZSmartScript program, you can see the KEY Confirm Dialog as shown below. ③ If you enter the received CODE and KEY, you can operate the program in...
  • Page 6: Get Basic

    ① Input the COM port of PC and baud rate. (Default Baud Rate : 38400) ② Select “WizFi630” for Model, “A. Get Basic” for Group and “1. Get Module Information” for Script. ③ If you click “Start Script”, you can see the basic information of WizFi630 as below.
  • Page 7 B. Get Network Information ① Select “WizFi630” for Model, “A. Get Basic” for Group and “2. Get Network” for Script. ② If you click “Start Script”, you can see the network information of WizFi630 as below.
  • Page 8 C. Get Wireless Information ① Select “WizFi630” for Model, “A. Get Basic” for Group and “3. Get Wireless” for Script. ② If you click “Start Script”, you can see the wireless information of WizFi630 as below.
  • Page 9 D. Get Wireless(Client) Information ① Select “WizFi630” for Model, “A. Get Basic” for Group and “4. Get Wireless (Client)” for Script. ② If you click “Start Script”, you can see the wireless(Client) information of WizFi630 as below.
  • Page 10 E. Get Wireless(AP-Client) Information ① Select “WizFi630” for Model, “A. Get Basic” for Group and “5. Get Wireless (Client-AP)” for Script. ② If you click “Start Script”, you can see the wireless(AP-Client) information of WizFi630 as below.
  • Page 11 F. Get Serial Information ① Select “WizFi630” for Model, “A. Get Basic” for Group and “6. Get Serial” for Script. ② If you click “Start Script”, you can see the serial information of WizFi630 as below.
  • Page 12: Functions

    ① Input the COM port of PC and baud rate. (Default Baud Rate : 38400) ② Select “WizFi630” for Model, “B. Functions” for Group and “1. Site Survey” for Script. ③ If you click “Start Script”, WizFi630 will find the APs and you can see the process as below.
  • Page 13 B. Restart ① Select “WizFi630” for Model, “B. Functions” for Group and “2. Restart” for Script. ② If you click “Start Script”, WizFi630 will reboot and you can see the process as below.
  • Page 14 C. Factory Default ① Select “WizFi630” for Model, “B. Functions” for Group and “3. Factory Default” for Script. ② If you click “Start Script”, WizFi630 will reset to factory default and you can see the process as below.
  • Page 15 ① Select “WizFi630” for Model, “B. Functions” for Group and “4. Send 6xx Command” for Script. ② Enter the valid value into the blank field. ③ If you click “Start Script”, WizFi630 will send the user command and you can see the process as below.
  • Page 16: Set Operation Mode

    A. Access Point Mode ① Input the COM port of PC and baud rate. (Default Baud Rate : 38400) ② Select “WizFi630” for Model, “C. Set operation Mode” for Group and “1. Access Point Mode” for Script. ③ If you click “Start Script”, you can see the process as below.
  • Page 17 B. Gateway Mode ① Select “WizFi630” for Model, “C. Set operation Mode” for Group and “2. Gateway Mode” for Script. ② If you click “Start Script”, you can see the process as below.
  • Page 18 ② Enter the valid value into the SSID and Key field. ③ Enter the valid value into the IP and Gateway field. ④ If you click “Start Script”, WizFi630 will associate to the AP with Static IP and you can see the process as below.
  • Page 19 ① Select “WizFi630” for Model, “C. Set operation Mode” for Group and “4. Client Mode(WPA, DHCP)” for Script ② Enter the valid value into the SSID and Key field. ③ If you click “Start Script”, WizFi630 will associate to the AP with DHCP and you can see the process as below.
  • Page 20: Set Serial

    A. TCP Server(5000) ① Input the COM port of PC and baud rate. (Default Baud Rate : 38400) ② Select “WizFi630” for Model, “D. Set Serial” for Group and “1. TCP Server(5000)” for Script. ③ If you click “Start Script”, you can see the process as below.
  • Page 21 B. TCP Client(192.168.16.101-5000) ① Select “WizFi630” for Model, “D. Set Serial” for Group and “2. TCP Client(192.168.16.101-5000)” for Script. ② If you click “Start Script”, you can see the process as below.
  • Page 22: Serial Command Definitions

    4. Serial command definitions 4.1 Network Time Contents OP CMD Command Syntax Response Syntax Example Contents (ms) Version <RF> <Svx.x.x> <Sv1.0.6> Get Firmware Version <S0xx.xx.xx.xx.xx.xx_1xx.xx.xx.xx.xx.xx_2xx.xx.xx.xx.xx.x x> <S00ba00000001_100ba00000002 <RA> 0:Ethernet MAC address Get MAC address module Address _200ba00000008> 1:Wireless MAC address 2:Ethernet MAC address(WAN) <RI>...
  • Page 23 IPaddress_MAC address <WV1_ <WV0> or <WV1_xxx.xxx.xxx.xxx[_xx.xx.xx.xx] 61.41.153.2_203.248.252.2> 0:Auto_DNS Server IP address <S> Set DNS server IP address 1:Manual DNS Server <WV0> <Sx_xxx.xxx.xxx.xxx[_xx.xx.xx.xx]> <S1_ 61.41.153.2_203.248.252.2> <RV> 0:Auto_DNS Server IP address Get DNS server IP address 1:Manual <S0> <S0_xxx.xxx.xxx.xxx_xxx.xxx.xxx.xxx_xxx.xxx.xxx.xxx_xx x.xxx.xxx.xxx> -Static: 0_Ipaddress_Subnet_Gateway_DNS <S0_182.29.231.10_255.255.255.0_ 182.29.231.1_182.29.231.150>...
  • Page 24 <Sx> when protocol is TCP available <RC> 0: Not Connect <S1> (Main/Aux Port connection status) 1:Connect <Sx> 0: Not Connect when protocol is TCP available <RQ> 1: Client Connect <S1> (Main Port connection status) 2: Server Connect 3: Client/Server Connect <Sx>...
  • Page 25: Wireless

    4.2 Wireless Time Contents OP CMD Command Syntax Response Syntax Example Contents (ms) <Sx> Get wireless band <DB> <S9> Wireless 0: 11b+g, 2: 11b, 3:11g, 6: n, 9:b+g+n Client/Adhoc Mode: Not Support Band <GBx> Set wireless band information <S> <GB6> 0: 11b+g, 2: 11b, 3:11g, 6: n, 9:b+g+n Client/Adhoc Mode: Not Support <Sx>...
  • Page 26 Comment_..] <Sxxx> Get Tx Power <DP> <S14> 1-100: power(%) Client/Adhoc Mode: Not Support Tx Power <GP16> <GPxxx> Set Tx Power <S> 1-100: power(%) Client/Adhoc Mode: Not Support <GP99> <Sxx> 20MHz: 7,14.5,21.5,28.5,43.5,57.5,65,72 40MHz: 15,30,45,60,90,120,135,150 Get Data Rate <DR> <S300> b only: 1, 2, 5, 11 Client/Adhoc Mode: Not Support g only, bg mode: 1, 2, 5, 6, 9, 11, 12, 18, 24, 36, 48, Data Rate...
  • Page 27 <GAx_x_x_xxxxxxxxxxxx_xxx~> <GA2_2_000b01000002_000b0100f Set MAC Access Control 0:Disable,1:AllowListed,2:DenyListed,3:all_delet <S> f02> Client/Adhoc Mode: Not Support e[_1:add,2:delete_count_MACaddress] <Sxxxx_xxxxxxxxxxxx_xx_xx_x> <Sxxxx_xxxxxxxxxxxx_xx_xx_x> Site Survey SSID_BSSID_Channel_RSSI_Security Do the site survey and send site <DI> SSID_BSSID_Channel_RSSI_Security 2063 (Sync Command) when AP is hidden state, SSID survey list. Get Site Survey when AP is hidden state, SSID shows blank.
  • Page 28 <GNxxx> <S> <GNwifi> Set Alias Name Maximum 29 characters <Sx_xxxx_xxxxxxxxxxxx_xx_xxM_xx> <S1_damosys__ip604__work_00089 Status Checking <QP> 0: not-connected, 1: connected Get Wireless Connection Status fbe7a84_1_54M_70> connection status_SSID_BSSID_CHAN_RATE_RSSI <Sx_x_x_x_x_x_x_x[_x_x_x_x_x_x_x[_x_x_x_x_x_x_x]..]> count_Active_SSID_Channel_AuthMode_Encrypt_Key Id_Key[_Active_SSID_Channel_AuthMode_Encrypt_Ke yId_Key[…]] count: 0-n, Number of profile <S0> or Active: 1(Actie Profile) <S1_0_ccccccc_0_1_0_1_none> or Get Profile Get Profile <DF>...
  • Page 29 <ssid_key> Ssid: AP's SSID key: Encryption key AP Connect Using <PI> command after <DI> (Site <S> 594 <PIssid_key> At AP-Client Mode, connect to AP (AP-Client) Survey) command. Need AP's authentication method is WEP and default KeyId is "1" Other authentication method or default KeyID, you can use <PU>...
  • Page 30: Security

    4.3 Security Time Contents OP CMD Command Syntax Response Syntax Example Contents (ms) <Sx_x_x_x_x_x_x_x> AuthMode_Encrypt[_DefaultKey_KeyLength_KeyFor mat_KeyValue_radiusPasswd_radiusIP_radiusPort] Using When AP/GW Mode, AuthMode: 1(Open), 2(802.1x), 3(Shared), 4(WPA), AuthMode: 1-a 5(WPA-PSK), 6(WPA2), 7(WPA2-PSK), 8(WEPAUTO), EncryptType: 0-4 9(WPA1WPA2), a(WPAPSKWPA2PSK) Using When Client Mode, Get Security Status Security Status <DU>...
  • Page 31: Serial

    4.4 Serial Time Contents Command Syntax Response Syntax Example Contents (ms) <Sx> <RK> <S0> Get Protocol TCP_0, UDP_1 Protocol <WKx> <S> <WK1> Set Protocol TCP_0, UDP_1 <Sx> <RM> <S0> Get Mode 0:Client, 1:Mixed, 2:Server Mode <WMx> <S> <RM0> Set Mode 0:Client, 1:Mixed, 2:Server <RX>...
  • Page 32 <WBxxxxx> [Baudrate]1: 115200, 2: 57600, 3: 38400, 4: 19200, 5: 9600, 6: 4800, 7: 2400,8: 1200, 0: 230400, 9: 460800, a: 921600 <S> <WB38001> Set Serial Setting [data byte]7: 7bit,8:8bit [parity] 0: no parity, 1: Odd, 2: Even [Flow] 0: no, 1: Xon/Xoff, 2: RTS/CTS [Stopbits];...
  • Page 33 <OU> 0: TCP Client Mode, Serial to LAN auto connection <S> <OU0> Set TCP Connection Option 1: TCP Client Mode, Serial to LAN connection made in serial data in <Sx_x_x_a.b.c.d_x> Enable[_Protocol_Mode_ServerIP or Domain_ServerPort] Enable: 0(Disable), 1(Enable), Disable ( In disable, other data is ignored <S0>...
  • Page 34 <Sx_x_x_a.b.c.d_x> Enable[_Protocol_Mode_ServerIP or Domain_ServerPort] Enable: 0(Disable), 1(Enable) (In Disable, other data is ignored) <S0> or <RU> Get Aux Port Status Protocol: 0(UDP), 1(TCP) <S1_0_0_192.168.1.1_1000> Mode: 0(Server), 1(Client) ServerIP: a.b.c.d Domain: xxx.yyy.zzz ServerPort: 0-65535 Aux Port <WUx_x_x_a.b.c.d_x> Enable[_Protocol_Mode_ServerIP or Domain_ServerPort] Enable: 0(Disable), 1(Enable) (In Disable, other data is ignored) <WU0>...
  • Page 35 <Sx_xxx_xxx> enable(0- 1)[_mainport_delimeter1_auxport_delimeter] Get Insert Tag <RZ> <S0> or <S1_@_#> 0: disable(default) 1: enable delimeter mac 16 characters <WZx_xxx_xxx> enable(0-1)[_main-delimeter1_aux-delimeter] Insert Tag 0: disable(default) <S> <WZ0> or <WZ1_@_#> Set serial data tag for main and aux 1: enable delimeter max 16 characters <CCxxxx_xx>...
  • Page 36 Set mode switch "use_hw_switch_pin". Serial mode switch can be control Escape Mode <OXx> <S> <OX0> or <OX1> via GPIO if 0, only <ATDT> and <+++> command is available for mode switch Save committed command to module's flash. Flash Write <WL> <S>...
  • Page 37: Others

    4.5 Others Time Contents OP CMD Command Syntax Response Syntax Example Contents (ms) Factory Default <WF> <S> 2844 <WF> Set Factory Default Restart <WR> <S> <WR> Set System Restart...
  • Page 38: Return Code

    4.6 Return Code <S> or Command success <Sxx…> <F> command operation failed <0> Command failed because of no '<' <1> No supported command is inputted <2> Command parameter is mismatch <3> Command failed because of no '>' Not supported command in current running <4>...
  • Page 39: Accessing Module Via Web Browser

    5. Accessing module via Web Browser A. All of control is done via web ① Connect your PC to WizFi630 EVB via LAN or WIFI ② Set your PC get the IP address automatically ③ Run Web Browser ④ Input http://192.168.16.254 ⑤...

Table of Contents