Can someone explain to me what exactly this API esp_mesh_send_block_time() do? It's define a timeout waiting some kind of ACK, blocking caller during this time?
I believe it's necessary understand what it does to define a block time that makes sense. I couldn't find a good explanation anywhere.
If someone know more about it, please share here.
esp_mesh_send() blocking time question
-
greg-solargik
- Posts: 13
- Joined: Wed Aug 04, 2021 8:45 am
Re: esp_mesh_send() blocking time question
Did you manage to get an answer to this? We are struggling with the same situation, in addition we see that there are cases in which the method doesn't respect the timeout you set anyway...
-
nopnop2002
- Posts: 347
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: esp_mesh_send() blocking time question
This is all I know.
from components/esp_wifi/include/esp_mesh.h
from components/esp_wifi/include/esp_mesh.h
/**
* @brief Set blocking time of esp_mesh_send()
* - Suggest to set the blocking time to at least 5s when the environment is poor. Otherwise, esp_mesh_send() may timeout frequently.
*
* @attention This API shall be called before mesh is started.
*
* @param[in] time_ms blocking time of esp_mesh_send(), unit:ms
*
* @return
* - ESP_OK
*/
Who is online
Users browsing this forum: Baidu [Spider], Qwantbot and 3 guests