Skip to content

Commit

Permalink
Remove the echo client code on the M5Stack demo (#3059)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Oct 6, 2020
1 parent d65d949 commit 7bef9e0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 134 deletions.
119 changes: 0 additions & 119 deletions examples/wifi-echo/server/esp32/main/EchoClient.cpp

This file was deleted.

7 changes: 0 additions & 7 deletions examples/wifi-echo/server/esp32/main/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ menu "WiFi Echo Demo"
bool "Ethernet"
endchoice

config USE_ECHO_CLIENT
bool "Enable the built-in Echo Client"
default "n"
help
This enables a local FreeRTOS Echo Client so that the end-to-end echo server can be
tested easily

config ECHO_HOST_IP
string "IPV4 address"
default "127.0.0.1"
Expand Down
8 changes: 0 additions & 8 deletions examples/wifi-echo/server/esp32/main/wifi-echo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ using namespace ::chip::DeviceLayer;

extern void startServer();

#if CONFIG_USE_ECHO_CLIENT
extern void startClient(void);
#endif // CONFIG_USE_ECHO_CLIENT

#if CONFIG_DEVICE_TYPE_M5STACK

#define BUTTON_1_GPIO_NUM GPIO_NUM_39 // Left button on M5Stack
Expand Down Expand Up @@ -492,10 +488,6 @@ extern "C" void app_main()
PairingComplete(&gTestPairing);
}

#if CONFIG_USE_ECHO_CLIENT
startClient();
#endif

std::string qrCodeText = createSetupPayload();
ESP_LOGI(TAG, "QR CODE: '%s'", qrCodeText.c_str());

Expand Down

0 comments on commit 7bef9e0

Please sign in to comment.