Lantronix xPico Wi-Fi Embedded Wi-Fi Module Application Note: xPico Wi-Fi Towe - Page 8

Lab 4: Post Data to the Cloud, Right click on XPW_DEMO, go to Debug As->CodeWarrior Download.

Page 8 highlights

xPico® Wi-Fi® Tower Board Demos Application Note 5. Right click on XPW_DEMO, go to Debug As->CodeWarrior Download. 6. Once the Debugger window is active, click on the Resume button to start executing the demo. 7. Telnet into the IP address of the device, port 10001. If you enter a 1, you will toggle LED1 on the Kinetis board. Enter a 2, and it will toggle LED2. The response will be the current status of the LEDs, the SSID that the xPico Wi-Fi is connected to, the IP address, and the RSSI on the Client connection. 8. As an alternative to Telnet, use the Android application found in the zip file to access it. a. If your Android device is connected via Wi-Fi to the Soft AP of the xPico Wi-Fi, set the IP address to 192.168.0.1. b. If your Android device is connected to the same AP as the xPico Wi-Fi Client side, then use the xPico Wi-Fi IP address. Lab 4: Post Data to the Cloud The program running on the Kinetis processor reads the status of the potentiometer on the K60 board. When it changes, it opens an outbound connection to a Google App Engine custom application via the xPico Wi-Fi standard tunnel. It then sends an HTTP packet to post the data from the potentiometer to the Cloud. 1. Make sure that the xPico Wi-Fi is connected to an infrastructure network that has internet access. 2. The Kinetis K60 should be running the same firmware used in the previous lab. 3. The xPico Wi-Fi Tunnel configuration should be set the same as Lab 2. 4. Rotate the potentiometer in the K60 Tower board. a. The LED for Serial 1 will blink, indicating that the xPico Wi-Fi is sending and receiving data. 5. Using a web browser, navigate to http://ltrxpost.appspot.com. 6. Find the serial number of your xPico Wi-Fi on the left hand side and click on it. 7. The data being posted each time the potentiometer is moved will show up in the main part of the window. 8

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

xPico® Wi-Fi® Tower Board Demos Application Note
8
5.
Right click on XPW_DEMO, go to Debug As->CodeWarrior Download.
6.
Once the Debugger window is active, click on the Resume button to start executing the
demo.
7.
Telnet into the IP address of the device, port 10001. If you enter a 1, you will toggle LED1 on
the Kinetis board. Enter a 2, and it will toggle LED2. The response will be the current status
of the LEDs, the SSID that the xPico Wi-Fi is connected to, the IP address, and the RSSI on
the Client connection.
8.
As an alternative to Telnet, use the Android application found in the zip file to access it.
a.
If your Android device is connected via Wi-Fi to the Soft AP of the xPico Wi-Fi, set the IP
address to 192.168.0.1.
b.
If your Android device is connected to the same AP as the xPico Wi-Fi Client side, then
use the xPico Wi-Fi IP address.
Lab 4: Post Data to the Cloud
The program running on the Kinetis processor reads the status of the potentiometer on the K60
board. When it changes, it opens an outbound connection to a Google App Engine custom
application via the xPico Wi-Fi standard tunnel. It then sends an HTTP packet to post the data
from the potentiometer to the Cloud.
1.
Make sure that the xPico Wi-Fi is connected to an infrastructure network that has internet
access.
2.
The Kinetis K60 should be running the same firmware used in the previous lab.
3.
The xPico Wi-Fi Tunnel configuration should be set the same as Lab 2.
4.
Rotate the potentiometer in the K60 Tower board.
a.
The LED for Serial 1 will blink, indicating that the xPico Wi-Fi is sending and receiving
data.
5.
Using a web browser, navigate to
.
6.
Find the serial number of your xPico Wi-Fi on the left hand side and click on it.
7.
The data being posted each time the potentiometer is moved will show up in the main part of
the window.