# 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.

```c
sNwkLayerTreeConfig.u8StartOpt = 
    TOCONET_MOD_LAYERTREE_STARTOPT_FIXED_PARENT;
            // Do not scan at the start

sNwkLayerTreeConfig.u8ResumeOpt = 
    TOCONET_MOD_LAYERTREE_RESUMEOPT_NO_RELOCATE_ON_RESUME;			
            // Operate a fixed parent unit even when resuming

sNwkLayerTreeConfig.u32AddrHigherLayer = 0x80012345;
            // The node at 0x80012345 is the superior node.

```

{% hint style="warning" %}
If [NB BEACON](broken://pages/-LCXwQyCwqKDzhUii2wj) (`TOCONET_MOD_LAYERTREE_STARTOPT_NB_BEACON`) is specified, the fixed configuration address is enabled only when the NB beacon cannot determine the upper level.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.twelite.info/en/twelite-net-api-expl/nettowkunitsuite/netto-1/adoresuwoshita.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
