ESP-IDF + 0/1 examples
SourceVu will show references to mesh_assoc_t from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
uint8_t
element ID, vendor specific, 221.
uint8_t
element length, the length after this member.
uint8_t[3]
organization identifier, 0x18fe34.
uint8_t
ESP defined IE type, include Assoc IE, SSID IE, Ext Assoc IE, Roots IE, etc.
uint8_t : 1
whether mesh networking IE is encrypted.
uint8_t : 7
mesh networking IE version, equal to 2 if mesh PS is enabled, equal to 1 otherwise content.
uint8_t
mesh device type, include idle, root, node, etc, refer to mesh_type_t.
uint8_t[6]
mesh ID, only the same mesh id can form a unified mesh network.
uint8_t
layer_cap = max_layer - layer, indicates the number of remaining available layers of the mesh network.
uint8_t
the current layer of this node.
uint8_t
the maximum connections of this mesh AP.
uint8_t
current connections of this mesh AP.
uint8_t
the maximum number of leaves in the mesh network.
uint8_t
the number of current connected leaves.
uint16_t
the capacity of the root, equal to the total child numbers plus 1, root node updates root_cap and self_cap.
uint16_t
the capacity of myself, total child numbers plus 1, all nodes update this member.
uint16_t
the capacity of layer2 node, total child numbers plus 1, layer2 node updates layer2_cap and self_cap, root sets this to 0.
uint16_t
the number of mesh APs around.
int8_t
RSSI of the connected parent, default value is -120, root node will not update this.
int8_t
RSSI of the router, default value is -120.
uint8_t
flag of networking, indicates the status of the network, refer to MESH_ASSOC_FLAG_XXX vote related.
uint8_t[6]
the address of the root candidate, i.e. the voted addesss before connection, root node will update this with self address.
int8_t
the router RSSI of the root candidate.
uint8_t[6]
the voted address after connection.
int8_t
the router RSSI of the voted address.
uint8_t
vote ttl, indicate the voting is from myself or from other nodes.
uint16_t
the number of all voting nodes.
uint16_t
the number of nodes that voted for me.
uint8_t
the reason why the voting happens, root initiated or child initiated, refer to mesh_vote_reason_t.
uint8_t[6]
child address, not used currently.
uint8_t
state represents whether the root is able to access external IP network.

References

from examples