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

Merge branch 'mesh/support_for_chain_topology' into 'master'

mesh: support for chain topology

See merge request espressif/esp-idf!12759
Jiang Jiang Jian 4 лет назад
Родитель
Сommit
e5ffac739f
1 измененных файлов с 10 добавлено и 0 удалено
  1. 10 0
      components/esp_wifi/include/esp_mesh_internal.h

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

@@ -97,6 +97,16 @@ typedef struct {
     uint8_t toDS;            /**< toDS state */
 } __attribute__((packed)) mesh_assoc_t;
 
+typedef struct {
+    uint16_t layer_cap;
+    uint16_t layer;
+} mesh_chain_layer_t;
+
+typedef struct {
+    mesh_assoc_t tree;
+    mesh_chain_layer_t chain;
+} __attribute__((packed)) mesh_chain_assoc_t;
+
 /**
  * @brief Mesh PS duties
  */