Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(network_provisioning): Consider WIFI_REMOTE for provisioning (IEC-260) #470

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion network_provisioning/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(srcs "src/network_config.c"
"proto-c/network_ctrl.pb-c.c"
"proto-c/network_constants.pb-c.c")

if(CONFIG_ESP_WIFI_ENABLED AND CONFIG_ESP_WIFI_SOFTAP_SUPPORT)
if((CONFIG_ESP_WIFI_ENABLED OR CONFIG_ESP_WIFI_REMOTE_ENABLED) AND CONFIG_ESP_WIFI_SOFTAP_SUPPORT)
list(APPEND srcs "src/scheme_softap.c")
endif()

Expand Down
4 changes: 2 additions & 2 deletions network_provisioning/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ menu "Network Provisioning Manager"

choice NETWORK_PROV_NETWORK_TYPE
prompt "Network Type"
default NETWORK_PROV_NETWORK_TYPE_WIFI if ESP_WIFI_ENABLED
default NETWORK_PROV_NETWORK_TYPE_WIFI if (ESP_WIFI_ENABLED || ESP_WIFI_REMOTE_ENABLED)
default NETWORK_PROV_NETWORK_TYPE_THREAD if !ESP_WIFI_ENABLE && OPENTHREAD_ENABLED

config NETWORK_PROV_NETWORK_TYPE_WIFI
bool "Network Type - Wi-Fi"
depends on ESP_WIFI_ENABLED
depends on ESP_WIFI_ENABLED || ESP_WIFI_REMOTE_ENABLED

config NETWORK_PROV_NETWORK_TYPE_THREAD
bool "Network Type - Thread"
Expand Down
2 changes: 1 addition & 1 deletion network_provisioning/idf_component.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "1.0.3"
version: "1.0.4"
description: Network provisioning component for Wi-Fi or Thread devices
url: https://github.com/espressif/idf-extra-components/tree/master/network_provisioning
dependencies:
Expand Down
Loading