# How the sensor data can be decoded on the gateway?

**URL:** <https://www.thethingsnetwork.org/forum/t/how-the-sensor-data-can-be-decoded-on-the-gateway/37401>\
**Category:** Gateways\
**Created:** [May 28, 2020, 10:37am UTC](https://www.thethingsnetwork.org/forum/t/how-the-sensor-data-can-be-decoded-on-the-gateway/37401 "2020-05-28T10:37:39Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![arjanvanb](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/arjanvanb/32/46626_2.png) [@arjanvanb](https://www.thethingsnetwork.org/forum/u/arjanvanb)\
**Post date:** [May 28, 2020, 2:48pm UTC](https://www.thethingsnetwork.org/forum/t/how-the-sensor-data-can-be-decoded-on-the-gateway/37401/9 "2020-05-28T14:48:23Z")

</div>

> [@nvdak](#):
>
> [GitHub - anthonykirby/lora-packet: LoRa radio packet decoder](https://github.com/anthonykirby/lora-packet)

Beware that you cannot use that on a gateway, as [it needs to know a lot of device details](https://www.thethingsnetwork.org/forum/t/simplest-low-cost-forever-persistent-storage-method-for-sensor-data/37202/14) to determine which device an uplink belongs to and to decrypt the application payload.

---

_[View the full topic](https://www.thethingsnetwork.org/forum/t/how-the-sensor-data-can-be-decoded-on-the-gateway/37401)._
