Device Simulator (Mobile Phone app)

A device specification for the Things Device phone App.

  • Supported network type(s): INTERNET

  • Device Specification ID: own-phone-qr

  • Device Specification UUID: 3f77934a-2310-4504-89d7-08f40a25c2b8

› Decoded ThingsML and raw SenML data

  • UUID: 55e10f0f-23e6-40c3-a1f0-1e468f9cca1c

  • Description: One decoder to forward raw SenML data and decoded ThingsML data sent by the device.

  • Exchange: decoder.thingsml.json.exchange

Expected SenML outputs

Unknown

› Decoded ThingsML and raw SenML data (v2)

Decoder that forwards raw SenML data and decoded ThingsML data sent by the device.

This decoder also decodes Geolocation and Local Gateway data.

Example SenML

SenML can be structured in different ways, and we do not guarantee the examples below will look the same as what you will receive on your Destination. To make sure you can handle the SenML optimally, take a look at our documentation about Understanding and Interpreting SenML Data.

Example SenML

This is completely dependent on the SenML or ThingsML input and could output almost any SenML. The decoded ThingsML below is just illustrative of what is possible.

[
    {
        "bn": "urn:dev:DEVEUI:fe782a953c642aeb:",
        "bt": 1693136532.83,
        "n": "latitude",
        "u": "lat",
        "v": 51.90717
    },
    {
        "n": "longitude",
        "u": "lon",
        "v": 4.48940
    },
    {
        "n": "temperature",
        "u": "Cel",
        "v": 29.75
    },
    {
        "n": "batteryVoltage",
        "u": "V",
        "v": 3.59
    },
    {
        "n": "extTemp",
        "u": "Cel",
        "v": 17.22
    },
    {
        "n": "io",
        "vb": false
    }
]

= SenML data encoding

  • Protocol: HTTP response

  • Description: Send SenML data to your device.

  • Multiple commands in one downlink: No

  • No input mapping

Last updated