The Northern Gateway is now configured and registered in the Lorawan network server of your choice. 1
There is one more step to be done on the network server. 2
It's the device registration. 3
By doing this, our network server will authorize our device LoRaWAN frame to reach the application 4
server. In a network server, 5
we can register thousands of devices, but if you want to keep things tidy, then we can grab devices that 6
belongs to the same use case. 7
Usually the group created is called an application, but on other networks servers, you might find 8
other names. Anyway, 9
in our example, we'll create an application, and in this application we will register two devices, 10
one with ABP activation mode and another one with a OTAA activation mode. 11
Great. 12
So let's go, on the TTN server. 13
Last time we used the Gateway Section, but now we need to go on the Application Section, and to create 14
an application, we just need to hit the "create application" button. 15
Our application name will be training-usmb, and we press the creation application button. 16
That's it. 17
It's that simple. 18
And now we can add new devices. 19
So I click on my new application. 20
In the device section, I will register a new ABP end device. 21
Even if this end device is part of the TTN repository. 22
I will register it manually to show you all the steps. 23
So in our case, I choose the European 868 megahertz frequency band. 24
I choose the right LoRaWAN version of my end device. 25
In my case, it's 1.0.3 and in this subsection, isolate the right activation mode. 26
For this demonstration, we're dealing with ABP. 27
Now, I still have to fill out the LoRaWAN information. 28
And first, the server ask for the DevEUI. 29
In my case, I use the one written on my end device. 30
Then comes the specific LoRaWAN information that we always need : Device Address? that I can generate. 31
Application Session Key and Networks Session Key that I can generate as well. 32
Then finally, I can give the device a name to personalize it. 33
In my case, I will call it device1-abp. 34
So it's these three parameters that I will have to configure in the end device, and that's what I will 35
do later. 36
First, I will register another and device, but this time with a OTAA activation Mode. 37
So I'm back on my console and in the device section, I'm going to manually register a new OTAA and device. 38
In our case, I choose the European 868 megahertz frequency band. 39
I choose the right LoRaWAN version of my device. 40
In my case, it's 1.0.3. 41
I can check that I'm already in the OTAA activation mode. 42
First, I need to give the devEUI. 43
I've got one for my device already so I can copy it here. 44
Otherwise, I could have generated it. 45
Secondly, I need to provide the AppEUI. 46
As I said, we won't use it much. 47
And this LoRaWAN server 48
even propose me to fill it in with zeros. 49
That's what I'm going to do. 50
So now we still have to provide the App Key. 51
In my case, I generate one. 52
Finally, I can personalize my device with a name, and I call it device1-otaa. 53
When I hit the register and device button, I've got the overview of my device information and obviously 54
I can find the EUI. 55
The app EUI and of course, the AppKey. 56
So it's these three parameters that I will have to configure in my end device. 57
And that's what we're going to do now with these two LoRaWAN devices.