> For the complete documentation index, see [llms.txt](https://sdk.twelite.info/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.twelite.info/en/twelite-net-api-ref/netto-api/layertree-netto/tstoconet_nwklytr_context.md).

# tsToCoNet\_NwkLyTr\_Context

[`ToCoNet_NwkLyTr_psConfig()`](/en/twelite-net-api-ref/netto-api/layertree-netto/toconet_nwklytr_psconfig.md) のパラメータとして LayterTree ネットワークを設定します。本構造体はローカル変数で確保しても構いません。

| 定義名                                       | 解説                                                                                                                                                 |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| `tsToCoNet_Nwk_Context_\ Base_Info sInfo` | ネットワーク情報の共通構造体。                                                                                                                                    |
| `tsToCoNet_NwkLyTr_Config sConf`          | 設定情報です。[`ToCoNet_NwkLyTr_psConfig()`](/en/twelite-net-api-ref/netto-api/layertree-netto/toconet_nwklytr_psconfig.md) による設定が行われたときに、規定値の展開などが行われます。 |
| `uint32 u32AddrHigherLayer`               | 接続先の上位ノードのアドレス                                                                                                                                     |
| `uint8 u8Ct_Second_To_Rescan`             | 上位を再探索するまでのカウント \[秒]                                                                                                                               |
| `uint8 u8Ct_Second_To_Relocate`           | 上位の存在確認を行うまでのカウント \[秒]                                                                                                                             |
| `uint8 u8Ct_LostParent`                   | 上位の存在確認の失敗数カウント （この値が規定回数まで達すると上位喪失として、再探索が行われる）                                                                                                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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-ref/netto-api/layertree-netto/tstoconet_nwklytr_context.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.
