mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 20:21:04 +00:00
mesh: update mesh libs
1. rename example internal_transceiver to internal_communication 2. bugfix 3. Closes https://github.com/espressif/esp-idf/issues/2014
This commit is contained in:
@@ -936,7 +936,7 @@ bool esp_mesh_get_self_organized(void);
|
||||
* be expected to find to replace the current one.
|
||||
* If no desired root candidate, the vote will try a specified attempts(at least 10 times), if no better
|
||||
* root candidate is found, keep the current one. If a better candidate is found, the new better one will
|
||||
* send a root switch request to the current root, current root will respond with a root switch acknowledgement.
|
||||
* send a root switch request to the current root, current root will respond with a root switch acknowledgment.
|
||||
* After that, the new candidate will connect to the router to be a new root, the previous root will disconnect
|
||||
* with the router and choose another parent instead.
|
||||
* So far, root switch is completed with minimal disruption to the whole mesh network.
|
||||
@@ -951,6 +951,8 @@ bool esp_mesh_get_self_organized(void);
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK
|
||||
* - ESP_ERR_MESH_QUEUE_FULL
|
||||
* - ESP_ERR_MESH_DISCARD
|
||||
* - ESP_FAIL
|
||||
*/
|
||||
esp_err_t esp_mesh_waive_root(const mesh_vote_t *vote, int reason);
|
||||
|
Reference in New Issue
Block a user