# TWELITE NET ライブラリ構造

ユーザアプリケーションは TWELITE NET (TWENET) のライブラリおよびペリフェラルAPIを介して無線モジュールを制御します。TWELITE NET のライブラリは３つに分かれています。

![TWENET ライブラリ構造](/files/-LAvfr-VXP8W-5ZubS2o)

### libTWENET\_{ARCH}.a

アプリケーションループの定義、イベント処理、無線ネットワーク処理など

### libTWENETExt\_{ARCH}.a

始動処理、MAC層へのインタフェースなど

### libTWENETUtils\_{ARCH}.a

一般的なアルゴリズムやペリフェラルの手続きなど

*（ソース添付：MWSDK/TWENET/????/TWENETUtils/Source : ????にはライブラリバージョンに相当するフォルダ名が入ります）*

{% hint style="info" %}
{ARCH} は、TWELITE のモデル名が入ります。BLUE, REDなど。
{% 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/twelite-net-api-expl/twelite-net-raiburari.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.
