> For the complete documentation index, see [llms.txt](https://docs.dnt.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dnt.de/dnt-lw-wsci/kommunikationsprotokoll/7.-fuota.md).

# 7. FUOTA

## 7.1.1 Auto Update Installation

{% tabs %}
{% tab title="GET AUTO UPDATE INSTALLATION" %}
Liest aus, ob automatische Update-Installation aktiv ist.

**Downlink**

| Byte | Bit(s) |        Value        |
| :--: | :----: | :-----------------: |
|   0  |   7:0  | `0xF0` (Command ID) |

**Uplink**

<table><thead><tr><th align="center">Byte</th><th width="163.818115234375" align="center">Bit(s)</th><th align="center">Value</th></tr></thead><tbody><tr><td align="center">0</td><td align="center">7:0</td><td align="center"><code>0xF0</code> (Command ID)</td></tr><tr><td align="center">1</td><td align="center">7:1</td><td align="center">Res.</td></tr><tr><td align="center">1</td><td align="center">0</td><td align="center"><code>ID_AUTO_UPDATE_INSTALLATION_EN</code></td></tr></tbody></table>
{% endtab %}

{% tab title="SET AUTO UPDATE INSTALLATION" %}
Aktiviert oder deaktiviert die automatische Update-Installation.

**Beispiel**

```
0xF1 01 = Automatische Update-Installation aktiviert
```

**Downlink**

<table><thead><tr><th width="168" align="center">Byte</th><th width="228" align="center">Bit(s)</th><th align="center">Value</th></tr></thead><tbody><tr><td align="center">0</td><td align="center">7:0</td><td align="center"><code>0xF1</code> (Command ID)</td></tr><tr><td align="center">1</td><td align="center">7:6</td><td align="center">Res.</td></tr><tr><td align="center">1</td><td align="center">7:0</td><td align="center"><code>ID_AUTO_UPDATE_INSTALLATION_EN</code></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

<details>

<summary>ID_AUTO_UPDATE_INSTALLATION_EN</summary>

|   Eigenschaft  |                                        Wert                                       |
| :------------: | :-------------------------------------------------------------------------------: |
|  Beschreibung  | Aktiviert oder deaktiviert die automatische Installation eines geladenen Updates. |
|      Größe     |                                       1 Bit                                       |
|  Wertebereich  |                                        0–1                                        |
|  Standardwert  |                                         1                                         |
| Interpretation |                          `0 = deaktiviert, 1 = aktiviert`                         |
|   Persistent   |                                         Ja                                        |
|     Zugriff    |                                        r/w                                        |

</details>

***

## 7.1.2 Install Pending Update / Get Pending Update Info

{% tabs %}
{% tab title="INSTALL PENDING UPDATE" %}
Startet die Installation einer gültigen Update-Datei.

**Downlink**

|     Byte     | Bit(s) |        Value        |
| :----------: | :----: | :-----------------: |
|       0      |   7:0  | `0xF2` (Command ID) |
| {% endtab %} |        |                     |

{% tab title="GET PENDING UPDATE INFO" %}
Liest Typ und Version einer geladenen Update-Datei aus.

**Downlink**

| Byte | Bit(s) |        Value        |
| :--: | :----: | :-----------------: |
|   0  |   7:0  | `0xF3` (Command ID) |

**Uplink**

|      Byte     | Bit(s) |              Value              |
| :-----------: | :----: | :-----------------------------: |
|       0       |    7   |               Res.              |
|       0       |   6:0  |       `0x73` (Command ID)       |
|       1       |   7:0  |      `ID_UPDATE_IMAGE_TYPE`     |
|       2       |   7:0  |  `ID_VERSION_UPDATE_IMAGE_MAIN` |
|       3       |   7:0  | `ID_VERSION_UPDATE_IMAGE_SUB_1` |
|       4       |   7:0  | `ID_VERSION_UPDATE_IMAGE_SUB_2` |
|  {% endtab %} |        |                                 |
| {% endtabs %} |        |                                 |

<details>

<summary>ID_UPDATE_IMAGE_TYPE</summary>

|   Eigenschaft  |                                                                                                  Wert                                                                                                  |
| :------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|  Beschreibung  |                                                                                     Typ der geladenen Update-Datei                                                                                     |
|      Größe     |                                                                                                  8 Bit                                                                                                 |
|  Wertebereich  |                                                                                                   0–3                                                                                                  |
|  Standardwert  |                                                                                                    -                                                                                                   |
| Interpretation | <p><code>0</code> = UPDATE\_IMAGE\_NOT\_VALID</p><p><code>1</code> = UPDATE\_IMAGE\_APPLICATION</p><p><code>2</code> = UPDATE\_IMAGE\_BOOTLOADER</p><p><code>3</code> = UPDATE\_IMAGE\_COPROCESSOR</p> |

</details>

<details>

<summary>ID_VERSION_UPDATE_IMAGE_MAIN</summary>

|   Eigenschaft  |              Wert             |
| :------------: | :---------------------------: |
|  Beschreibung  | Hauptversion der Update-Datei |
|      Größe     |             8 Bit             |
|  Wertebereich  |             0–255             |
|  Standardwert  |               0               |
| Interpretation |          Hauptversion         |

</details>

<details>

<summary>ID_VERSION_UPDATE_IMAGE_SUB_1</summary>

|   Eigenschaft  |                 Wert                |
| :------------: | :---------------------------------: |
|  Beschreibung  | Erste Unterversion der Update-Datei |
|      Größe     |                8 Bit                |
|  Wertebereich  |                0–255                |
|  Standardwert  |                  0                  |
| Interpretation |            Unterversion 1           |

</details>

<details>

<summary>ID_VERSION_UPDATE_IMAGE_SUB_2</summary>

|   Eigenschaft  |                 Wert                 |
| :------------: | :----------------------------------: |
|  Beschreibung  | Zweite Unterversion der Update-Datei |
|      Größe     |                 8 Bit                |
|  Wertebereich  |                 0–255                |
|  Standardwert  |                   0                  |
| Interpretation |            Unterversion 2            |

</details>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.dnt.de/dnt-lw-wsci/kommunikationsprotokoll/7.-fuota.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
