ESP‑NOW — is there new data? (esp_now_data_check)¶
What it does: Returns True if there is a new receive message ready in the ESP‑NOW queue.

Inputs¶
- No data inputs.
Output¶
- Boolean:
True/False.
When to use it¶
- As a condition before reading the message by block
esp_now_new_data. - In a periodic loop where you don't want to block the program.
Tips and pitfalls¶
- This block does not read data, only checks availability.
- Follow
Trueimmediately by reading, otherwise the queue may be delayed.
Generated Python example¶
has_new = (espnow_instance.any() == True)