# Decode "object: date:" in an mqtt frame

**URL:** <https://discourse.nodered.org/t/decode-object-date-in-an-mqtt-frame/76019>\
**Category:** General\
**Created:** [2 March 2023 19:13 UTC](https://discourse.nodered.org/t/decode-object-date-in-an-mqtt-frame/76019 "2023-03-02T19:13:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayno](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@Ayno](https://discourse.nodered.org/u/Ayno)\
**Post date:** [2 March 2023 19:13 UTC](https://discourse.nodered.org/t/decode-object-date-in-an-mqtt-frame/76019/1 "2023-03-02T19:13:01Z")

</div>

Hello,

I have Lora devices and a LoraWan Gateway to transmit in MQTT the information of devices

here is one of them : (the one of the Dragino LDS02)

```auto
object
applicationID: "3"
applicationName: "Rak7268"
devEUI: "a840414c *****"
deviceName: "Dragino detecteur"
timestamp: 1677784040
fCnt: 222
fPort: 10
data: "0C2A0100007900000000"
data_encode: "hexstring"
adr: true
rxInfo: array[1]
0: object
txInfo: object
frequency: 867300000
dr: 5

```

In node-red I try to decode the flag "data" which contains hexadicimals.

Here is the decoder for TTN [dragino-end-node-decoder/LDS02 at main · dragino/dragino-end-node-decoder · GitHub](https://github.com/dragino/dragino-end-node-decoder/tree/main/LDS02). But how can I use it for node-red?

Thanks in advance for your answers

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 May 2023 19:13 UTC](https://discourse.nodered.org/t/decode-object-date-in-an-mqtt-frame/76019/2 "2023-05-01T19:13:09Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
