1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- #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
|