softAP_sta example problem

asma-moh
Posts: 4
Joined: Sat Aug 12, 2023 8:09 am

softAP_sta example problem

Postby asma-moh » Sun Oct 29, 2023 4:51 pm

Hi,
I am setting up the softAP_sta example from the esp-idf on GitHub, but I cannot have both modes simultaneously. When I only initialize the ssid and pass variables for the station mode or only initialize the ssid and pass variables for the AP mode, the code works and I can see that it performs additional tasks in the logs.

However, when I initialize both variables simultaneously, I can no longer use either of its parts, and the logs do not write anything beyond the return app_main part.

Code: Select all

/* STA Configuration */
#define EXAMPLE_ESP_WIFI_STA_SSID           CONFIG_ESP_WIFI_REMOTE_AP_SSID
#define EXAMPLE_ESP_WIFI_STA_PASSWD         CONFIG_ESP_WIFI_REMOTE_AP_PASSWORD

/* AP Configuration */
#define EXAMPLE_ESP_WIFI_AP_SSID            "test"
#define EXAMPLE_ESP_WIFI_AP_PASSWD          "test1234"

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 88 guests