esp_interface.h 578 B

123456789101112131415161718192021222324252627282930
  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, /**< Station interface */
  14. ESP_IF_WIFI_AP, /**< Soft-AP interface */
  15. ESP_IF_WIFI_NAN, /**< NAN interface */
  16. ESP_IF_ETH, /**< Ethernet interface */
  17. ESP_IF_MAX
  18. } esp_interface_t;
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif /* __ESP_INTERFACE_TYPES_H__ */