Tektelic
Send sensor data from Tektelic LNS to Datacake.

Introduction

In this guide, we will show you how you set up the Tektelic LNS correctly so that it forwards data to the Datacake IoT platform.
Read more about Tektelic here:
TEKTELIC | Global IoT leader of End-to-End LoRaWAN solutions
Tektelic Link

Create Data Converter

In order to be able to forward your sensor data to Datacake you need to create a new data converter on the Tektelic LNS configuration page.
Tektelic Data Converter

Name

  • Enter a simple name like "Datacake Converter"

Type

  • In here please select "Custom" as the converter type.

Decoder

  • By selecting "Custom" as the type for that converter this prepopulates the Decoder section with a short JavaScript Snippet.
  • Please leave this short snippet unchanged.

Backup

  • In case you don't see a default snippet, you can pase in the following:
1
var arr = [];
2
for (var i = 0; i < bytes.length; ++i) {
3
arr.push(bytes[i]);
4
}
5
return {
6
"bytes": JSON.stringify(arr),
7
"port": port,
8
"paylod length": bytes.length
9
};
Copied!

Create Integration

Now we need to set up an integration on the application from which you want to forward the data.
Tektelic Integration

Name

  • Please give your integration a name, like "Datacake Integration".

Type

  • In here you select the "HTTP" type.

Data Converter

  • Here you select the Datacake data converter that you have created in the step before, which is also documented in the previous chapter.

Application Address

  • Please set the application address to the following (see screenshots above and below if you are not 100% sure):
  • api.datacake.co

Port

  • As we are wanting to use SSL encrypted communication only you have to set the port to the following number:
    • 443

Base Path

  • Please set the base path setting to the following path:
  • /integrations/lorawan/tektelic/
Please make sure you enter it exactly as shown above (with ending /). Also have a look at the screenshots if you are not 100% sure.

Enable HTTPS

  • Please enable the HTTPS checkmark as Datacake onyl accepts SSL secured connections.

Authentication

  • You don't need to activate the authentication checkmark.

Request Headers

  • Not needed. Don't apply any changes.

Send empty payload

  • Leave unchecked

Allow all ports

  • Leave checked
Tektelic LNS Appliaction Integration Settings for Datacake IoT Platform

Downlinks

Downlinks are not yet supported. If you need Downlink support on Tektelic LNS. please contact us.