> For the complete documentation index, see [llms.txt](https://docs.incari.com/incari-studio/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.incari.com/incari-studio/2024.1/toolbox/communication/mavlink/mavlink-decode.md).

# MAVLink Decode

## Overview

![The MAVLink Decode Node.](/files/GFJrCFZpK4E7axACMvbq)

**Mavlink Decode** decodes the binary data attributed to the `Message Name` (identifier of message type) and `Message` (message instance). The identifier comes from the `Dialect's` message definitions. The message instance originates from the output of [**On MAVLink Packet Received**](/incari-studio/2024.1/toolbox/communication/mavlink/events/on-mavlink-packet-received.md).

**MAVLink Communication** in **Incari** is available as a plugin and is enabled as default. However, in the case that it is disabled in the **Plugins Editor**, it will not appear in the **Project Settings** and **MAVLink Decode** will not show up in the [**Toolbox**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2024.1/overview.md). Please refer to the [**Plugins Editor**](/incari-studio/2024.1/modules/plugins.md) to find out more information.

The `Message Name` must match the identifier in the message instance. If they are the same, the binary data will be successfully decoded and outputted to their respective outputs which appear when a `Message Name` has been selected. If not, the **Node** fails to fire correctly.

When the `Message Name` is selected, more outputs on the **Node** are displayed. For example, if `Altitude` is selected as the identifier, the appropriate outputs for that message type will appear.

![MAVLink Decode Attributes Example.](/files/0WvDpmqXNSOh9Xdi8Xnu)

![MAVLink Decode Node Example.](/files/lXueVrcOU2tG37dm5Dro)

[**Scope**](https://github.com/cgi-studio-gmbh/incari-doc/blob/2024.1/toolbox/communication/overview.md#scopes): **Project**, **Scene**.

## Attributes

![The MAVLink Decode Node Attributes.](/files/YPQOA2NctFvu6kwXqaH9)

| Attribute      | Type          | Description                                                                                                                                                                                                                                                                                                                                                  |
| -------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Message Name` | **Drop-down** | A particular message or command from the selected `Dialect` *XML* file chosen in [**Project Settings**](/incari-studio/2024.1/modules/project-settings/mavlink.md) to be decoded. This defaults to the `MAVLink_Common` `Dialect` in **Project Settings** as it is the only one supported and includes the *standard* `Dialect` and its *minimal* `Dialect`. |

## Inputs

| Input             | Type       | Description                                                                                                             |
| ----------------- | ---------- | ----------------------------------------------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**.                                                   |
| `Message`         | **Binary** | The desired `Message`, which includes the message type that will be compared to the one in the selected `Message Name`. |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |

## See Also

* [**On MAVLink Packet Received**](/incari-studio/2024.1/toolbox/communication/mavlink/events/on-mavlink-packet-received.md)
