From wiki.ginstr.com
Jump to: navigation, search
(ginstr IIoT Swisscom LPN LoRaWAN Configuration)
(SwisscomLPN LoRaWAN Configuration)
Line 10: Line 10:
 
===[[Private:ginstr_IIoT_firmware_coding_instructions|ginstr IIoT firmware coding instructions]]===
 
===[[Private:ginstr_IIoT_firmware_coding_instructions|ginstr IIoT firmware coding instructions]]===
 
===[[Private:ginstr_IIoT_Swisscom_LPN_LoRaWAN_Configuration|ginstr IIoT Swisscom LPN LoRaWAN Configuration]]===
 
===[[Private:ginstr_IIoT_Swisscom_LPN_LoRaWAN_Configuration|ginstr IIoT Swisscom LPN LoRaWAN Configuration]]===
= SwisscomLPN LoRaWAN Configuration =
 
This manual will describe the configuration steps for setup the Swisscom LoRaWAN network. Test was done on **Heltec WiFi LoRa 32 (V2)** board.
 
 
== 1. Login to Swisscom LPN portal ==
 
Open the following link in the browser: https://developer.lpn.swisscom.ch/en/user/login. Enter the following credentials:
 
<pre>
 
Username: lpndev1+enaikoon@gmail.com
 
Password: BTG9Lfvm$1
 
</pre>
 
 
== 2. Open Interop Device Manager ==
 
Open the Interop Device Manager by selecting it from DropDown Menu (see picture below).
 
[[File:SwisscomLPNInteropDeviceManager.png]]
 
 
== 3. Create New Device ==
 
Click on '''Create''' 
 
 
[[File:SwisscomLPNCreateNewDevice.png]]
 
 
== 4. Configure Device Parameters ==
 
Fill in the new Device parameters. See the picture below as an example of one device configuration. 
 
 
[[File:SwisscomLPNConfigureDevice.png]]
 
 
== 5. Update the Device firmware to match the OTAA parameters from Portal ==
 
Open the '''LMIC-node-heltec''' example. Edit the ''keyfiles/lorawan-keys.h'' file with the parameters from the portal. 
 
'''NOTE:''' ''OTAA_DEVEUI'' and OTAA_APPEUI are in '''LSB''' format while ''OTAA_APPKEY'' is in '''MSB''' format
 
 
<pre>
 
#pragma once
 
 
#ifndef LORAWAN_KEYS_H_
 
#define LORAWAN_KEYS_H_
 
 
// Keys required for OTAA activation:
 
 
// End-device Identifier (u1_t[8]) in lsb format
 
#define OTAA_DEVEUI 0x08, 0x07, 0x66, 0x05, 0x44, 0x33, 0x22, 0x11
 
 
// Application Identifier (u1_t[8]) in lsb format
 
#define OTAA_APPEUI 0x88, 0x77, 0x66, 0x55, 0x04, 0x03, 0x02, 0x01
 
 
// Application Key (u1_t[16]) in msb format
 
#define OTAA_APPKEY 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xB1, 0xB2 ,0xB3 ,0xB4 ,0xB5 ,0xB6 ,0xB7, 0xB8
 
</pre>
 

Revision as of 15:07, 12 January 2022

Pages in category "ginstr IIoT"

This category contains only the following page.