Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
17deb9f895 |
@ -121,6 +121,13 @@ extern "C"
|
|||||||
*/
|
*/
|
||||||
void zh_espnow_reset_stats(void);
|
void zh_espnow_reset_stats(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Check ESP-NOW initialization status.
|
||||||
|
*
|
||||||
|
* @return true if ESP-NOW is initialized false otherwise.
|
||||||
|
*/
|
||||||
|
bool zh_espnow_is_initialized(void);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
@ -1 +1 @@
|
|||||||
1.2.0
|
1.3.0
|
@ -516,4 +516,9 @@ void zh_espnow_reset_stats(void)
|
|||||||
_stats.sent_fail = 0;
|
_stats.sent_fail = 0;
|
||||||
_stats.received = 0;
|
_stats.received = 0;
|
||||||
ZH_ESPNOW_LOGI("ESP-NOW statistic reset successfully.");
|
ZH_ESPNOW_LOGI("ESP-NOW statistic reset successfully.");
|
||||||
|
}
|
||||||
|
|
||||||
|
bool zh_espnow_is_initialized(void)
|
||||||
|
{
|
||||||
|
return _is_initialized;
|
||||||
}
|
}
|
Reference in New Issue
Block a user