# 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)](https://382916112-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LApFq98GrqkjGMpByJw%2F-LAvfm_xU0Ww6-Y4yDmt%2F-LAvfr-VXP8W-5ZubS2o%2Fimage.png?alt=media\&token=a1520e7a-2ce1-42f1-9c97-59a30eb72174)

### 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 %}
