esp_mesh_send() blocking time question

VitorBFreitas
Posts: 2
Joined: Thu Jun 22, 2023 2:59 pm

esp_mesh_send() blocking time question

Postby VitorBFreitas » Thu Jun 22, 2023 3:05 pm

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.

greg-solargik
Posts: 13
Joined: Wed Aug 04, 2021 8:45 am

Re: esp_mesh_send() blocking time question

Postby greg-solargik » Tue Apr 22, 2025 1:12 pm

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

Postby nopnop2002 » Fri Apr 25, 2025 3:36 pm

This is all I know.

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: ChatGPT-User, PerplexityBot, PetalBot, Semrush [Bot] and 5 guests