Bladeren bron

Merge branch 'mesh/support_for_chain_topology' into 'master'

mesh: support for chain topology

See merge request espressif/esp-idf!12759
Jiang Jiang Jian 5 jaren geleden
bovenliggende
commit
e5ffac739f
1 gewijzigde bestanden met toevoegingen van 10 en 0 verwijderingen
  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 */
     uint8_t toDS;            /**< toDS state */
 } __attribute__((packed)) mesh_assoc_t;
 } __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
  * @brief Mesh PS duties
  */
  */