Skip to content

Commit f800918

Browse files
Remove wifi.connect command
Since the scout runs the connection manager at startup already, there is not currently the need for a manual connect command.
1 parent 3297330 commit f800918

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Shell.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ void PinoccioShell::setup() {
8585
addBitlashFunction("wifi.report", (bitlash_function) wifiReport);
8686
addBitlashFunction("wifi.list", (bitlash_function) wifiList);
8787
addBitlashFunction("wifi.config", (bitlash_function) wifiConfig);
88-
addBitlashFunction("wifi.connect", (bitlash_function) wifiConnect);
8988
addBitlashFunction("wifi.command", (bitlash_function) wifiCommand);
9089
addBitlashFunction("wifi.ping", (bitlash_function) wifiPing);
9190
addBitlashFunction("wifi.dnslookup", (bitlash_function) wifiDNSLookup);
@@ -628,15 +627,6 @@ static numvar wifiConfig(void) {
628627
}
629628
}
630629

631-
static numvar wifiConnect(void) {
632-
Serial.print("Wi-Fi backpack connecting...");
633-
if (!Scout.wifi.autoConnect()) {
634-
Serial.println("Error: unable to connect");
635-
} else {
636-
Serial.println("Done");
637-
}
638-
}
639-
640630
static numvar wifiCommand(void) {
641631
if (!Scout.wifi.runDirectCommand(Serial, (const char *)getstringarg(1))) {
642632
Serial.println("Error: Wi-Fi direct command failed");

0 commit comments

Comments
 (0)