123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #pragma once
- #ifdef __cplusplus
- extern "C" {
- #endif
- #include "esp_err.h"
- #include "tcpip_adapter.h"
- #ifdef CONFIG_EXAMPLE_CONNECT_ETHERNET
- #define EXAMPLE_INTERFACE TCPIP_ADAPTER_IF_ETH
- #endif
- #ifdef CONFIG_EXAMPLE_CONNECT_WIFI
- #define EXAMPLE_INTERFACE TCPIP_ADAPTER_IF_STA
- #endif
- esp_err_t example_connect();
- esp_err_t example_disconnect();
- esp_err_t example_configure_stdin_stdout();
- #ifdef __cplusplus
- }
- #endif
|