LoRa connectivity; news, information, Q&A's (NL/EN)
- 416 Topics
- 2,112 Reacties
KPN LoRa Developer Portal update - 8th of march from 19:00-23:00
Tonight, we will carry out an update on the Developer Portal where we introduce feature that has been wanted for a long time: Over The Air Activation (OTAA). [b]What to expect?[/b] As of tomorrow, it will be possible to create OTAA devices on the Developer Portal with your own keys (DevEUI and AppKey). When you want to add a new device, the following pop-up will be visible: [img]b9d1d328-9355-4bb4-8e2e-72a9ee112d17.jpg[/img] When you fill in the keys of your device, we will make sure that the device is activated within 24 hours. 24 hours you think? Yes, that’s correct and due to the fact that we need to provision the devices on the network whereas the ABP devices are pre-provisioned. When a device is activated, this will be visible in the device overview in the ‘Status’ column: [img]1edb06ba-0c94-40a0-a6a1-b9ded6756dc3.jpg[/img] For OTAA devices, the same possibilities and constraints apply as for ABP devices. [b]Anything else?[/b] Yes. We’ve noticed that not all
Application Server SSl certificates and authentication tokens
[color=green][h1]Application Server SSL certificates[/h1][/color] Any customer [url=https://zakelijkforum.kpn.com/lora-forum-16/setting-up-your-application-server-11069]Application Server[/url] needs to have a valid SSL certificate to create a secure HTTPS connection. The responsibility of retrieving the SSL certificate and keeping track of the validity is with the customer. The KPN LoRa server accepts SSL certificates from most major SSL certificate authorities. If your Application Server does not have an SSL certificate, you can shop online for one. A paid version can be obtained at https://www.thesslstore.nl/ or https://www.sslcertificaten.nl/ for instance or you can use the limited free version of https://letsencrypt.org/. Which one you use is up to you. When there is no certificate or if it is not valid, KPN will not forward the data. Tooling to test the validity of your SSL certificate can be found online, for example [url=https://www.ssllabs.com/ssltest/]here[/url]. [c
Setting up your Application Server
Data from a LoRa End-Device can be forwarded to an Application Server of your choice. The Application Server can be any public URL on the internet and can be your own server or somewhere in the cloud. The connection between the KPN LoRa network and the customer Application Server uses Internet connectivity and the application connection is established using HTTPS. By using HTTPS, the confidentiality of the interface is managed and certificates ensure the identity of both the receiver and server side. [color=green][h1]Application Server authentication[/h1][/color] The connection between the KPN Network Server and the customer Application Server uses two separate authentications (one for the Application Server and one for the Network Server), which together lead to mutual authentication: [list=1] [*] The customer Application Server needs to have a valid [url=https://zakelijkforum.kpn.com/lora-forum-16/application-server-ssl-certificates-and-authentication-tokens-11068]SSL certifi
LoRa device identifiers and addresses
This topic provides some background information regarding the device addresses and identifiers that are used in the LoRa network. The identifiers are split up into two sections, namely the identifiers used in the OTAA Join process and the identifiers used during a data session. [color=green][h1]OTAA device provisioning[/h1][/color] [list] [*] [b]DevEUI[/b]. Each device joining the KPN LoRaWAN network needs to have a unique identifier. This identifier is called the DevEUI and it must be a unique IEEE MAC address. A device manufacturer must acquire an address block with IEEE or when the customer requires a small "sub block" this can be requested from KPN. There are 3 available ranges from IEEE, namely [url=http://standards.ieee.org/develop/regauth/oui/]MAC-L[/url], [url=http://standards.ieee.org/develop/regauth/oui28/index.html]MAC-M[/url] and [url=http://standards.ieee.org/develop/regauth/oui36/index.html]MAC-S[/url]. For of the shelf LoRa devices the manufacturer should already
Over the air activation (OTAA) of devices
When OTAA is used for the activation of devices, the DevEUI, AppEUI and AppKey are needed to register the device on the KPN LoRa network. The NwkSKey and AppSKey are derived when joining the network. [color=green][h1]OTAA Join procedure[/h1][/color] During the OTAA Join the network forwards the join request message to the Application Server identified by the AppEUI. This Application Server is supposed to have been provisioned with the end-device's AppKey. Based on the AppKey and the content of the Join request message sent by the end-device, the Network: [list] [*] Generates a NwkSKey and AppSKey and sends the NwkSKey information to the KPN Core Network. [*] Forms a Join response payload that will allow the end-device to compute a NwkSKey and AppSKey. [/list] [color=green][h1]OTAA re-join[/h1][/color] The advice for the frequency of periodically rejoining (and thus renewing the NwkSKey and the AppSKey) depends on the number of messages sent by the end-device and the leve
Welcome to the KPN LoRa forum. An overview
[b]Welcome to the KPN LoRa forum! If you are new to (KPN) LoRa then this is the place to start. For the more experienced users this post can be used as an overview.[/b] [color=green][h1]Introduction[/h1][/color] The first thing to look at is the [url=https://zakelijkforum.kpn.com/lora-forum-16/what-is-lora-and-lorawan-8314]General overview of LoRa and LoRaWAN[/url]. This explains the basic concept of the LoRa network and once you are acquainted with it, a good next step is to look into the [url=https://zakelijkforum.kpn.com/lora-forum-16/the-kpn-implementation-of-lorawan-10388]KPN implementation of LoRaWAN[/url]. As you might already have noticed, this technology comprises a lot of terminology, for which one can refer to the The [url=https://zakelijkforum.kpn.com/lora-forum-16/lora-dictionary-definitions-8495]LoRa Dictionary & Definitions[/url] post. It should be noted that this forum serves both users of the [url=https://zakelijkforum.kpn.com/lora-forum-16/kpn-lora-developer-po
New and improved KPN Things Portal!News
“We’ve got great news for you! We have listened to your feedback on the KPN LoRa Developer Portal to develop the new and improved KPN Things Portal. Our new KPN Things Portal (bèta) makes it so much easier to set up your IoT solution. Go to the KPN Things Portal and configure, monitor and maintain all data connections to your (Cloud) Application. The KPN Things Portal will replace the KPN LoRa Developer Portal as of the 31st of December 2019.”
The KPN implementation of LoRaWAN
KPN’s Low Power Long Range (LoRa) network service is based on a relatively new LPWAN protocol for IoT and supplements existing 2G, 3G and 4G networks. The network eliminates significant barriers such as cost and energy consumption so that numerous (battery powered) devices can be connected. KPN has equipped hundreds of existing mobile transmission towers across the Netherlands with a LoRaWAN gateway and antenna, allowing millions of devices to be connected. Future functionality will also include roaming of end-devices on foreign partner networks. The figure below provides an overview of an IoT solution connecting sensors to an Application Server. [img]3506a3a9-eae6-4b02-9049-3611ec18996e.png[/img] In the figure, the following components can be distinguished: [list] [*] Sensor [*] Communication Device [*] KPN Network (including software platform) [*] Application Server [*] Application [/list] The service includes the use of a software functionality, the KPN LoRa platform,
Spreading Factor (SF), Time on Air and (Adaptive) Data Rate
[color=green][h1]Data Rate[/h1][/color] Communication between end-devices and gateways is spread out over different frequency [url=https://zakelijkforum.kpn.com/lora-forum-16/lorawan-channels-10970]channels[/url] and data rates. The selection of the data rate is a trade-off between communication range and message duration. Within the selected channel the [url=https://zakelijkforum.kpn.com/lora-forum-16/what-is-lora-and-lorawan-8314]LoRa protocol[/url], which is a chirp spread spectrum modulation technique, determines how many bits are required to code the data (coding rate) which results in a maximum data rate. [color=green][h1]Spreading Factor[/h1][/color] The basic principle of spread spectrum is that each bit of information is encoded as multiple chirps. Within the given bandwidth the relationship between the bit and chirp rate for LoRa modulation may differ between spreading factor (SF) 7 to 12. The end-device may transmit on any channel available at any time, using any availa
Uplink and Downlink messages and the Duty Cycle
[color=green][h1]Uplink and Downlink messages[/h1][/color] LoRaWAN supports both uplink as downlink messaging; messages from end-device to the network are called uplink and network to end-device messages are called downlink. The most common way to use LoRaWAN is to use the uplink so a sensor can report any value to the Application Server. Under certain conditions it might be useful to use a downlink message to provide the sensor with an acknowledgment to make clear that the message has arrived in the network and will be forwarded to the Application Server. Downlink messages can also be used to control settings of the sensor, for instance to adjust its update frequency or any other settings on the appliance. Another application of downlink messages could be to control an actuator like a valve or a lock. If you are sending downlinks (from the Application Server to the end-device) these are in theory unconfirmed messages. Although there is a message log in the Wireless Logger the inform
Hoe zou je blockchain kunnen combineren met LoRa?
Het is technisch mogelijk om data van sensors te bewaren in de blockchain. De twee grootste voordelen hiervan zijn: Eenmaal vastgelegde data kan niet veranderd worden. Niet 1 centrale database maar verdeeld over meerdere servers wereldwijd. Dus je data is beveiligd en altijd bereikbaar. Het heeft natuurlijk geen nut om van alles erin te bewaren, in mijn PoC ligt de focus op het bewaren van klimaat en omgeving data zoals temperatuur en noise levels. Zie de frontend van Global Data Chain, deze haalt direct data vanuit een custom blockchain: http://globaldatachain.korben3.com(momenteel nog met dummy data) Mijn vraag of discussie punt is. Wat voor data van bv. LoRa devices is nog meer interessant om vast te leggen met blockchain technologie?
Currently KPN’s network supports the 8 channels shown below. When configuring devices, customers must make sure they support at least the first 3 LoRaWAN default frequencies and enable ADR, because the other channels will be added dynamically and could vary for each region. [img]dd0b49d1-5c95-46ff-8489-5270e1527afa.png[/img] In the future, 16 channels will be supported, however, this functionality is not expected shortly.
Dutch Open Hackathon
[img]c62fa928-55cb-4e8d-9973-f2f4cffe7fd8.png[/img] [b][url=https://dutchopenhackathon.com/register/]Meld je nu aan[/url] voor de [url=https://dutchopenhackathon.com/]Dutch Open Hackathon[/url] die dit jaar voor de vierde keer plaatsvindt op 26 en 27 mei in de inspirerende Dutch Innovation Factory in Zoetermeer! Leef je samen met andere developers en creatievelingen een weekend uit op interessante challenges en maak daarbij gebruik van een groot aantal unieke datasets, API’s en hardware van vijf belangrijke Nederlandse organisaties: het Kadaster, KPN, Politie, PostNL en SIDN.[/b] [color=green][h2]Bedenk creatieve toepassingen en maak kans op mooie prijzen[/h2][/color] Ga de uitdaging aan en bedenk creatieve oplossingen en toepassingen voor concrete, alledaagse uitdagingen en maak kans op mooie prijzen zoals een incubatietraject en een leuk geldbedrag. Geef open innovatie een stevige boost en zet al je denkkracht in om digitale diensten te ontwikkelen die een positieve impact hebbe
Lora Developer Portal is now closed
The current LoRa Developer Portal is now closed. As previously announced, we have a better and richer alternative for you! Our new KPN Things Portal makes it so much easier to set up your IoT solution. You can now configure, monitor and maintain all data connections to your (Cloud) Application. So switch now!
Meld je aan
Heb je al een account? Inloggen
Inloggen of registreren met sociaal netwerkInloggen met Facebook Login with LinkedIn
Nog geen account? Maak een account aan
Inloggen of registreren met sociaal netwerkInloggen met Facebook Login with LinkedIn
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.