mesh: support for chain topology

This commit is contained in:
shenjun
2021-03-16 14:17:13 +08:00
parent 9a2d251912
commit 1d778c941c

View File

@@ -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
*/