So we have successfully registered two devices in the server and now we're going to do the last step, 1
which is: to configure the device. 2
I'll start with the device called device1-abp. 3
Then right after, I do the same process with the device called device1-OTAA. Let's start. 4
My LoRaWAN end-device can be configured from a specific header file. 5
And the first thing I need to do is to choose the application behavior. 6
So for this demonstration, I will use ABP activation mode and I will send a temperature every 10 seconds. 7
That's it. 8
You don't have to worry about the other settings for the moment. 9
Now let's copy the LoRaWAN parameters. 10
So, that address. 11
Network Station key. 12
And application session key. 13
There we go. 14
Now, I compile the project and I send it to my device. 15
We can now do the same process with the second device with OTAA activation mode. 16
My LoRaWAN end device. 17
Use again the same header file for its configuration. 18
So, for this demonstration I will use OTAA activation mode and I will send a temperature every 10 seconds. 19
That's actually the same demonstration that we use for ABP. 20
Then for the LoRaWAN parameters, I can copy the dev EUI. 21
The app EUI. 22
On the Application Key. 23
I compile the project and send it to my own device. 24
Now, as soon as I power up my device, then the transmission starts right away. 25
If it's a OTAA end device, then at the beginning there will be the activation procedure, as 26
we explained previously. 27
But whatever the network server were using 28
From that point, 29
We should be able to see the data in the live data section.