Difference between revisions of "WISE-1530 RF Continue Tx Manual"

From ESS-WIKI
Jump to: navigation, search
(Created page with "= Preparing for Hardware = The user needs to prepare for hardware as following: *WISE-1530, WISE-1500 and WISE-ED22. *802.11b/g/n (2.4 GHz) Wireless Access Point (AP). *PC r...")
 
 
(38 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
The user needs to prepare for hardware as following:
 
The user needs to prepare for hardware as following:
  
*WISE-1530, WISE-1500 and WISE-ED22.
+
*WISE-1530 and WISE-1500 board.
 +
*WISE-1500 power cable.
 +
*WISE-1530 antenna.
 +
*USB-to-UART cable.
 
*802.11b/g/n (2.4 GHz) Wireless Access Point (AP).
 
*802.11b/g/n (2.4 GHz) Wireless Access Point (AP).
 
*PC running the Microsoft® Windows® 7 operating systems
 
*PC running the Microsoft® Windows® 7 operating systems
  
Please refer to the following steps for setup a WISE series of boards before using WISE-1520.
+
Please refer to the following steps for setup a WISE-1530 boards.
  
 
'''Step01:''' Please prepare boards as below.
 
'''Step01:''' Please prepare boards as below.
  
          [[File:WISE-1530 hardware setup.png|RTENOTITLE]]
+
          [[File:WISE-1530 RF HW setup.png|RTENOTITLE]]
  
 
'''①''' WISE-1530
 
'''①''' WISE-1530
Line 17: Line 20:
 
'''②''' WISE-1500
 
'''②''' WISE-1500
  
'''③''' WISE-ED22
+
'''③''' Power connector
  
'''④''' WISE-ED22 reset button
+
'''④''' Reset button
  
'''⑤''' CN2 on WISE-1500
+
'''⑤''' UART-2 connector
  
'''⑥''' SW3 on WISE-1500    
+
'''⑥''' RF connector    
  
*Please check pin1 and pin2 to “OFF” as default.
+
'''Step02:''' Connect the UART-2 to PC via USB-to-UART cable.
*Switch pin2 to decide whether running “backup to default” while device booting. “ON”: enabled, “OFF”: disable
 
  
'''⑦''' One reset button on WISE-1500 and the other on WISE-ED22
+
*Install USB-to-UART driver.
 +
*The device will be visible in the Device Manager as below, user can use serial port tools (putty, tera term ...etc.). 
  
'''⑧ '''Micro USB connector    
+
          [[File:WISE-1530 uart2.png|640x464px|WISE-1530 uart2.png]]
  
*Drag-n-drop programming
+
= RF Test Command =
*Serial port and debugging
 
*Power supplies for UART1 debug port
 
  
'''⑨''' RF connector
+
Launch serial port tool(TeraTerm, Putty or others), you can see " Console app start, type 'help' " on screen after power on or reset.
  
'''Step02:''' Connect the WISE-ED22 to PC using micro-USB cable.
+
'''Join: '''Connect to AP
  
* Install Driver ( [https://developer.mbed.org/media/downloads/drivers/mbedWinSerial_16466.exe Download latest driver] )
+
    join <ssid> <open|wpa_aes|wpa_tkip|wpa2|wpa2_tkip|wpa2_aes|wep> [key] [channel] [ip netmask gateway]
*The device will be visible in the Device Manager as below, user can use serial tools (putty, tera term ...etc.) to key in command. 
 
  
          [[File:Mbed uart.png|649x466px|Mbed uart.png]]
+
&nbsp; &nbsp; <span style="background-color:#D3D3D3;">Ex: join RT66 wpa2_aes 987135238</span>
  
= =
+
'''Ping: '''&nbsp;
 +
 
 +
&nbsp; &nbsp;&nbsp;ping &lt;destination&gt; [-i &lt;interval in ms&gt;] [-n &lt;number&gt; / -t &lt;continuous&gt;] [-l &lt;length&gt;]
 +
 
 +
&nbsp; &nbsp;&nbsp;<span style="background-color:#D3D3D3;">Ex: ping 192.168.1.1&nbsp;-i 1000 -n 10</span>
 +
 
 +
'''Iperf: '''Test continue Tx
 +
 
 +
&nbsp; &nbsp;iperf [-s|-c host ip] [options]
 +
 
 +
&nbsp; &nbsp;-u: use UDP mode
 +
 
 +
&nbsp; &nbsp;-t: time(second)
 +
 
 +
&nbsp; &nbsp;<span style="background-color:#D3D3D3;">Ex:&nbsp;iperf -c 192.168.1.1&nbsp;-u -t 30</span>
 +
 
 +
<span style="background-color:#D3D3D3;"></span>
 +
 
 +
= BT Test Command =
 +
 
 +
Input '''"bt_wifi"&nbsp;'''in console to test&nbsp;ble_wifi_introducer function.
 +
 
 +
You can refer&nbsp;WISE-1530_SDK&nbsp;"[http://ess-wiki.advantech.com.tw/view/WISE-1530_SDK#Example:_BLE_WiFi_Introducer Example: BLE WiFi Introducer]"&nbsp;section and follow step 2 ~ step 7.&nbsp;&nbsp;If the join&nbsp;is successful the BLE will stop advertisements. The BLE will re-advertisements when leave Wi-Fi&nbsp;connection.

Latest revision as of 08:42, 22 August 2017

Preparing for Hardware

The user needs to prepare for hardware as following:

  • WISE-1530 and WISE-1500 board.
  • WISE-1500 power cable.
  • WISE-1530 antenna.
  • USB-to-UART cable.
  • 802.11b/g/n (2.4 GHz) Wireless Access Point (AP).
  • PC running the Microsoft® Windows® 7 operating systems

Please refer to the following steps for setup a WISE-1530 boards.

Step01: Please prepare boards as below.

          RTENOTITLE

 WISE-1530

 WISE-1500

 Power connector

 Reset button

 UART-2 connector

 RF connector    

Step02: Connect the UART-2 to PC via USB-to-UART cable.

  • Install USB-to-UART driver.
  • The device will be visible in the Device Manager as below, user can use serial port tools (putty, tera term ...etc.). 

          WISE-1530 uart2.png

RF Test Command

Launch serial port tool(TeraTerm, Putty or others), you can see " Console app start, type 'help' " on screen after power on or reset.

Join: Connect to AP

    join <ssid> <open|wpa_aes|wpa_tkip|wpa2|wpa2_tkip|wpa2_aes|wep> [key] [channel] [ip netmask gateway]

    Ex: join RT66 wpa2_aes 987135238

Ping:  

    ping <destination> [-i <interval in ms>] [-n <number> / -t <continuous>] [-l <length>]

    Ex: ping 192.168.1.1 -i 1000 -n 10

Iperf: Test continue Tx

   iperf [-s|-c host ip] [options]

   -u: use UDP mode

   -t: time(second)

   Ex: iperf -c 192.168.1.1 -u -t 30

BT Test Command

Input "bt_wifi" in console to test ble_wifi_introducer function.

You can refer WISE-1530_SDK "Example: BLE WiFi Introducer" section and follow step 2 ~ step 7.  If the join is successful the BLE will stop advertisements. The BLE will re-advertisements when leave Wi-Fi connection.