Static relay with fixed host address
This is a method of static relaying with a fixed upper address in a LayerTree network.
Set the members of the tsNwkLayerTreeConfig structure as follows.
1
sNwkLayerTreeConfig.u8StartOpt =
2
TOCONET_MOD_LAYERTREE_STARTOPT_FIXED_PARENT;
3
// Do not scan at the start
4
5
sNwkLayerTreeConfig.u8ResumeOpt =
6
TOCONET_MOD_LAYERTREE_RESUMEOPT_NO_RELOCATE_ON_RESUME;
7
// Operate a fixed parent unit even when resuming
8
9
sNwkLayerTreeConfig.u32AddrHigherLayer = 0x80012345;
10
// The node at 0x80012345 is the superior node.
11
Copied!
If NB BEACON (TOCONET_MOD_LAYERTREE_STARTOPT_NB_BEACON) is specified, the fixed configuration address is enabled only when the NB beacon cannot determine the upper level.
リンクのコピー