espressif / esp-iot-bridge

A smart bridge to make both ESP and the other MCU or smart device can access the Internet.
164 stars 54 forks source link

Using the ETH interfce on the WT32-eth01 (AEGHB-200) #48

Open XLapAcme opened 1 year ago

XLapAcme commented 1 year ago

Hello, I'm trying to build a wifi to eth bridge using a WT32-eth01 module. I used the wifi-router example as a template.

I managed to configure the BLE provisioning. I can connect to my local wifi just fine. I'm having trouble getting the ETH interface working. My local network is 192.168.5.0/24. For some reason, the eth interface get an ip in the 192.168.4.x range. I don't understand where that IP comes from. It's supposed to ask the DHCP server. I never see the status led on my network switch or the WT32 blinking so I'm under the impression the the ETH interface is simply not working.

I (0) cpu_start: Starting scheduler on APP CPU. I (725) bridge_common: esp-iot-bridge version: 0.5.0 I (726) ip select: IP Address:192.168.4.1 I (726) ip select: GW Address:192.168.4.1 I (729) ip select: NM Address:255.255.255.0 I (734) system_api: Base MAC address is not set I (739) system_api: read default base MAC address from EFUSE I (745) mac select: MAC 0c:b8:15:4d:05:40 I (754) w5500.mac: version=0 I (765) esp_eth.netif.netif_glue: 02:00:00:12:34:56 I (765) esp_eth.netif.netif_glue: ethernet attached to netif I (768) bridge_eth: Ethernet Started E (773) w5500.mac: emac_w5500_transmit(473): free size (42) < send length (0) Add netif eth with 2325731(commit id) I (783) bridge_common: netif list add success I (788) bridge_eth: ETH IP Address:192.168.4.1

XLapAcme commented 1 year ago

I'm new to using ESP board so just tell me if anymore infor is needed.

Here is the the sdkconfig.h I'm using:

pragma once

define CONFIG_SOC_BROWNOUT_RESET_SUPPORTED "Not determined"

define CONFIG_SOC_TWAI_BRP_DIV_SUPPORTED "Not determined"

define CONFIG_SOC_DPORT_WORKAROUND "Not determined"

define CONFIG_SOC_CAPS_ECO_VER_MAX 301

define CONFIG_SOC_ADC_SUPPORTED 1

define CONFIG_SOC_DAC_SUPPORTED 1

define CONFIG_SOC_MCPWM_SUPPORTED 1

define CONFIG_SOC_SDMMC_HOST_SUPPORTED 1

define CONFIG_SOC_BT_SUPPORTED 1

define CONFIG_SOC_PCNT_SUPPORTED 1

define CONFIG_SOC_WIFI_SUPPORTED 1

define CONFIG_SOC_SDIO_SLAVE_SUPPORTED 1

define CONFIG_SOC_TWAI_SUPPORTED 1

define CONFIG_SOC_EMAC_SUPPORTED 1

define CONFIG_SOC_ULP_SUPPORTED 1

define CONFIG_SOC_CCOMP_TIMER_SUPPORTED 1

define CONFIG_SOC_RTC_FAST_MEM_SUPPORTED 1

define CONFIG_SOC_RTC_SLOW_MEM_SUPPORTED 1

define CONFIG_SOC_RTC_MEM_SUPPORTED 1

define CONFIG_SOC_I2S_SUPPORTED 1

define CONFIG_SOC_RMT_SUPPORTED 1

define CONFIG_SOC_SDM_SUPPORTED 1

define CONFIG_SOC_SUPPORT_COEXISTENCE 1

define CONFIG_SOC_AES_SUPPORTED 1

define CONFIG_SOC_MPI_SUPPORTED 1

define CONFIG_SOC_SHA_SUPPORTED 1

define CONFIG_SOC_FLASH_ENC_SUPPORTED 1

define CONFIG_SOC_SECURE_BOOT_SUPPORTED 1

define CONFIG_SOC_TOUCH_SENSOR_SUPPORTED 1

define CONFIG_SOC_DPORT_WORKAROUND_DIS_INTERRUPT_LVL 5

define CONFIG_SOC_XTAL_SUPPORT_26M 1

define CONFIG_SOC_XTAL_SUPPORT_40M 1

define CONFIG_SOC_XTAL_SUPPORT_AUTO_DETECT 1

define CONFIG_SOC_ADC_RTC_CTRL_SUPPORTED 1

define CONFIG_SOC_ADC_DIG_CTRL_SUPPORTED 1

define CONFIG_SOC_ADC_DMA_SUPPORTED 1

define CONFIG_SOC_ADC_PERIPH_NUM 2

define CONFIG_SOC_ADC_MAX_CHANNEL_NUM 10

define CONFIG_SOC_ADC_ATTEN_NUM 4

define CONFIG_SOC_ADC_DIGI_CONTROLLER_NUM 2

define CONFIG_SOC_ADC_PATT_LEN_MAX 16

define CONFIG_SOC_ADC_DIGI_MIN_BITWIDTH 9

define CONFIG_SOC_ADC_DIGI_MAX_BITWIDTH 12

define CONFIG_SOC_ADC_DIGI_RESULT_BYTES 2

define CONFIG_SOC_ADC_DIGI_DATA_BYTES_PER_CONV 4

define CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_HIGH 2

define CONFIG_SOC_ADC_SAMPLE_FREQ_THRES_LOW 20

define CONFIG_SOC_ADC_RTC_MIN_BITWIDTH 9

define CONFIG_SOC_ADC_RTC_MAX_BITWIDTH 12

define CONFIG_SOC_RTC_SLOW_CLOCK_SUPPORT_8MD256 1

define CONFIG_SOC_SHARED_IDCACHE_SUPPORTED 1

define CONFIG_SOC_MMU_LINEAR_ADDRESS_REGION_NUM 5

define CONFIG_SOC_CPU_CORES_NUM 2

define CONFIG_SOC_CPU_INTR_NUM 32

define CONFIG_SOC_CPU_HAS_FPU 1

define CONFIG_SOC_CPU_BREAKPOINTS_NUM 2

define CONFIG_SOC_CPU_WATCHPOINTS_NUM 2

define CONFIG_SOC_CPU_WATCHPOINT_SIZE 64

define CONFIG_SOC_DAC_PERIPH_NUM 2

define CONFIG_SOC_DAC_RESOLUTION 8

define CONFIG_SOC_GPIO_PORT 1

define CONFIG_SOC_GPIO_PIN_COUNT 40

define CONFIG_SOC_GPIO_VALID_GPIO_MASK 0xFFFFFFFFFF

define CONFIG_SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK 0xEF0FEA

define CONFIG_SOC_I2C_NUM 2

define CONFIG_SOC_I2C_FIFO_LEN 32

define CONFIG_SOC_I2C_SUPPORT_SLAVE 1

define CONFIG_SOC_I2C_SUPPORT_APB 1

define CONFIG_SOC_CLK_APLL_SUPPORTED 1

define CONFIG_SOC_APLL_MULTIPLIER_OUT_MIN_HZ 350000000

define CONFIG_SOC_APLL_MULTIPLIER_OUT_MAX_HZ 500000000

define CONFIG_SOC_APLL_MIN_HZ 5303031

define CONFIG_SOC_APLL_MAX_HZ 125000000

define CONFIG_SOC_I2S_NUM 2

define CONFIG_SOC_I2S_HW_VERSION_1 1

define CONFIG_SOC_I2S_SUPPORTS_APLL 1

define CONFIG_SOC_I2S_SUPPORTS_PDM 1

define CONFIG_SOC_I2S_SUPPORTS_PDM_TX 1

define CONFIG_SOC_I2S_SUPPORTS_PDM_RX 1

define CONFIG_SOC_I2S_SUPPORTS_ADC_DAC 1

define CONFIG_SOC_I2S_SUPPORTS_ADC 1

define CONFIG_SOC_I2S_SUPPORTS_DAC 1

define CONFIG_SOC_I2S_SUPPORTS_LCD_CAMERA 1

define CONFIG_SOC_I2S_TRANS_SIZE_ALIGN_WORD 1

define CONFIG_SOC_I2S_LCD_I80_VARIANT 1

define CONFIG_SOC_LCD_I80_SUPPORTED 1

define CONFIG_SOC_LCD_I80_BUSES 2

define CONFIG_SOC_LCD_I80_BUS_WIDTH 24

define CONFIG_SOC_LEDC_HAS_TIMER_SPECIFIC_MUX 1

define CONFIG_SOC_LEDC_SUPPORT_APB_CLOCK 1

define CONFIG_SOC_LEDC_SUPPORT_REF_TICK 1

define CONFIG_SOC_LEDC_SUPPORT_HS_MODE 1

define CONFIG_SOC_LEDC_CHANNEL_NUM 8

define CONFIG_SOC_LEDC_TIMER_BIT_WIDE_NUM 20

define CONFIG_SOC_MCPWM_GROUPS 2

define CONFIG_SOC_MCPWM_TIMERS_PER_GROUP 3

define CONFIG_SOC_MCPWM_OPERATORS_PER_GROUP 3

define CONFIG_SOC_MCPWM_COMPARATORS_PER_OPERATOR 2

define CONFIG_SOC_MCPWM_GENERATORS_PER_OPERATOR 2

define CONFIG_SOC_MCPWM_TRIGGERS_PER_OPERATOR 2

define CONFIG_SOC_MCPWM_GPIO_FAULTS_PER_GROUP 3

define CONFIG_SOC_MCPWM_CAPTURE_TIMERS_PER_GROUP 1

define CONFIG_SOC_MCPWM_CAPTURE_CHANNELS_PER_TIMER 3

define CONFIG_SOC_MCPWM_GPIO_SYNCHROS_PER_GROUP 3

define CONFIG_SOC_MPU_MIN_REGION_SIZE 0x20000000

define CONFIG_SOC_MPU_REGIONS_MAX_NUM 8

define CONFIG_SOC_PCNT_GROUPS 1

define CONFIG_SOC_PCNT_UNITS_PER_GROUP 8

define CONFIG_SOC_PCNT_CHANNELS_PER_UNIT 2

define CONFIG_SOC_PCNT_THRES_POINT_PER_UNIT 2

define CONFIG_SOC_RMT_GROUPS 1

define CONFIG_SOC_RMT_TX_CANDIDATES_PER_GROUP 8

define CONFIG_SOC_RMT_RX_CANDIDATES_PER_GROUP 8

define CONFIG_SOC_RMT_CHANNELS_PER_GROUP 8

define CONFIG_SOC_RMT_MEM_WORDS_PER_CHANNEL 64

define CONFIG_SOC_RMT_SUPPORT_REF_TICK 1

define CONFIG_SOC_RMT_SUPPORT_APB 1

define CONFIG_SOC_RMT_CHANNEL_CLK_INDEPENDENT 1

define CONFIG_SOC_RTCIO_PIN_COUNT 18

define CONFIG_SOC_RTCIO_INPUT_OUTPUT_SUPPORTED 1

define CONFIG_SOC_RTCIO_HOLD_SUPPORTED 1

define CONFIG_SOC_RTCIO_WAKE_SUPPORTED 1

define CONFIG_SOC_SDM_GROUPS 1

define CONFIG_SOC_SDM_CHANNELS_PER_GROUP 8

define CONFIG_SOC_SPI_HD_BOTH_INOUT_SUPPORTED 1

define CONFIG_SOC_SPI_AS_CS_SUPPORTED 1

define CONFIG_SOC_SPI_PERIPH_NUM 3

define CONFIG_SOC_SPI_DMA_CHAN_NUM 2

define CONFIG_SOC_SPI_MAX_CS_NUM 3

define CONFIG_SOC_SPI_MAXIMUM_BUFFER_SIZE 64

define CONFIG_SOC_SPI_MAX_PRE_DIVIDER 8192

define CONFIG_SOC_MEMSPI_SRC_FREQ_80M_SUPPORTED 1

define CONFIG_SOC_MEMSPI_SRC_FREQ_40M_SUPPORTED 1

define CONFIG_SOC_MEMSPI_SRC_FREQ_26M_SUPPORTED 1

define CONFIG_SOC_MEMSPI_SRC_FREQ_20M_SUPPORTED 1

define CONFIG_SOC_TIMER_GROUPS 2

define CONFIG_SOC_TIMER_GROUP_TIMERS_PER_GROUP 2

define CONFIG_SOC_TIMER_GROUP_COUNTER_BIT_WIDTH 64

define CONFIG_SOC_TIMER_GROUP_TOTAL_TIMERS 4

define CONFIG_SOC_TIMER_GROUP_SUPPORT_APB 1

define CONFIG_SOC_TOUCH_VERSION_1 1

define CONFIG_SOC_TOUCH_SENSOR_NUM 10

define CONFIG_SOC_TOUCH_PAD_MEASURE_WAIT_MAX 0xFF

define CONFIG_SOC_TWAI_BRP_MIN 2

define CONFIG_SOC_TWAI_SUPPORT_MULTI_ADDRESS_LAYOUT 1

define CONFIG_SOC_UART_NUM 3

define CONFIG_SOC_UART_SUPPORT_APB_CLK 1

define CONFIG_SOC_UART_SUPPORT_REF_TICK 1

define CONFIG_SOC_UART_FIFO_LEN 128

define CONFIG_SOC_UART_BITRATE_MAX 5000000

define CONFIG_SOC_SPIRAM_SUPPORTED 1

define CONFIG_SOC_SPI_MEM_SUPPORT_CONFIG_GPIO_BY_EFUSE 1

define CONFIG_SOC_SHA_SUPPORT_PARALLEL_ENG 1

define CONFIG_SOC_SHA_SUPPORT_SHA1 1

define CONFIG_SOC_SHA_SUPPORT_SHA256 1

define CONFIG_SOC_SHA_SUPPORT_SHA384 1

define CONFIG_SOC_SHA_SUPPORT_SHA512 1

define CONFIG_SOC_RSA_MAX_BIT_LEN 4096

define CONFIG_SOC_AES_SUPPORT_AES_128 1

define CONFIG_SOC_AES_SUPPORT_AES_192 1

define CONFIG_SOC_AES_SUPPORT_AES_256 1

define CONFIG_SOC_SECURE_BOOT_V1 1

define CONFIG_SOC_EFUSE_SECURE_BOOT_KEY_DIGESTS 1

define CONFIG_SOC_FLASH_ENCRYPTED_XTS_AES_BLOCK_MAX 32

define CONFIG_SOC_PHY_DIG_REGS_MEM_SIZE 21

define CONFIG_SOC_PM_SUPPORT_EXT_WAKEUP 1

define CONFIG_SOC_PM_SUPPORT_TOUCH_SENSOR_WAKEUP 1

define CONFIG_SOC_PM_SUPPORT_RTC_PERIPH_PD 1

define CONFIG_SOC_PM_SUPPORT_RTC_FAST_MEM_PD 1

define CONFIG_SOC_PM_SUPPORT_RTC_SLOW_MEM_PD 1

define CONFIG_SOC_PM_SUPPORT_MODEM_PD 1

define CONFIG_SOC_SDMMC_USE_IOMUX 1

define CONFIG_SOC_SDMMC_NUM_SLOTS 2

define CONFIG_SOC_WIFI_WAPI_SUPPORT 1

define CONFIG_SOC_WIFI_CSI_SUPPORT 1

define CONFIG_SOC_WIFI_MESH_SUPPORT 1

define CONFIG_SOC_BLE_SUPPORTED 1

define CONFIG_SOC_BLE_MESH_SUPPORTED 1

define CONFIG_SOC_BT_CLASSIC_SUPPORTED 1

define CONFIG_IDF_CMAKE 1

define CONFIG_IDF_TARGET_ARCH_XTENSA 1

define CONFIG_IDF_TARGET_ARCH "xtensa"

define CONFIG_IDF_TARGET "esp32"

define CONFIG_IDF_TARGET_ESP32 1

define CONFIG_IDF_FIRMWARE_CHIP_ID 0x0000

define CONFIG_APP_BUILD_TYPE_APP_2NDBOOT 1

define CONFIG_APP_BUILD_GENERATE_BINARIES 1

define CONFIG_APP_BUILD_BOOTLOADER 1

define CONFIG_APP_BUILD_USE_FLASH_SECTIONS 1

define CONFIG_BOOTLOADER_OFFSET_IN_FLASH 0x1000

define CONFIG_BOOTLOADER_COMPILER_OPTIMIZATION_SIZE 1

define CONFIG_BOOTLOADER_LOG_LEVEL_INFO 1

define CONFIG_BOOTLOADER_LOG_LEVEL 3

define CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V 1

define CONFIG_BOOTLOADER_REGION_PROTECTION_ENABLE 1

define CONFIG_BOOTLOADER_WDT_ENABLE 1

define CONFIG_BOOTLOADER_WDT_TIME_MS 9000

define CONFIG_BOOTLOADER_RESERVE_RTC_SIZE 0x0

define CONFIG_BOOTLOADER_FLASH_XMC_SUPPORT 1

define CONFIG_SECURE_BOOT_V1_SUPPORTED 1

define CONFIG_APP_COMPILE_TIME_DATE 1

define CONFIG_APP_RETRIEVE_LEN_ELF_SHA 16

define CONFIG_ESP_ROM_HAS_CRC_LE 1

define CONFIG_ESP_ROM_HAS_CRC_BE 1

define CONFIG_ESP_ROM_HAS_MZ_CRC32 1

define CONFIG_ESP_ROM_HAS_JPEG_DECODE 1

define CONFIG_ESP_ROM_NEEDS_SWSETUP_WORKAROUND 1

define CONFIG_ESPTOOLPY_FLASHMODE_DIO 1

define CONFIG_ESPTOOLPY_FLASH_SAMPLE_MODE_STR 1

define CONFIG_ESPTOOLPY_FLASHMODE "dio"

define CONFIG_ESPTOOLPY_FLASHFREQ_40M 1

define CONFIG_ESPTOOLPY_FLASHFREQ "40m"

define CONFIG_ESPTOOLPY_FLASHSIZE_4MB 1

define CONFIG_ESPTOOLPY_FLASHSIZE "4MB"

define CONFIG_ESPTOOLPY_BEFORE_RESET 1

define CONFIG_ESPTOOLPY_BEFORE "default_reset"

define CONFIG_ESPTOOLPY_AFTER_RESET 1

define CONFIG_ESPTOOLPY_AFTER "hard_reset"

define CONFIG_ESPTOOLPY_MONITOR_BAUD 115200

define CONFIG_PARTITION_TABLE_CUSTOM 1

define CONFIG_PARTITION_TABLE_CUSTOM_FILENAME "partitions.csv"

define CONFIG_PARTITION_TABLE_FILENAME "partitions.csv"

define CONFIG_PARTITION_TABLE_OFFSET 0x8000

define CONFIG_PARTITION_TABLE_MD5 1

define CONFIG_BRIDGE_USE_WIFI_PROVISIONING_OVER_BLE 1

define CONFIG_BRIDGE_PROV_TRANSPORT_BLE 1

define CONFIG_BRIDGE_PROV_SECURITY_VERSION_2 1

define CONFIG_BRIDGE_PROV_SEC2_DEV_MODE 1

define CONFIG_BRIDGE_PROV_TRANSPORT 1

define CONFIG_BRIDGE_RESET_PROVISIONED 1

define CONFIG_BRIDGE_RESET_PROV_MGR_ON_FAILURE 1

define CONFIG_BRIDGE_PROV_MGR_MAX_RETRY_CNT 5

define CONFIG_BRIDGE_PROV_SHOW_QR 1

define CONFIG_GPIO_BUTTON_SW1 16

define CONFIG_COMPILER_OPTIMIZATION_SIZE 1

define CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_ENABLE 1

define CONFIG_COMPILER_FLOAT_LIB_FROM_GCCLIB 1

define CONFIG_COMPILER_OPTIMIZATION_ASSERTION_LEVEL 2

define CONFIG_COMPILER_HIDE_PATHS_MACROS 1

define CONFIG_COMPILER_STACK_CHECK_MODE_NONE 1

define CONFIG_APPTRACE_DEST_NONE 1

define CONFIG_APPTRACE_DEST_UART_NONE 1

define CONFIG_APPTRACE_UART_TASK_PRIO 1

define CONFIG_APPTRACE_LOCK_ENABLE 1

define CONFIG_BT_ENABLED 1

define CONFIG_BT_NIMBLE_ENABLED 1

define CONFIG_BT_CONTROLLER_ENABLED 1

define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_INTERNAL 1

define CONFIG_BT_NIMBLE_LOG_LEVEL_INFO 1

define CONFIG_BT_NIMBLE_LOG_LEVEL 1

define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 1

define CONFIG_BT_NIMBLE_MAX_BONDS 3

define CONFIG_BT_NIMBLE_MAX_CCCDS 8

define CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM 0

define CONFIG_BT_NIMBLE_PINNED_TO_CORE_0 1

define CONFIG_BT_NIMBLE_PINNED_TO_CORE 0

define CONFIG_BT_NIMBLE_HOST_TASK_STACK_SIZE 5120

define CONFIG_BT_NIMBLE_ROLE_CENTRAL 1

define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL 1

define CONFIG_BT_NIMBLE_ROLE_BROADCASTER 1

define CONFIG_BT_NIMBLE_ROLE_OBSERVER 1

define CONFIG_BT_NIMBLE_SECURITY_ENABLE 1

define CONFIG_BT_NIMBLE_SM_LEGACY 1

define CONFIG_BT_NIMBLE_SM_SC 1

define CONFIG_BT_NIMBLE_LL_CFG_FEAT_LE_ENCRYPTION 1

define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME "nimble"

define CONFIG_BT_NIMBLE_GAP_DEVICE_NAME_MAX_LEN 31

define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU 256

define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE 0x0

define CONFIG_BT_NIMBLE_MSYS_1_BLOCK_COUNT 12

define CONFIG_BT_NIMBLE_MSYS_1_BLOCK_SIZE 256

define CONFIG_BT_NIMBLE_MSYS_2_BLOCK_COUNT 24

define CONFIG_BT_NIMBLE_MSYS_2_BLOCK_SIZE 320

define CONFIG_BT_NIMBLE_ACL_BUF_COUNT 24

define CONFIG_BT_NIMBLE_ACL_BUF_SIZE 255

define CONFIG_BT_NIMBLE_HCI_EVT_BUF_SIZE 70

define CONFIG_BT_NIMBLE_HCI_EVT_HI_BUF_COUNT 30

define CONFIG_BT_NIMBLE_HCI_EVT_LO_BUF_COUNT 8

define CONFIG_BT_NIMBLE_GATT_MAX_PROCS 4

define CONFIG_BT_NIMBLE_HS_FLOW_CTRL 1

define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_ITVL 1000

define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_THRESH 2

define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT 1

define CONFIG_BT_NIMBLE_RPA_TIMEOUT 900

define CONFIG_BT_NIMBLE_CRYPTO_STACK_MBEDTLS 1

define CONFIG_BT_NIMBLE_HS_STOP_TIMEOUT_MS 2000

define CONFIG_BT_NIMBLE_COEX_PHY_CODED_TX_RX_TLIM_DIS 1

define CONFIG_BT_NIMBLE_COEX_PHY_CODED_TX_RX_TLIM_EFF 0

define CONFIG_BT_NIMBLE_WHITELIST_SIZE 12

define CONFIG_BT_NIMBLE_USE_ESP_TIMER 1

define CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE 1

define CONFIG_BTDM_CTRL_MODE_BLE_ONLY 1

define CONFIG_BTDM_CTRL_BLE_MAX_CONN 3

define CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF 0

define CONFIG_BTDM_CTRL_PCM_ROLE_EFF 0

define CONFIG_BTDM_CTRL_PCM_POLAR_EFF 0

define CONFIG_BTDM_CTRL_BLE_MAX_CONN_EFF 3

define CONFIG_BTDM_CTRL_BR_EDR_MAX_ACL_CONN_EFF 0

define CONFIG_BTDM_CTRL_BR_EDR_MAX_SYNC_CONN_EFF 0

define CONFIG_BTDM_CTRL_PINNED_TO_CORE_0 1

define CONFIG_BTDM_CTRL_PINNED_TO_CORE 0

define CONFIG_BTDM_CTRL_HCI_MODE_VHCI 1

define CONFIG_BTDM_CTRL_MODEM_SLEEP 1

define CONFIG_BTDM_CTRL_MODEM_SLEEP_MODE_ORIG 1

define CONFIG_BTDM_CTRL_LPCLK_SEL_MAIN_XTAL 1

define CONFIG_BTDM_BLE_DEFAULT_SCA_250PPM 1

define CONFIG_BTDM_BLE_SLEEP_CLOCK_ACCURACY_INDEX_EFF 1

define CONFIG_BTDM_BLE_SCAN_DUPL 1

define CONFIG_BTDM_SCAN_DUPL_TYPE_DEVICE 1

define CONFIG_BTDM_SCAN_DUPL_TYPE 0

define CONFIG_BTDM_SCAN_DUPL_CACHE_SIZE 100

define CONFIG_BTDM_SCAN_DUPL_CACHE_REFRESH_PERIOD 0

define CONFIG_BTDM_CTRL_FULL_SCAN_SUPPORTED 1

define CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_SUPP 1

define CONFIG_BTDM_BLE_ADV_REPORT_FLOW_CTRL_NUM 100

define CONFIG_BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD 20

define CONFIG_BTDM_RESERVE_DRAM 0xdb5c

define CONFIG_BTDM_CTRL_HLI 1

define CONFIG_ADC_DISABLE_DAC 1

define CONFIG_ADC_CAL_EFUSE_TP_ENABLE 1

define CONFIG_ADC_CAL_EFUSE_VREF_ENABLE 1

define CONFIG_ADC_CAL_LUT_ENABLE 1

define CONFIG_SPI_MASTER_ISR_IN_IRAM 1

define CONFIG_SPI_SLAVE_ISR_IN_IRAM 1

define CONFIG_TWAI_ERRATA_FIX_BUS_OFF_REC 1

define CONFIG_TWAI_ERRATA_FIX_TX_INTR_LOST 1

define CONFIG_TWAI_ERRATA_FIX_RX_FRAME_INVALID 1

define CONFIG_TWAI_ERRATA_FIX_RX_FIFO_CORRUPT 1

define CONFIG_TWAI_ERRATA_FIX_LISTEN_ONLY_DOM 1

define CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4 1

define CONFIG_EFUSE_MAX_BLK_LEN 192

define CONFIG_ESP_TLS_USING_MBEDTLS 1

define CONFIG_ADC_CALI_EFUSE_TP_ENABLE 1

define CONFIG_ADC_CALI_EFUSE_VREF_ENABLE 1

define CONFIG_ADC_CALI_LUT_ENABLE 1

define CONFIG_ADC_DISABLE_DAC_OUTPUT 1

define CONFIG_ESP_ERR_TO_NAME_LOOKUP 1

define CONFIG_ETH_ENABLED 1

define CONFIG_ETH_USE_ESP32_EMAC 1

define CONFIG_ETH_PHY_INTERFACE_RMII 1

define CONFIG_ETH_RMII_CLK_INPUT 1

define CONFIG_ETH_RMII_CLK_IN_GPIO 0

define CONFIG_ETH_DMA_BUFFER_SIZE 1600

define CONFIG_ETH_DMA_RX_BUFFER_NUM 10

define CONFIG_ETH_DMA_TX_BUFFER_NUM 10

define CONFIG_ETH_USE_SPI_ETHERNET 1

define CONFIG_ETH_SPI_ETHERNET_W5500 1

define CONFIG_ETH_USE_OPENETH 1

define CONFIG_ETH_OPENETH_DMA_RX_BUFFER_NUM 4

define CONFIG_ETH_OPENETH_DMA_TX_BUFFER_NUM 1

define CONFIG_ESP_EVENT_POST_FROM_ISR 1

define CONFIG_ESP_EVENT_POST_FROM_IRAM_ISR 1

define CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS 1

define CONFIG_HTTPD_MAX_REQ_HDR_LEN 1024

define CONFIG_HTTPD_MAX_URI_LEN 512

define CONFIG_HTTPD_ERR_RESP_NO_DELAY 1

define CONFIG_HTTPD_PURGE_BUF_LEN 32

define CONFIG_ESP32_REV_MIN_0 1

define CONFIG_ESP32_REV_MIN 0

define CONFIG_ESP32_REV_MIN_FULL 0

define CONFIG_ESP_REV_MIN_FULL 0

define CONFIG_ESP32_REV_MAX_FULL 399

define CONFIG_ESP_REV_MAX_FULL 399

define CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_STA 1

define CONFIG_ESP_MAC_ADDR_UNIVERSE_WIFI_AP 1

define CONFIG_ESP_MAC_ADDR_UNIVERSE_BT 1

define CONFIG_ESP_MAC_ADDR_UNIVERSE_ETH 1

define CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES_FOUR 1

define CONFIG_ESP32_UNIVERSAL_MAC_ADDRESSES 4

define CONFIG_ESP_SLEEP_RTC_BUS_ISO_WORKAROUND 1

define CONFIG_ESP_SLEEP_FLASH_LEAKAGE_WORKAROUND 1

define CONFIG_ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY 2000

define CONFIG_RTC_CLK_SRC_INT_RC 1

define CONFIG_RTC_CLK_CAL_CYCLES 1024

define CONFIG_XTAL_FREQ_40 1

define CONFIG_XTAL_FREQ 40

define CONFIG_LCD_PANEL_IO_FORMAT_BUF_SIZE 32

define CONFIG_ESP_NETIF_IP_LOST_TIMER_INTERVAL 120

define CONFIG_ESP_NETIF_TCPIP_LWIP 1

define CONFIG_ESP_NETIF_BRIDGE_EN 1

define CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE 1

define CONFIG_ESP_PHY_MAX_WIFI_TX_POWER 20

define CONFIG_ESP_PHY_MAX_TX_POWER 20

define CONFIG_ESP_PHY_REDUCE_TX_POWER 1

define CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240 1

define CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ 240

define CONFIG_ESP32_TRACEMEM_RESERVE_DRAM 0x0

define CONFIG_ESP_SYSTEM_PANIC_PRINT_REBOOT 1

define CONFIG_ESP_SYSTEM_EVENT_QUEUE_SIZE 32

define CONFIG_ESP_SYSTEM_EVENT_TASK_STACK_SIZE 4096

define CONFIG_ESP_MAIN_TASK_STACK_SIZE 3584

define CONFIG_ESP_MAIN_TASK_AFFINITY_CPU0 1

define CONFIG_ESP_MAIN_TASK_AFFINITY 0x0

define CONFIG_ESP_MINIMAL_SHARED_STACK_SIZE 2048

define CONFIG_ESP_CONSOLE_UART_DEFAULT 1

define CONFIG_ESP_CONSOLE_UART 1

define CONFIG_ESP_CONSOLE_MULTIPLE_UART 1

define CONFIG_ESP_CONSOLE_UART_NUM 0

define CONFIG_ESP_CONSOLE_UART_BAUDRATE 115200

define CONFIG_ESP_TASK_WDT_EN 1

define CONFIG_ESP_DEBUG_OCDAWARE 1

define CONFIG_ESP_SYSTEM_CHECK_INT_LEVEL_5 1

define CONFIG_ESP_BROWNOUT_DET 1

define CONFIG_ESP_BROWNOUT_DET_LVL_SEL_0 1

define CONFIG_ESP_BROWNOUT_DET_LVL 0

define CONFIG_ESP_SYSTEM_BROWNOUT_INTR 1

define CONFIG_ESP_IPC_TASK_STACK_SIZE 1024

define CONFIG_ESP_IPC_USES_CALLERS_PRIORITY 1

define CONFIG_ESP_IPC_ISR_ENABLE 1

define CONFIG_ESP_TIME_FUNCS_USE_RTC_TIMER 1

define CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER 1

define CONFIG_ESP_TIMER_TASK_STACK_SIZE 3584

define CONFIG_ESP_TIMER_INTERRUPT_LEVEL 1

define CONFIG_ESP_TIMER_IMPL_TG0_LAC 1

define CONFIG_ESP32_WIFI_ENABLED 1

define CONFIG_ESP32_WIFI_SW_COEXIST_ENABLE 1

define CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM 10

define CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM 32

define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER 1

define CONFIG_ESP32_WIFI_TX_BUFFER_TYPE 1

define CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM 32

define CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED 1

define CONFIG_ESP32_WIFI_TX_BA_WIN 6

define CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED 1

define CONFIG_ESP32_WIFI_RX_BA_WIN 6

define CONFIG_ESP32_WIFI_NVS_ENABLED 1

define CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0 1

define CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN 752

define CONFIG_ESP32_WIFI_MGMT_SBUF_NUM 32

define CONFIG_ESP32_WIFI_IRAM_OPT 1

define CONFIG_ESP32_WIFI_RX_IRAM_OPT 1

define CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE 1

define CONFIG_ESP32_WIFI_ENABLE_WPA3_OWE_STA 1

define CONFIG_ESP_WIFI_STA_DISCONNECTED_PM_ENABLE 1

define CONFIG_ESP_WIFI_ESPNOW_MAX_ENCRYPT_NUM 7

define CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH 1

define CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF 1

define CONFIG_ESP_COREDUMP_CHECKSUM_CRC32 1

define CONFIG_ESP_COREDUMP_CHECK_BOOT 1

define CONFIG_ESP_COREDUMP_ENABLE 1

define CONFIG_ESP_COREDUMP_MAX_TASKS_NUM 64

define CONFIG_ESP_COREDUMP_STACK_SIZE 0

define CONFIG_FATFS_VOLUME_COUNT 2

define CONFIG_FATFS_SECTOR_4096 1

define CONFIG_FATFS_SECTORS_PER_CLUSTER_1 1

define CONFIG_FATFS_CODEPAGE_437 1

define CONFIG_FATFS_AUTO_TYPE 1

define CONFIG_FATFS_CODEPAGE 437

define CONFIG_FATFS_LFN_NONE 1

define CONFIG_FATFS_FS_LOCK 0

define CONFIG_FATFS_TIMEOUT_MS 10000

define CONFIG_FATFS_PER_FILE_CACHE 1

define CONFIG_FREERTOS_HZ 1000

define CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY 1

define CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS 1

define CONFIG_FREERTOS_IDLE_TASK_STACKSIZE 1536

define CONFIG_FREERTOS_MAX_TASK_NAME_LEN 16

define CONFIG_FREERTOS_TIMER_TASK_PRIORITY 1

define CONFIG_FREERTOS_TIMER_TASK_STACK_DEPTH 4096

define CONFIG_FREERTOS_TIMER_QUEUE_LENGTH 10

define CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE 0

define CONFIG_FREERTOS_TASK_FUNCTION_WRAPPER 1

define CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER 1

define CONFIG_FREERTOS_ISR_STACKSIZE 2096

define CONFIG_FREERTOS_INTERRUPT_BACKTRACE 1

define CONFIG_FREERTOS_TICK_SUPPORT_CORETIMER 1

define CONFIG_FREERTOS_CORETIMER_0 1

define CONFIG_FREERTOS_SYSTICK_USES_CCOUNT 1

define CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION 1

define CONFIG_FREERTOS_ENABLE_TASK_SNAPSHOT 1

define CONFIG_FREERTOS_NO_AFFINITY 0x7FFFFFFF

define CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION 1

define CONFIG_FREERTOS_DEBUG_OCDAWARE 1

define CONFIG_HAL_ASSERTION_EQUALS_SYSTEM 1

define CONFIG_HAL_DEFAULT_ASSERTION_LEVEL 2

define CONFIG_HEAP_POISONING_DISABLED 1

define CONFIG_HEAP_TRACING_OFF 1

define CONFIG_LOG_DEFAULT_LEVEL_INFO 1

define CONFIG_LOG_DEFAULT_LEVEL 3

define CONFIG_LOG_MAXIMUM_EQUALS_DEFAULT 1

define CONFIG_LOG_MAXIMUM_LEVEL 3

define CONFIG_LOG_COLORS 1

define CONFIG_LOG_TIMESTAMP_SOURCE_RTOS 1

define CONFIG_LWIP_LOCAL_HOSTNAME "espressif"

define CONFIG_LWIP_DNS_SUPPORT_MDNS_QUERIES 1

define CONFIG_LWIP_L2_TO_L3_COPY 1

define CONFIG_LWIP_TIMERS_ONDEMAND 1

define CONFIG_LWIP_MAX_SOCKETS 10

define CONFIG_LWIP_SO_REUSE 1

define CONFIG_LWIP_SO_REUSE_RXTOALL 1

define CONFIG_LWIP_IP4_FRAG 1

define CONFIG_LWIP_IP6_FRAG 1

define CONFIG_LWIP_IP_FORWARD 1

define CONFIG_LWIP_IPV4_NAPT 1

define CONFIG_LWIP_ESP_GRATUITOUS_ARP 1

define CONFIG_LWIP_GARP_TMR_INTERVAL 60

define CONFIG_LWIP_ESP_MLDV6_REPORT 1

define CONFIG_LWIP_MLDV6_TMR_INTERVAL 40

define CONFIG_LWIP_TCPIP_RECVMBOX_SIZE 32

define CONFIG_LWIP_DHCP_DOES_ARP_CHECK 1

define CONFIG_LWIP_DHCP_OPTIONS_LEN 68

define CONFIG_LWIP_NUM_NETIF_CLIENT_DATA 0

define CONFIG_LWIP_DHCP_COARSE_TIMER_SECS 1

define CONFIG_LWIP_DHCPS 1

define CONFIG_LWIP_DHCPS_LEASE_UNIT 60

define CONFIG_LWIP_DHCPS_MAX_STATION_NUM 8

define CONFIG_LWIP_AUTOIP 1

define CONFIG_LWIP_AUTOIP_TRIES 2

define CONFIG_LWIP_AUTOIP_MAX_CONFLICTS 9

define CONFIG_LWIP_AUTOIP_RATE_LIMIT_INTERVAL 20

define CONFIG_LWIP_IPV6 1

define CONFIG_LWIP_IPV6_NUM_ADDRESSES 3

define CONFIG_LWIP_NETIF_LOOPBACK 1

define CONFIG_LWIP_LOOPBACK_MAX_PBUFS 8

define CONFIG_LWIP_MAX_ACTIVE_TCP 16

define CONFIG_LWIP_MAX_LISTENING_TCP 16

define CONFIG_LWIP_TCP_HIGH_SPEED_RETRANSMISSION 1

define CONFIG_LWIP_TCP_MAXRTX 12

define CONFIG_LWIP_TCP_SYNMAXRTX 12

define CONFIG_LWIP_TCP_MSS 1460

define CONFIG_LWIP_TCP_TMR_INTERVAL 250

define CONFIG_LWIP_TCP_MSL 60000

define CONFIG_LWIP_TCP_FIN_WAIT_TIMEOUT 20000

define CONFIG_LWIP_TCP_SND_BUF_DEFAULT 5744

define CONFIG_LWIP_TCP_WND_DEFAULT 5744

define CONFIG_LWIP_TCP_RECVMBOX_SIZE 6

define CONFIG_LWIP_TCP_QUEUE_OOSEQ 1

define CONFIG_LWIP_TCP_OVERSIZE_MSS 1

define CONFIG_LWIP_TCP_RTO_TIME 1500

define CONFIG_LWIP_MAX_UDP_PCBS 16

define CONFIG_LWIP_UDP_RECVMBOX_SIZE 6

define CONFIG_LWIP_CHECKSUM_CHECK_ICMP 1

define CONFIG_LWIP_TCPIP_TASK_STACK_SIZE 4096

define CONFIG_LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY 1

define CONFIG_LWIP_TCPIP_TASK_AFFINITY 0x7FFFFFFF

define CONFIG_LWIP_PPP_SUPPORT 1

define CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE 3

define CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS 5

define CONFIG_LWIP_PPP_PAP_SUPPORT 1

define CONFIG_LWIP_ICMP 1

define CONFIG_LWIP_MULTICAST_PING 1

define CONFIG_LWIP_BROADCAST_PING 1

define CONFIG_LWIP_MAX_RAW_PCBS 16

define CONFIG_LWIP_SNTP_MAX_SERVERS 1

define CONFIG_LWIP_SNTP_UPDATE_DELAY 3600000

define CONFIG_LWIP_BRIDGEIF_MAX_PORTS 7

define CONFIG_LWIP_ESP_LWIP_ASSERT 1

define CONFIG_LWIP_HOOK_TCP_ISN_DEFAULT 1

define CONFIG_LWIP_HOOK_IP6_ROUTE_NONE 1

define CONFIG_LWIP_HOOK_ND6_GET_GW_NONE 1

define CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE 1

define CONFIG_LWIP_HOOK_IP6_INPUT_NONE 1

define CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC 1

define CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN 1

define CONFIG_MBEDTLS_SSL_IN_CONTENT_LEN 16384

define CONFIG_MBEDTLS_SSL_OUT_CONTENT_LEN 4096

define CONFIG_MBEDTLS_ECDH_LEGACY_CONTEXT 1

define CONFIG_MBEDTLS_SSL_KEEP_PEER_CERTIFICATE 1

define CONFIG_MBEDTLS_CERTIFICATE_BUNDLE 1

define CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_FULL 1

define CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS 200

define CONFIG_MBEDTLS_ECP_RESTARTABLE 1

define CONFIG_MBEDTLS_CMAC_C 1

define CONFIG_MBEDTLS_HARDWARE_AES 1

define CONFIG_MBEDTLS_HARDWARE_MPI 1

define CONFIG_MBEDTLS_HARDWARE_SHA 1

define CONFIG_MBEDTLS_ROM_MD5 1

define CONFIG_MBEDTLS_HAVE_TIME 1

define CONFIG_MBEDTLS_ECDSA_DETERMINISTIC 1

define CONFIG_MBEDTLS_SHA512_C 1

define CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT 1

define CONFIG_MBEDTLS_TLS_SERVER 1

define CONFIG_MBEDTLS_TLS_CLIENT 1

define CONFIG_MBEDTLS_TLS_ENABLED 1

define CONFIG_MBEDTLS_KEY_EXCHANGE_RSA 1

define CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE 1

define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA 1

define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA 1

define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA 1

define CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA 1

define CONFIG_MBEDTLS_SSL_RENEGOTIATION 1

define CONFIG_MBEDTLS_SSL_PROTO_TLS1_2 1

define CONFIG_MBEDTLS_SSL_ALPN 1

define CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS 1

define CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS 1

define CONFIG_MBEDTLS_AES_C 1

define CONFIG_MBEDTLS_CCM_C 1

define CONFIG_MBEDTLS_GCM_C 1

define CONFIG_MBEDTLS_PEM_PARSE_C 1

define CONFIG_MBEDTLS_PEM_WRITE_C 1

define CONFIG_MBEDTLS_X509_CRL_PARSE_C 1

define CONFIG_MBEDTLS_X509_CSR_PARSE_C 1

define CONFIG_MBEDTLS_ECP_C 1

define CONFIG_MBEDTLS_ECDH_C 1

define CONFIG_MBEDTLS_ECDSA_C 1

define CONFIG_MBEDTLS_ECP_DP_SECP192R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_SECP224R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_SECP384R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_SECP521R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_SECP192K1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_SECP224K1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_SECP256K1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_BP256R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_BP384R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_BP512R1_ENABLED 1

define CONFIG_MBEDTLS_ECP_DP_CURVE25519_ENABLED 1

define CONFIG_MBEDTLS_ECP_NIST_OPTIM 1

define CONFIG_MQTT_PROTOCOL_311 1

define CONFIG_MQTT_TRANSPORT_SSL 1

define CONFIG_MQTT_TRANSPORT_WEBSOCKET 1

define CONFIG_MQTT_TRANSPORT_WEBSOCKET_SECURE 1

define CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF 1

define CONFIG_NEWLIB_STDIN_LINE_ENDING_CR 1

define CONFIG_NEWLIB_TIME_SYSCALL_USE_RTC_HRT 1

define CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_0 1

define CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_1 1

define CONFIG_ESP_PROTOCOMM_SUPPORT_SECURITY_VERSION_2 1

define CONFIG_PTHREAD_TASK_PRIO_DEFAULT 5

define CONFIG_PTHREAD_TASK_STACK_SIZE_DEFAULT 3072

define CONFIG_PTHREAD_STACK_MIN 768

define CONFIG_PTHREAD_DEFAULT_CORE_NO_AFFINITY 1

define CONFIG_PTHREAD_TASK_CORE_DEFAULT -1

define CONFIG_PTHREAD_TASK_NAME_DEFAULT "pthread"

define CONFIG_MMU_PAGE_SIZE_64KB 1

define CONFIG_MMU_PAGE_MODE "64KB"

define CONFIG_MMU_PAGE_SIZE 0x10000

define CONFIG_SPI_FLASH_ROM_DRIVER_PATCH 1

define CONFIG_SPI_FLASH_DANGEROUS_WRITE_ABORTS 1

define CONFIG_SPI_FLASH_YIELD_DURING_ERASE 1

define CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS 20

define CONFIG_SPI_FLASH_ERASE_YIELD_TICKS 1

define CONFIG_SPI_FLASH_WRITE_CHUNK_SIZE 8192

define CONFIG_SPI_FLASH_BROWNOUT_RESET_XMC 1

define CONFIG_SPI_FLASH_BROWNOUT_RESET 1

define CONFIG_SPI_FLASH_SUPPORT_ISSI_CHIP 1

define CONFIG_SPI_FLASH_SUPPORT_MXIC_CHIP 1

define CONFIG_SPI_FLASH_SUPPORT_GD_CHIP 1

define CONFIG_SPI_FLASH_SUPPORT_WINBOND_CHIP 1

define CONFIG_SPI_FLASH_ENABLE_ENCRYPTED_READ_WRITE 1

define CONFIG_SPIFFS_MAX_PARTITIONS 3

define CONFIG_SPIFFS_CACHE 1

define CONFIG_SPIFFS_CACHE_WR 1

define CONFIG_SPIFFS_PAGE_CHECK 1

define CONFIG_SPIFFS_GC_MAX_RUNS 10

define CONFIG_SPIFFS_PAGE_SIZE 256

define CONFIG_SPIFFS_OBJ_NAME_LEN 32

define CONFIG_SPIFFS_USE_MAGIC 1

define CONFIG_SPIFFS_USE_MAGIC_LENGTH 1

define CONFIG_SPIFFS_META_LENGTH 4

define CONFIG_SPIFFS_USE_MTIME 1

define CONFIG_WS_TRANSPORT 1

define CONFIG_WS_BUFFER_SIZE 1024

define CONFIG_UNITY_ENABLE_FLOAT 1

define CONFIG_UNITY_ENABLE_DOUBLE 1

define CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER 1

define CONFIG_VFS_SUPPORT_IO 1

define CONFIG_VFS_SUPPORT_DIR 1

define CONFIG_VFS_SUPPORT_SELECT 1

define CONFIG_VFS_SUPPRESS_SELECT_DEBUG_OUTPUT 1

define CONFIG_VFS_SUPPORT_TERMIOS 1

define CONFIG_VFS_SEMIHOSTFS_MAX_MOUNT_POINTS 1

define CONFIG_WL_SECTOR_SIZE_4096 1

define CONFIG_WL_SECTOR_SIZE 4096

define CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES 16

define CONFIG_WIFI_PROV_AUTOSTOP_TIMEOUT 30

define CONFIG_WIFI_PROV_BLE_BONDING 1

define CONFIG_WIFI_PROV_BLE_SEC_CONN 1

define CONFIG_WIFI_PROV_STA_ALL_CHANNEL_SCAN 1

define CONFIG_WPA_MBEDTLS_CRYPTO 1

define CONFIG_WPA_MBEDTLS_TLS_CLIENT 1

define CONFIG_BRIDGE_ENABLE 1

define CONFIG_BRIDGE_EXTERNAL_NETIF_STATION 1

define CONFIG_BRIDGE_DATA_FORWARDING_NETIF_ETHERNET 1

define CONFIG_BRIDGE_GPIO_RANGE_MIN 0

define CONFIG_BRIDGE_GPIO_RANGE_MAX 33

define CONFIG_BRIDGE_USE_SPI_ETHERNET 1

define CONFIG_BRIDGE_ETH_SPI_HOST 1

define CONFIG_BRIDGE_ETH_SPI_SCLK_GPIO 14

define CONFIG_BRIDGE_ETH_SPI_MOSI_GPIO 13

define CONFIG_BRIDGE_ETH_SPI_MISO_GPIO 12

define CONFIG_BRIDGE_ETH_SPI_CLOCK_MHZ 12

define CONFIG_BRIDGE_ETH_SPI_CS0_GPIO 15

define CONFIG_BRIDGE_ETH_SPI_INT0_GPIO 4

define CONFIG_BRIDGE_ETH_SPI_PHY_RST0_GPIO -1

define CONFIG_BRIDGE_ETH_SPI_PHY_ADDR0 1

define CONFIG_BUTTON_PERIOD_TIME_MS 5

define CONFIG_BUTTON_DEBOUNCE_TICKS 2

define CONFIG_BUTTON_SHORT_PRESS_TIME_MS 180

define CONFIG_BUTTON_LONG_PRESS_TIME_MS 1500

define CONFIG_BUTTON_SERIAL_TIME_MS 20

define CONFIG_ADC_BUTTON_MAX_CHANNEL 3

define CONFIG_ADC_BUTTON_MAX_BUTTON_PER_CHANNEL 8

define CONFIG_ADC_BUTTON_SAMPLE_TIMES 1

define CONFIG_CU_DIAGNOSTICS_COLOR_ALWAYS 1

define CONFIG_ESP_MODEM_CMUX_DEFRAGMENT_PAYLOAD 1

define CONFIG_ESP_MODEM_CMUX_DELAY_AFTER_DLCI_SETUP 0

define CONFIG_PROV_TRANSPORT_BLE 1

define CONFIG_PROV_SECURITY_VERSION_2 1

define CONFIG_PROV_SEC2_DEV_MODE 1

define CONFIG_PROV_TRANSPORT 1

define CONFIG_PROV_RESET_PROV_MGR_ON_FAILURE 1

define CONFIG_PROV_MGR_MAX_RETRY_CNT 5

define CONFIG_PROV_SHOW_QR 1

tswen commented 1 year ago

You have selected the Station interface as the external netif, so it will obtain an IP address from the router as a DHCPC after connecting to it. Additionally, you have chosen the Ethernet interface as the data forwarding netif, so it will act as a DHCPS with the default IP subnet of 192.168.4.1. When an Ethernet device is connected to the ESP32, it will assign an IP address to the external device.

XLapAcme commented 1 year ago

I see!

I had hoped that the DHCP server from the wifi would assign an IP to the ETH interface too. I actually want my device on the wifi and the eth to be on the same subnet since my other eth connected device need a DHCP server to assign IP. I tought the bridge would just foward packet from both side transparantly. I guess it's not the case.

Now that I think about it what I need is a layer 1 agnostic network switch. I don't even know if that's possible....

tswen commented 1 year ago

Perhaps you can modify the eth2ap demo to achieve transparent data transmission between the STA and ETH interfaces.

XLapAcme commented 1 year ago

I ended up buying a ready made eth/wifi bridge from Amazon for 30 buck instead. I don't think I have a deep enough understanding of ESP developpement to figure it out in a timely manner. Thanks anyway!

Also, for anyone reading this in the future, WT32-eth01 is not a great choice of board. information is really hard to find online and it isn't compatible with a bunch of library.

kiwihanshorst commented 1 year ago

I found the subject discussed very interesting and am wondering if this is also an answer on what I want to do. Can someone please let me know if it is. Here is my situation: I have an controller with an ethernet port, but do not have an ethernet connection locally available. I do however have wifi coverage. So my thought was to use the WT32-ETH01 module to connect to the available wifi and use the ethernet connection to connect my controller to the internet. Possible?

tswen commented 1 year ago

Using the wifi_router example can solve your needs: https://github.com/espressif/esp-iot-bridge/tree/master/examples/wifi_router

kiwihanshorst commented 1 year ago

Thanks, will have a look at it!

dheckl commented 3 months ago

I try to get eth2ap running with WT32-ETH01, but I get "WiFi send packet failed: 12309" error. I already tried to set higher timeouts and queue size, but it didn't solved the issue. Has anyone got this running on the board?

tswen commented 3 months ago

https://github.com/espressif/esp-idf/tree/master/examples/network/eth2ap#troubleshooting

dheckl commented 3 months ago

I followed the troubleshooting steps and increased sending timeout as well queue size. Both have not changed anything.

Btw, the mentioned variable FLOW_CONTROL_WIFI_SEND_DELAY_MS isn't existing any more, it is now FLOW_CONTROL_WIFI_SEND_TIMEOUT_MS. That's why I mentioned "timeout".

dheckl commented 3 months ago

eth2ap still not working on my side, but tried https://github.com/espressif/esp-idf/tree/release/v5.2/examples/network/bridge and it works perfectly.