}
}
DEBUG_LOGI(UART, TAG, "FLAG IS %d",wifi_init_flag);
if (status == nlg_success) {
wifi_mode_t mode;
if (esp_wifi_get_mode(&mode) == nlg_success) {
DEBUG_LOGI(UART, TAG,"wifi mode success! inside wifi_get_config %d\r\n", mode);
conf->mode = mode;
switch (mode) {
case WIFI_MODE_NULL:
DEBUG_LOGD(UART, TAG, "WiFi NULL Mode");
break;
case WIFI_MODE_STA:
if (get_sta_configuration(&sta_config, conf)) {
DEBUG_LOGE(UART, TAG, "WiFi STA mode config get failed");
status = nlg_fail;
}
break;
case WIFI_MODE_AP:
if (get_ap_configuration(&ap_config, conf)) {
above is the piece of the code.
but i can find the declaration of these api calls, and in call hierarchy i can find the function declaration but could not reach up to function definition please help as soon as possible
the header file for these api is esp_wifi.h
idf_4.4/component/esp-wifi/esp_wifi.h
can not find the function definition esp_wifi_connect(), esp_wifi_init(),wifi_get_config(), get_mode(); etc
-
- Posts: 44
- Joined: Fri May 13, 2022 12:36 pm
Who is online
Users browsing this forum: No registered users and 91 guests