Demo application of SNICInterface library for Murata TypeYD, which reports sensor data periodically to Xively cloud server . Hardware platform: mbed application board (https://mbed.org/cookbook/mbed-application-board), mbed LPC1768 (https://mbed.org/platforms/mbed-LPC1768/) and TypeYD.
Dependencies: C12832 LM75B MMA7660 SNICInterface libxively mbed-rtos mbed
Revision 15:abc12b228291, committed 2014-05-27
- 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
--- 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 );