KPN Things Developer Manual
↩ All Documentation
  • Welcome to the Things Developer Manual
  • Concepts
    • Overview
    • Uplink communication
    • Downlink communication
    • SenML
      • Upcoming Changes in KPN SenML
    • Management data model
    • Location data
    • API access ✨
  • Devices
    • Introduction to Devices
    • Supported developer kits
    • Supported device types
    • KPN Things devices
    • Device SDK
  • Connectivity
    • Introduction to Connectivity
    • KPN Things LoRa
    • KPN Things M2M
      • Firmware over the air 💎
    • Internet ✨
  • Processing
    • Introduction to Processing
    • ThingsML
    • Common measurements list
    • DIY Decoder 🔜
    • Merger 💎
    • Built-in decoders
  • Destinations
    • Introduction to Destinations
    • Azure Event Hub
    • Azure IoT Hub
    • Cumulocity environment
    • HTTPS endpoint
    • MQTT broker
  • 📗Additional resources
    • Things Portal Manual
    • Getting started
    • Contact Support
Powered by GitBook
On this page
  • How it works
  • Code example
  1. Processing

DIY Decoder 🔜

PreviousCommon measurements listNextMerger 💎

Last updated 3 years ago

🔜 Coming soon

This feature is currently in active development. This page has been created to give you a sneak preview of this awesome feature. We expect to release it in the second half of 2022.

How it works

This page describes the current design of the DIY Decoder functionality. The final version of this feature could differ from what is described below.

With the DIY Decoder, you can upload your own snippet of code that will run in KPN Things as decoder for the messages from your LoRa Devices.

The code snippet should be written in Javascript, set up like the example below. The code snippet receives the LoRa FPort and Payload and should output measurements.

In the beginning we do not provide a code editor in the Things Portal. You should write the code snippet in the editor of your choice - for instance Visual Studio Code - and upload your code snippet to KPN Things through our API.

After putting your DIY Decoder in place, all messages from Devices connected to the DIY Decoder will be decoded by your own DIY Decoder.

A test routine for your DIY Decoder will be developed later.

Code example

Coming soon...

SenML