Comments (3)
Hi @TiDiChi ,
This warning print Haven't to connect to a suitable AP now!
is displayed when esp_wifi_sta_get_ap_info(wifi_ap_record_t *ap_info) is called before esp_wifi_connect(void).
You can ignore this message as application (esp-insights
in this case) uses this API just to check whether station is connected to Wi-Fi or not.
cc: @vikramdattu
from esp-insights.
Hi @TiDiChi ,
This warning print
Haven't to connect to a suitable AP now!
is displayed when esp_wifi_sta_get_ap_info(wifi_ap_record_t *ap_info) is called before esp_wifi_connect(void).You can ignore this message as application (
esp-insights
in this case) uses this API just to check whether station is connected to Wi-Fi or not.cc: @vikramdattu
Thank you very much. I did it and this spam did not appear!
from esp-insights.
@TiDiChi if you're using interface other than Wi-Fi, it is better to use the netif
APIs to query if that particular interface is connected or not. That would be much cleaner.
e.g., for ethernet
esp_netif_t *esp_netif = esp_netif_get_handle_from_ifkey("ETH_DEF"); // ethernet handle
if (esp_netif_is_netif_up(esp_netif) && esp_netif_get_ip_info(esp_netif, &ip_info) == ESP_OK) {
// Do your stuff here
}
Do check esp_netif.h
.
from esp-insights.
Related Issues (20)
- Issues regarding migrating ESP-Insights from idf-V4.4 to idf-V5.0 HOT 3
- Breaking backwards compatible change `log_printfv` HOT 1
- ESP Insights examples (https case)- No logs in Dashboard HOT 6
- ESP Insights - MQTT case - No Error, Warning and Event logs in Dashboard. HOT 5
- Can't get crash stack info. HOT 1
- How to change node id HOT 2
- Reboot Reset Reason HOT 4
- Custom metrics demo HOT 4
- How to wait for Esp Insights data to finish sending? HOT 5
- Cannot login from CLI with password HOT 1
- Upload firmware package .zip with API? HOT 1
- Firmware Image Uploaded not Resolving String Information in Error Messages HOT 10
- Getting an Invalid Chip in Esp Insights Dashboard HOT 7
- projbuild_gitconfig.py fails due to the empty _CMAKE_TOOLCHAIN_PREFIX argument HOT 4
- ESP Insights simultaneous HTTP request error HOT 2
- eFuse error when running on qemu-system-riscv32 HOT 4
- Missing menu point ESP-INSIGHTS HOT 4
- We could not find the firmware image to cross-reference this log entry. Please upload a firmware image to get cross-referenced information for this log entry. HOT 2
- Problem finding where the reset happened in the code with ESP-Insights HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp-insights.