diff options
author | Federico Fissore <f.fissore@arduino.cc> | 2013-06-18 16:42:24 +0200 |
---|---|---|
committer | Federico Fissore <f.fissore@arduino.cc> | 2013-06-18 16:42:24 +0200 |
commit | 78f0baeb26a05a5fc547848c62d71a69dae47479 (patch) | |
tree | 11052e8c80a9b5fdc6af0316a61bb541775d1e67 /libraries/Bridge/examples/ShellCommands/ShellCommands.ino | |
parent | 01c814479d1010587813ec1992f11ad456874f9f (diff) |
wifi examples renamed OLD*, introducing new comprehensive WiFiStatus example
reviewed ShellCommands example to be not wifi related
Diffstat (limited to 'libraries/Bridge/examples/ShellCommands/ShellCommands.ino')
-rw-r--r-- | libraries/Bridge/examples/ShellCommands/ShellCommands.ino | 4 |
1 files changed, 2 insertions, 2 deletions
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()) { |