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

Committer:
errordeveloper
Date:
Mon Oct 14 13:33:04 2013 +0000
Revision:
11:bdf601a405fc
Parent:
10:86ffba646df1
Child:
22:e567f0d4b05d
Improve a few things about the LCD output:; ; * don't output debug logs; * show Xively logo on boot;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
xively 7:0eff5db44b8b 1 #include "app_board_io.h"
errordeveloper 10:86ffba646df1 2 #include "C12832_lcd.h"
xively 7:0eff5db44b8b 3
errordeveloper 11:bdf601a405fc 4 extern C12832_LCD lcd;
xively 7:0eff5db44b8b 5
xively 7:0eff5db44b8b 6 extern "C" void lcd_printf( const char* fmt, ... )
xively 7:0eff5db44b8b 7 {
xively 7:0eff5db44b8b 8 char buffer[ 64 ];
xively 7:0eff5db44b8b 9
xively 7:0eff5db44b8b 10 va_list ap;
xively 7:0eff5db44b8b 11 va_start( ap, fmt );
xively 7:0eff5db44b8b 12 vsnprintf( buffer, 64, fmt, ap );
xively 7:0eff5db44b8b 13 va_end( ap );
xively 7:0eff5db44b8b 14
xively 7:0eff5db44b8b 15 lcd.cls();
xively 7:0eff5db44b8b 16 lcd.locate( 0, 3 );
xively 7:0eff5db44b8b 17 lcd.printf( buffer );
xively 7:0eff5db44b8b 18 //wait( 1.0 );
xively 7:0eff5db44b8b 19 }