From 78f0baeb26a05a5fc547848c62d71a69dae47479 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Tue, 18 Jun 2013 16:42:24 +0200 Subject: wifi examples renamed OLD*, introducing new comprehensive WiFiStatus example reviewed ShellCommands example to be not wifi related --- libraries/Bridge/examples/ShellCommands/ShellCommands.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libraries/Bridge/examples/ShellCommands/ShellCommands.ino') diff --git a/libraries/Bridge/examples/ShellCommands/ShellCommands.ino b/libraries/Bridge/examples/ShellCommands/ShellCommands.ino index a362ed8..4fd7384 100644 --- a/libraries/Bridge/examples/ShellCommands/ShellCommands.ino +++ b/libraries/Bridge/examples/ShellCommands/ShellCommands.ino @@ -11,8 +11,8 @@ void setup() { void loop() { Process p; - // This command line prints the number of bytes received and transmitted from WLAN - p.runShellCommand(F("ifconfig wlan0 | grep \"RX bytes\" | tr ':' ' ' | awk \"{ print \\$3 \\\" \\\" \\$8 }\"\n")); + // This command line prints the name of the wireless that the board is connected to or that the board has created + p.runShellCommand(F("lua /usr/lib/lua/pretty_wifi_info.lua | grep SSID")); // Read command output while (p.available()) { -- cgit v1.2.3-18-g5258