For the complete documentation index, see llms.txt. This page is also available as Markdown.

Generic LoRa device (preset connectivity)

Generic LoRa device (preset connectivity)

Connect a LoRa device which has built in LoRa connectivity that came with the device. You will need to enter the DevEUI, AppEUI, and AppKey of this device during registration in KPN Things.

  • Supported network type(s): KPNLORA

  • Device Specification ID: own-lora-with-keys

  • Device Specification UUID: c11ef507-293f-4f04-ad82-e2f1c777c339

Decoders
decoderSpecificationUUID
Description

= Raw LoRa payload (v2)

bc523b60-1b3f-5f33-b041-3afbe29d13e0

Forward the raw LoRa payload and port number without decoding.

= Raw LoRa payload Extended (v2)

bc9628e5-2c18-5f4b-9baf-5023d8b4a37b

Forward the raw LoRa payload and lora network metadata without decoding.

› Decoded ThingsML for LoRa payload (v2)

5c03dd6b-42a6-5cf4-8790-8db27551431a

Decoder for ThingsML for LoRa, a generic LoRa payload protocol by KPN.

Encoders
encoderSpecificationUUID
Description

= Raw LoRa payload

1abb958a-d85a-4d6a-a44f-521f7e52adcd

Send raw LoRa payload to your device.

= Raw LoRa payload (v2)

Forward the raw LoRa payload and port number without decoding.

This decoder also decodes Geolocation and Local Gateway data.

The following SenML records can be present, amongst others:

name
type
unit
example
description

payload

string

"4D985C495AC4D8C9682CFD"

The LoRa hex payload

port

number

200

The LoRa port used to send this uplink

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.

Raw LoRa payload Extended (v2)

Forward the raw LoRa payload and lora network metadata without decoding.

Fixes from '= Raw LoRa payload Extended':

  • LrrRSSI is changed to a number.

  • LrrSNR is changed to a number.

  • LrrESP is changed to a number.

This decoder also decodes Geolocation and Local Gateway data.

The following SenML records can be present, amongst others:

name
type
unit
example
description

ADRbit

number

0

Adaptive Data Rate indicator

Channel

string

LC255

Lora channel of the transmission

DevLrrCnt

number

0

Amount of gateways that received the message

FCntDn

number

21725

The downlink framecounter

FCntUp

number

30117

The uplink framecounter

LrrRSSI

number

0

Received Signal Strength Indicator

LrrSNR

number

0

Signal to Noise Ratio

payload

string

"4D985C495AC4D8C9682CFD"

raw hex payload string

port

number

1

LoRa port used

SpFact

number

9

Spreading factor used

SubBand

string

"G0"

Lora band of the transmission

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.

› Decoded ThingsML for LoRa payload (v2)

Decoder for ThingsML for LoRa, a generic LoRa payload protocol by KPN.

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.

The resulting SenML completely depends on the ThingsML input and can produce almost any type of SenML output. The decoded ThingsML provided below is just an illustration of what is possible.

= Raw LoRa payload encoding

  • Protocol: LoRa downlink

  • Description: Send raw LoRa payload to your device.

  • Multiple commands in one downlink: No

Input mapping:

  • Name: payloadHex (raw input)

Last updated

Was this helpful?