-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Description
Checklist
- Checked the issue tracker for similar issues to ensure this is not a duplicate
- Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
- Tested with the latest version to ensure the issue hasn't been fixed
How often does this bug occurs?
always
Expected behavior
Warning message should not appear.
Actual behavior (suspected bug)
When trying to compile any example of the esp-iot-bridge component library, the compiler outputs the following warning message:
warning: the int symbol BRIDGE_SOFTAP_MAX_CONNECT_NUMBER (defined at /data/VSCodeProjects/wifi_router_test/managed_components/espressif__iot_bridge/Kconfig:108) has a non-int default BRIDGE_CUSTOM_MAX_CONNECT_NUMBER (undefined)
This is the sdkconfig part related to the esp-iot-bridge configuration (no changes have been made to the default config provided with example).
#
# Bridge Configuration
#
CONFIG_BRIDGE_ENABLE=y
CONFIG_BRIDGE_WIFI_PMF_DISABLE=y
CONFIG_BRIDGE_ETHERNET_NETIF_ENABLE=y
# CONFIG_BRIDGE_NETIF_ETHERNET_AUTO_WAN_OR_LAN is not set
#
# The interface used to connect to the external network
#
CONFIG_BRIDGE_EXTERNAL_NETIF_STATION=y
# CONFIG_BRIDGE_STATION_CANCEL_AUTO_CONNECT_WHEN_DISCONNECTED is not set
# CONFIG_BRIDGE_EXTERNAL_NETIF_MODEM is not set
# CONFIG_BRIDGE_EXTERNAL_NETIF_ETHERNET is not set
# CONFIG_BRIDGE_EXTERNAL_NETIF_SPI is not set
# end of The interface used to connect to the external network
#
# The interface used to provide network data forwarding for other devices
#
CONFIG_BRIDGE_DATA_FORWARDING_NETIF_SOFTAP=y
#
# SoftAP Config
#
CONFIG_BRIDGE_SOFTAP_SSID="ESP_Bridge"
CONFIG_BRIDGE_SOFTAP_PASSWORD="12345678"
CONFIG_BRIDGE_SOFTAP_SSID_END_WITH_THE_MAC=y
CONFIG_BRIDGE_SOFTAP_CONNECT_NUMBER_RANGE_MAX=15
CONFIG_BRIDGE_SOFTAP_MAX_CONNECT_NUMBER=6
# end of SoftAP Config
# CONFIG_BRIDGE_DATA_FORWARDING_NETIF_USB is not set
# CONFIG_BRIDGE_DATA_FORWARDING_NETIF_ETHERNET is not set
# CONFIG_BRIDGE_DATA_FORWARDING_NETIF_SPI is not set
# end of The interface used to provide network data forwarding for other devices
#
# ESP-IoT-Bridge Netif DNS Server Config
#
CONFIG_BRIDGE_STATIC_DNS_SERVER_MAIN="114.114.114.114"
CONFIG_BRIDGE_STATIC_DNS_SERVER_BACKUP="8.8.8.8"
# end of ESP-IoT-Bridge Netif DNS Server Config
CONFIG_BRIDGE_GPIO_RANGE_MIN=0
CONFIG_BRIDGE_GPIO_RANGE_MAX=48
#
# ETH Configuration
#
CONFIG_BRIDGE_USE_SPI_ETHERNET=y
CONFIG_BRIDGE_ETH_SPI_HOST=1
CONFIG_BRIDGE_ETH_SPI_SCLK_GPIO=12
CONFIG_BRIDGE_ETH_SPI_MOSI_GPIO=11
CONFIG_BRIDGE_ETH_SPI_MISO_GPIO=13
CONFIG_BRIDGE_ETH_SPI_CLOCK_MHZ=16
CONFIG_BRIDGE_ETH_SPI_CS0_GPIO=10
CONFIG_BRIDGE_ETH_SPI_INT0_GPIO=4
CONFIG_BRIDGE_ETH_SPI_PHY_RST0_GPIO=-1
CONFIG_BRIDGE_ETH_SPI_PHY_ADDR0=1
# end of ETH Configuration
#
# Bridge NAPT configuration
#
CONFIG_BRIDGE_IP_NAPT_SIZE=512
CONFIG_BRIDGE_IP_NAPT_TIMEOUT_MS_TCP=300000
# end of Bridge NAPT configuration
# end of Bridge Configuration
#
# Bridge Wi-Fi Provisioning Configuration
#
CONFIG_PROV_TRANSPORT_BLE=y
# CONFIG_PROV_SECURITY_VERSION_1 is not set
CONFIG_PROV_SECURITY_VERSION_2=y
CONFIG_PROV_SEC2_DEV_MODE=y
# CONFIG_PROV_SEC2_PROD_MODE is not set
CONFIG_PROV_TRANSPORT=1
# CONFIG_PROV_RESET_PROVISIONED is not set
CONFIG_PROV_RESET_PROV_MGR_ON_FAILURE=y
CONFIG_PROV_MGR_MAX_RETRY_CNT=5
CONFIG_PROV_SHOW_QR=y
# end of Bridge Wi-Fi Provisioning Configuration
# end of Component config
Error logs or terminal output
Steps to reproduce the behavior
The test setup is the following:
- esp-idf v5.5.1
- esp-iot-bridge v1.0.1
- example used: wifi_router
Project release version
1.0.1
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Linux
Operating system version
Ubuntu 22.04
Shell
ZSH
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels