demo of the murata wifi chip. This demo tries to connect to an open wifi access point and prints out all the relevant information about the connection. It then scans all wifi access points nearby and reports their information.

Dependencies:   SNICInterface mbed-rtos mbed

Fork of SNIC-xively-jumpstart-demo by muRata

Files at this revision

API Documentation at this revision

Comitter:
kishino
Date:
Tue May 27 01:36:56 2014 +0000
Parent:
14:6d58d3855feb
Child:
16:ed9b9c28f860
Commit message:
Adjusted of parameters for Xively demo for using SNIC UART.

Changed in this revision

SNICInterface.lib Show annotated file Show diff for this revision Revisions of this file
logo.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SNICInterface.lib	Mon May 26 06:28:29 2014 +0000
+++ b/SNICInterface.lib	Tue May 27 01:36:56 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/murata/code/SNICInterface/#6a0ba999597d
+http://mbed.org/teams/murata/code/SNICInterface/#944b8c04b5ff
--- a/logo.h	Mon May 26 06:28:29 2014 +0000
+++ b/logo.h	Tue May 27 01:36:56 2014 +0000
@@ -50,6 +50,6 @@
     lcd.cls();
     lcd.print_bm(xively_logo, 24, i);
     lcd.copy_to_lcd(); 
-    wait(0.1);
+    wait(0.01);
   }
 }
\ No newline at end of file
--- a/main.cpp	Mon May 26 06:28:29 2014 +0000
+++ b/main.cpp	Tue May 27 01:36:56 2014 +0000
@@ -20,20 +20,15 @@
 #include "logo.h"
 
 #if 0
-#define DEMO_AP_SSID                    "HWD11_E8088BD5E3A8"
-#define DEMO_AP_SECURITY_TYPE           e_SEC_WPA2_AES
-#define DEMO_AP_SECUTIRY_KEY            "aArGrg303DG5HA9"
-#define DEMO_AP_SECUTIRY_KEY_LEN    15
+#define DEMO_AP_SSID                  "muRata12345"
+#define DEMO_AP_SECURITY_TYPE         e_SEC_WPA2_AES
+#define DEMO_AP_SECUTIRY_KEY          "12345678"
+#define DEMO_AP_SECUTIRY_KEY_LEN  8
 #else
-//#define DEMO_AP_SSID                          "muRata1"
-//#define DEMO_AP_SECURITY_TYPE         e_SEC_WPA2_AES
-//#define DEMO_AP_SECUTIRY_KEY          "12345678"
-//#define DEMO_AP_SECUTIRY_KEY_LEN  8
-
-#define DEMO_AP_SSID                    "Test"
-#define DEMO_AP_SECURITY_TYPE           e_SEC_WPA2_AES
-#define DEMO_AP_SECUTIRY_KEY            "eightspot"
-#define DEMO_AP_SECUTIRY_KEY_LEN    9
+#define DEMO_AP_SSID                  "E2N1-Lab-Buffalo-D302"
+#define DEMO_AP_SECURITY_TYPE         e_SEC_WPA2_AES
+#define DEMO_AP_SECUTIRY_KEY          "12345678"
+#define DEMO_AP_SECUTIRY_KEY_LEN  8
 #endif
 /** Wi-Fi SNIC UART Interface*/
 C_SNIC_WifiInterface     mSNICwifi( p9, p10, NC, NC, p30 );