Skip to content

Commit

Permalink
Update proj.cof
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffMboya committed Jan 12, 2025
1 parent 3036a91 commit 5ae3968
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions embed-proplet/prj.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CONFIG_PRINTK=y
CONFIG_LOG=y
CONFIG_LOG_BUFFER_SIZE=8096
CONFIG_LOG_MODE_IMMEDIATE=y
CONFIG_LOG_DEFAULT_LEVEL=3
CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_THREAD_RUNTIME_STATS=y

CONFIG_JSON_LIBRARY=y
Expand All @@ -42,6 +42,7 @@ CONFIG_ENTROPY_GENERATOR=y

CONFIG_NET_CONFIG_AUTO_INIT=n
CONFIG_NET_CONNECTION_MANAGER=y
CONFIG_NET_CONNECTION_MANAGER_MONITOR_STACK_SIZE=4096
CONFIG_NET_DHCPV4_SERVER=y
CONFIG_NET_IF_MAX_IPV4_COUNT=2
CONFIG_NET_IF_MAX_IPV6_COUNT=2
Expand All @@ -65,4 +66,7 @@ CONFIG_ESP32_WIFI_STA_AUTO_DHCPV4=y
CONFIG_ESP32_WIFI_AP_STA_MODE=n
CONFIG_WIFI_NM=y
CONFIG_WIFI=y
CONFIG_WIFI_NM_MAX_MANAGED_INTERFACES=1
CONFIG_WIFI_NM_MAX_MANAGED_INTERFACES=1
CONFIG_ESP32_WIFI_STA_RECONNECT=y
CONFIG_WIFI_LOG_LEVEL_DBG=y
CONFIG_ESP32_WIFI_DEBUG_PRINT=y
3 changes: 2 additions & 1 deletion embed-proplet/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ static int wifi_connect(void)
.ssid_length = strlen(CONFIG_WIFI_CREDENTIALS_STATIC_SSID),
.psk = CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD,
.psk_length = strlen(CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD),
.channel = WIFI_CHANNEL_ANY,
.channel = 6,
.band = WIFI_FREQ_BAND_2_4_GHZ,
.security = WIFI_SECURITY_TYPE_PSK,
};

Expand Down

0 comments on commit 5ae3968

Please sign in to comment.