mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 20:21:04 +00:00
mesh: modify parent switch mechanism
1. modify parent switch mechanism. 2. fix non-root doesn't clear the layer value in nvs. 3. fix retransmit the remove announcement packets. 4. add API esp_mesh_flush_upstream_packets(). 5. automatically adjust passsive scan time based on the change of beacon interval.
This commit is contained in:
@@ -1312,6 +1312,14 @@ esp_err_t esp_mesh_scan_get_ap_ie_len(int *len);
|
||||
*/
|
||||
esp_err_t esp_mesh_scan_get_ap_record(wifi_ap_record_t *ap_record, void *buffer);
|
||||
|
||||
/**
|
||||
* @brief flush upstream packets pending in to_parent queue and to_parent_p2p queue
|
||||
*
|
||||
* @return
|
||||
* - ESP_OK
|
||||
*/
|
||||
esp_err_t esp_mesh_flush_upstream_packets(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user