esp_interface.h 545 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #ifndef __ESP_INTERFACE_H__
  7. #define __ESP_INTERFACE_H__
  8. #include <stdint.h>
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. typedef enum {
  13. ESP_IF_WIFI_STA = 0, /**< ESP32 station interface */
  14. ESP_IF_WIFI_AP, /**< ESP32 soft-AP interface */
  15. ESP_IF_ETH, /**< ESP32 ethernet interface */
  16. ESP_IF_MAX
  17. } esp_interface_t;
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* __ESP_INTERFACE_TYPES_H__ */