<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PFuchs</id>
	<title>Elvis Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://elvis.hcw.ac.at/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=PFuchs"/>
	<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php/Special:Contributions/PFuchs"/>
	<updated>2026-09-10T14:36:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.41.5</generator>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17962</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17962"/>
		<updated>2025-06-17T15:26:58Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
[[File:TTN2.png|600px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
=== Registration ===&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started.&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Application Setup ===&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional.&lt;br /&gt;
# Click on &amp;quot;Register end device”.&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version: [[File:TTN6.png|600px|none|thumb|Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID: [[File:TTN7.png|600px|none|thumb|Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview: [[File:TTN8.png|600px|none|thumb|Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
=== Payload Formatter ===&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings and in the application settings - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program.&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change the application name, and add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17961</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17961"/>
		<updated>2025-06-17T15:25:25Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
[[File:TTN2.png|600px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
=== Registration ===&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Application Setup ===&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional.&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version: [[File:TTN6.png|600px|none|thumb|Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID: [[File:TTN7.png|600px|none|thumb|Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview: [[File:TTN8.png|600px|none|thumb|Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
=== Payload Formatter ===&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings and in the application settings - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change the application name, and add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17960</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17960"/>
		<updated>2025-06-17T15:23:46Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
[[File:TTN2.png|600px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional.&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version: [[File:TTN6.png|600px|none|thumb|Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID: [[File:TTN7.png|600px|none|thumb|Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview: [[File:TTN8.png|600px|none|thumb|Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings and in the application settings - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change the application name, and add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17959</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17959"/>
		<updated>2025-06-17T15:23:03Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:TTN2.png|800px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional.&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version: [[File:TTN6.png|600px|none|thumb|Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID: [[File:TTN7.png|600px|none|thumb|Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview: [[File:TTN8.png|600px|none|thumb|Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings and in the application settings - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change the application name, and add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17958</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17958"/>
		<updated>2025-06-17T15:22:10Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile. [[File:TTN2.png|800px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional.&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version: [[File:TTN6.png|600px|none|thumb|Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID: [[File:TTN7.png|600px|none|thumb|Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview: [[File:TTN8.png|600px|none|thumb|Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings and in the application settings - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change the application name, and add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17957</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17957"/>
		<updated>2025-06-17T15:21:25Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile. [[File:TTN2.png|800px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional.&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version: [[File:TTN6.png|600px|none|thumb|Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID: [[File:TTN7.png|600px|none|thumb|Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview: [[File:TTN8.png|600px|none|thumb|Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings and in the application settings - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17956</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17956"/>
		<updated>2025-06-17T15:20:27Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile. [[File:TTN2.png|800px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional.&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version: [[File:TTN6.png|600px|none|thumb|Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID: [[File:TTN7.png|600px|none|thumb|Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview: [[File:TTN8.png|600px|none|thumb|Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17955</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17955"/>
		<updated>2025-06-17T15:17:44Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile. [[File:TTN2.png|800px|right|thumb|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen.&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional: [[File:TTN5.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|600px|none|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]] [[File:TTN7.png|600px|none|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|600px|none|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17954</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17954"/>
		<updated>2025-06-17T15:16:45Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right|Topology from a LoRaWAN implementation.]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional: [[File:TTN5.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|600px|none|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]] [[File:TTN7.png|600px|none|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|600px|none|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN11.png&amp;diff=17953</id>
		<title>File:TTN11.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN11.png&amp;diff=17953"/>
		<updated>2025-06-17T15:13:36Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: PFuchs uploaded a new version of File:TTN11.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17952</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17952"/>
		<updated>2025-06-17T15:11:10Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option: [[File:TTN1.png|600px|none|thumb|Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console: [[File:TTN3.png|600px|none|thumb|Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application”: [[File:TTN4.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional: [[File:TTN5.png|600px|none|thumb|Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|600px|none|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]] [[File:TTN7.png|600px|none|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|600px|none|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17951</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17951"/>
		<updated>2025-06-17T15:07:13Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|600px|none|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|600px|none|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|600px|none|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|600px|none|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|600px|none|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]] [[File:TTN7.png|600px|none|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|600px|none|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17950</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17950"/>
		<updated>2025-06-17T15:06:47Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|600px|none|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|600px|none|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|600px|none|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=300 heights=200&amp;gt;&lt;br /&gt;
File:TTN6.png|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.&lt;br /&gt;
File:TTN7.png|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.&lt;br /&gt;
&amp;lt;/gallery&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|600px|none|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]] [[File:TTN7.png|600px|none|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|600px|none|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17949</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17949"/>
		<updated>2025-06-17T15:04:05Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|600px|none|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|600px|none|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|600px|none|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|600px|none|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN7.png|600px|none|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|600px|none|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|600px|none|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|600px|none|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|600px|none|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17948</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17948"/>
		<updated>2025-06-17T15:02:42Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|600px|frame|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN7.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17947</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17947"/>
		<updated>2025-06-17T15:00:48Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|600px|frame|left|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN7.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17946</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17946"/>
		<updated>2025-06-17T14:57:53Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|thumb|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|800px|thumb|left|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN7.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17945</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17945"/>
		<updated>2025-06-17T14:57:31Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
In this task, we want to connect the STM32 board with The Things Network (TTN). The&lt;br /&gt;
connection to the TTN happens through a gateway as seen in Figure 12.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|800px|thumb|left|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN7.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17944</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17944"/>
		<updated>2025-06-17T14:57:00Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TTN2.png|800px|right]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13 [[File:TTN1.png|800px|thumb|left|Figure 13: Select the left option.]]&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14) [[File:TTN3.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15) [[File:TTN4.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16) [[File:TTN5.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:TTN6.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN7.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN8.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN9.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:TTN10.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:TTN11.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN11.png&amp;diff=17943</id>
		<title>File:TTN11.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN11.png&amp;diff=17943"/>
		<updated>2025-06-17T14:55:21Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN10.png&amp;diff=17942</id>
		<title>File:TTN10.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN10.png&amp;diff=17942"/>
		<updated>2025-06-17T14:54:58Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN9.png&amp;diff=17941</id>
		<title>File:TTN9.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN9.png&amp;diff=17941"/>
		<updated>2025-06-17T14:54:39Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN8.png&amp;diff=17940</id>
		<title>File:TTN8.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN8.png&amp;diff=17940"/>
		<updated>2025-06-17T14:54:18Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN7.png&amp;diff=17939</id>
		<title>File:TTN7.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN7.png&amp;diff=17939"/>
		<updated>2025-06-17T14:52:55Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN6.png&amp;diff=17938</id>
		<title>File:TTN6.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN6.png&amp;diff=17938"/>
		<updated>2025-06-17T14:50:43Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN5.png&amp;diff=17937</id>
		<title>File:TTN5.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN5.png&amp;diff=17937"/>
		<updated>2025-06-17T14:50:27Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN4.png&amp;diff=17936</id>
		<title>File:TTN4.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN4.png&amp;diff=17936"/>
		<updated>2025-06-17T14:50:15Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN3.png&amp;diff=17935</id>
		<title>File:TTN3.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN3.png&amp;diff=17935"/>
		<updated>2025-06-17T14:50:03Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN2.png&amp;diff=17934</id>
		<title>File:TTN2.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN2.png&amp;diff=17934"/>
		<updated>2025-06-17T14:45:39Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17933</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17933"/>
		<updated>2025-06-17T14:44:39Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TTN1.png|400px|thumb|left|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13&lt;br /&gt;
&lt;br /&gt;
[[File:page-1-figure-13.png|thumb|left|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14)&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-14.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15)&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-15.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16)&lt;br /&gt;
&lt;br /&gt;
[[File:page-3-figure-16.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:page-4-figure-17.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-5-figure-18.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-19.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-20.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-21.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-22.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17932</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17932"/>
		<updated>2025-06-17T14:44:26Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TTN1.png|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13&lt;br /&gt;
&lt;br /&gt;
[[File:page-1-figure-13.png|thumb|left|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14)&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-14.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15)&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-15.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16)&lt;br /&gt;
&lt;br /&gt;
[[File:page-3-figure-16.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:page-4-figure-17.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-5-figure-18.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-19.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-20.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-21.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-22.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17931</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17931"/>
		<updated>2025-06-17T14:43:55Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:TTN1.png|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13&lt;br /&gt;
&lt;br /&gt;
[[File:page-1-figure-13.png|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14)&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-14.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15)&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-15.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16)&lt;br /&gt;
&lt;br /&gt;
[[File:page-3-figure-16.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:page-4-figure-17.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-5-figure-18.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-19.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-20.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-21.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-22.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN1.png&amp;diff=17930</id>
		<title>File:TTN1.png</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=File:TTN1.png&amp;diff=17930"/>
		<updated>2025-06-17T14:43:34Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
	<entry>
		<id>https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17929</id>
		<title>LoRaWAN: The Things Network Setup</title>
		<link rel="alternate" type="text/html" href="https://elvis.hcw.ac.at/wiki/index.php?title=LoRaWAN:_The_Things_Network_Setup&amp;diff=17929"/>
		<updated>2025-06-17T14:42:04Z</updated>

		<summary type="html">&lt;p&gt;PFuchs: Created page with &amp;quot;== Summary ==  This documentation focuses on the setup and implementation of the EUIs in the makefile  == Overview ==   Figure 13: Select the left option.  == The Things Network Setup ==  To connect the board with TTN, we first need to create an account on TTN:  # Navigate to: https://www.thethingsnetwork.org/ # Click on Sign Up or Get Started # Select the things network and sandbox option as seen in Figure 13  File:page-1-figure-13....&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
&lt;br /&gt;
This documentation focuses on the setup and implementation of the EUIs in the makefile&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:page-1-figure-13.png|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
== The Things Network Setup ==&lt;br /&gt;
&lt;br /&gt;
To connect the board with TTN, we first need to create an account on TTN:&lt;br /&gt;
&lt;br /&gt;
# Navigate to: https://www.thethingsnetwork.org/&lt;br /&gt;
# Click on Sign Up or Get Started&lt;br /&gt;
# Select the things network and sandbox option as seen in Figure 13&lt;br /&gt;
&lt;br /&gt;
[[File:page-1-figure-13.png|thumb|Figure 13: Select the left option.]]&lt;br /&gt;
&lt;br /&gt;
# Create an account and log in.&lt;br /&gt;
# Navigate to the console (Figure 14)&lt;br /&gt;
# Choose the Europe network cluster&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-14.png|thumb|Figure 14: Navigate to the console.]]&lt;br /&gt;
&lt;br /&gt;
Next, we need to set up the application:&lt;br /&gt;
&lt;br /&gt;
# Click on “Create application” (Figure 15)&lt;br /&gt;
&lt;br /&gt;
[[File:page-2-figure-15.png|thumb|Figure 15: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Choose a unique application ID for the application. Application name, description and Label are optional (Figure 16)&lt;br /&gt;
&lt;br /&gt;
[[File:page-3-figure-16.png|thumb|Figure 16: Create a new application.]]&lt;br /&gt;
&lt;br /&gt;
# Click on &amp;quot;Register end device”&lt;br /&gt;
# Select Enter end device specifics manually and select the Frequency plan, LoRaWAN version, and Regional Parameters version as seen in Figure 17.&lt;br /&gt;
# For the JoinEUI enter all 0s and confirm the settings.&lt;br /&gt;
# Now you can generate a DevEUI and AppKey and give the device an End device ID (Figure 18).&lt;br /&gt;
# Click on &amp;quot;Register end device”, which should bring you back to the end device overview (Figure 19).&lt;br /&gt;
&lt;br /&gt;
[[File:page-4-figure-17.png|thumb|Figure 17: Select the correct frequency plan and versions and enter all 0s to the JoinEUI.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-5-figure-18.png|thumb|Figure 18: Generate DevEUI, AppKey, and assign an End device ID.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-19.png|thumb|Figure 19: Overview of the device.]]&lt;br /&gt;
&lt;br /&gt;
Before we can build the application that is sending the data, we now need to change the payload we want to receive to CayenneLPP so the message is formatted and read correctly. These settings need to be changed in the device settings (Figure 20) and in the application settings (Figure 21) - make sure to set them for Uplink and Downlink.&lt;br /&gt;
&lt;br /&gt;
[[File:page-6-figure-20.png|thumb|Figure 20: Formatter type set to CayenneLPP on the device.]]&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-21.png|thumb|Figure 21: Formatter type set to CayenneLPP in the app.]]&lt;br /&gt;
&lt;br /&gt;
== Implementation in Makefile ==&lt;br /&gt;
&lt;br /&gt;
Now we can use the program where we read the temperature and humidity, and send the data to TTN.&lt;br /&gt;
&lt;br /&gt;
# Navigate to &amp;lt;code&amp;gt;/myRIOT/examples/misc/lorawan&amp;lt;/code&amp;gt;&lt;br /&gt;
# This folder contains a LoRaWAN program&lt;br /&gt;
# Create a copy of the lorawan directory and rename it to the desired program name using the following command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
it-security@host14: cp /myRIOT/examples/misc/lorawan /myRIOT/examples/misc/lorawan-hts221&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the Makefile, add the lines of code marked in Figure 22. Change the application name on line 2. Next, add the DEVEUI (JoinEUI in TTN), APPEUI, and APPKEY, which we generated in TTN.&lt;br /&gt;
&lt;br /&gt;
[[File:page-7-figure-22.png|thumb|Figure 22: The makefile for the project.]]&lt;br /&gt;
&lt;br /&gt;
== Used Hardware ==&lt;br /&gt;
&lt;br /&gt;
[[STM32 LoRa and Sigfox Discovery kit + X-NUCLEO IKSO1A2 expansion board]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* https://www.thethingsnetwork.org/&lt;br /&gt;
* https://www.riot-os.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]]&lt;/div&gt;</summary>
		<author><name>PFuchs</name></author>
	</entry>
</feed>