Просмотр исходного кода

esp_wifi_mesh: update wifi mesh libs

1. Fix FIX-ROOT does not reconnect to router when disconnect reason is too many
2. Add API esp_mesh_print_scan_result
3. Modify not to reset mesh_xonseq of self and children when flush_upstream_packets
4. Fix not switch to a parent candidate which has the same layer and assoc as current parent
5. Fix not arm parent monitor when a parent candidate is cleared without sending an event to mesh layer
6. Fix the new voted root does not reconnect to router if rssi is weak
shenjun 5 лет назад
Родитель
Сommit
a281b667bb

+ 10 - 0
components/esp_wifi/include/esp_mesh_internal.h

@@ -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
components/esp_wifi/lib

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

+ 9 - 0
components/esp_wifi/src/lib_printf.c

@@ -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;
+}