Merge branch 'mesh/bugfix_1023_backport_v4.1' into 'release/v4.1'

esp_wifi_mesh: update wifi mesh libs(Backport v4.1)

See merge request espressif/esp-idf!11080
This commit is contained in:
Jiang Jiang Jian 2020-11-04 22:49:47 +08:00
commit c8289caa23
3 changed files with 20 additions and 1 deletions

View File

@ -263,6 +263,16 @@ esp_err_t esp_mesh_set_announce_interval(int short_ms, int long_ms);
*/
esp_err_t esp_mesh_get_announce_interval(int *short_ms, int *long_ms);
/**
* @brief Enable mesh print scan result
*
* @param[in] enable enable or not
*
* @return
* - ESP_OK
*/
esp_err_t esp_mesh_print_scan_result(bool enable);
#ifdef __cplusplus
}
#endif

@ -1 +1 @@
Subproject commit cd908c78bd4f83750ac97288953c125e31234334
Subproject commit da6d014dfe37e3537dd85ea7ee7cdb32929b1472

View File

@ -137,3 +137,12 @@ int coexist_printf(const char* format, ...)
va_end(arg);
return res;
}
int mesh_printf(const char* format, ...)
{
va_list arg;
va_start(arg, format);
int res = lib_printf("mesh", format, arg);
va_end(arg);
return res;
}