# TWELITE NET library structure

The user application controls the radio module via the TWELITE NET (TWENET) library and peripheral APIs. the TWELITE NET library is divided into three parts.

![fig. TWENET library stack (ペリフェラル=Peripherals, ユーザアプリケーション=user applications)](/files/-LAvfr-VXP8W-5ZubS2o)

### libTWENET\_{ARCH}.a

Application loop definition, event handling, wireless network handling, etc.

### libTWENETExt\_{ARCH}.a

Starting process, interface to MAC layer, etc.

### libTWENETUtils\_{ARCH}.a

General algorithms and procedures for peripherals.

(The source is provided in the SDK: `MWSDK/TWENET/???? /TWENETUtils/Source`, where"????" is the name of the folder corresponding to the library version)

{% hint style="info" %}
`{ARCH}` is the name of the TWELITE model, e.g. `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/en/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.
