# Uplinks

## Generic Device Information

The device sends an uplink containing generic device information following a succesfull network join.\
The generic device information is send over fPort 50.

{% hint style="info" %}
If the device is battery powered, the battery related parameters are send with any of the regular periodical transmissions of the device.
{% endhint %}

| Channel | Type                    | Description                                    |
| ------- | ----------------------- | ---------------------------------------------- |
| **ff**  | 00 (Status)             | Status of the device                           |
|         | 01 (Manufacturer)       | Hex of the manufacturer                        |
|         | 02 (Model)              | Hex of the model                               |
|         | 03 (Device SN)          | 7 digits serial number                         |
|         | 11 (Device Class)       | 0x00: Class A, 0x01: Class B, 0x02: Class C    |
|         | 06 (Power Event)        | 0x00: AC Power Off, 0x01: AC Power On          |
|         | 05 (Hardware Version)   | Hardware version, example 0100 is version 1.00 |
|         | 04 (Firmware Version)   | Firmware version, example 0100 is version 1.00 |
|         | 07 (Battery Voltage)    | Battery Voltage                                |
|         | 08 (Battery Percentage) | Battery Percentage                             |

## Alarms

If an alarm occurs within the device an uplink message is immediately send over fPort 11.\
The message contains the register number of the alarm and the current value.

<table><thead><tr><th width="155">Channel</th><th width="228.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>0xAA</td><td>0xFE</td><td>Current timestamp of the device, taken from device RTC.</td></tr><tr><td>0xAA</td><td>0x00</td><td></td></tr><tr><td>0xAA</td><td>0x01</td><td>LoRaWAN watchdog alarm<br>0x00 : normal<br>0x01 : alarm</td></tr><tr><td>0xAA</td><td>0x78</td><td>Internal Temperature Sensor Alarm<br>0x00 : normal<br>0x01 : alarm</td></tr></tbody></table>

{% hint style="info" %}
The alarm payload is modified based on the underlying device.
{% endhint %}

## Periodic Transmissions <a href="#a7f7674a-7d57-4fb6-9003-eb313812905a" id="a7f7674a-7d57-4fb6-9003-eb313812905a"></a>

{% hint style="info" %}
Configuration of the periodic transmissions is added in the respective user manual of the underlying device.
{% endhint %}
