Skip to content

Commit 05bdd34

Browse files
peter-pycommsariisik
authored andcommitted
ttn updated Register end device flow
1 parent 2d680fa commit 05bdd34

File tree

1 file changed

+10
-9
lines changed
  • content/gettingstarted/registration/lora

1 file changed

+10
-9
lines changed

content/gettingstarted/registration/lora/ttn.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ The Things Stack (TTS) is a LoRaWAN service that allows you to send and receive
1212

1313
* [Create an account](#create-an-account)
1414
* [Register a node](#register-a-node)
15-
* [Registera Gateway](#register-a-gateway)
15+
* [Register a gateway](#register-a-gateway)
1616

1717
## Create an account
18-
In order to use TTS you should navigate to [https://console.cloud.thethings.network](https://console.cloud.thethings.network) and select your region. Following that, either login using your account, or create a new one. Already Existing accounts on The Things Network (TTN) should work here as well.
18+
In order to use TTS you should navigate to [https://console.cloud.thethings.network](https://console.cloud.thethings.network) and select your region. Following that, either login using your account, or create a new one. Already existing accounts on The Things Network (TTN) should work here as well.
1919

2020
![](/gitbook/assets/lorawan/tts/index.png)
2121

2222
![](/gitbook/assets/lorawan/tts/account.png)
2323

2424
Once an account has been registered, you can [create an application](#register-a-node) for your nodes, or [register a gateway](#register-a-gateway).
2525

26-
## Registera node
26+
## Register a node
2727

2828
In order to register your device, you must first create an application for these devices to belong to. This way the Network will know where to send the devices data to.
2929

@@ -33,13 +33,16 @@ Selecting the `Applications` tab at the top of the TTN console, will bring up a
3333

3434
Enter a unique `Application ID` as well as a Description & Handler Registration.
3535

36-
Now the Pycom module nodes can be registered to send data up to the new Application.
37-
38-
You'll need to register your devices as nodes to the application. Click the button `+ Add device`. Next, you'll need to enter the specifics. You can choose either `OTAA` or `ABP` as activation methods. Learn more about the difference [here](https://www.thethingsindustries.com/docs/devices/abp-vs-otaa/). In this application we'll choose `OTAA`. Select `LoRaMAC V1.0.2` and check whether the region servers are set correctly.
36+
Now the Pycom module nodes can be registered to send data up to the new Application. Click the button `+ Add end device`. Next, you'll need to enter the specifics. Click on `Manually` and `Show advanced activation`. You can choose either `OTAA` or `ABP` as activation methods. Learn more about the difference [here](https://www.thethingsindustries.com/docs/devices/abp-vs-otaa/). In this example we'll use `OTAA`. Select `LoRaMAC V1.0.2` and check whether the region servers are set correctly.
3937

4038
![](/gitbook/assets/lorawan/tts/device.png)
4139

42-
In the `Register Device` panel, complete the forms for the `End Device ID`, `APP EUI` and the `Device EUI`. The `End Device ID` is a unique name for the device we're about to register, you can choose something that makes sense for your project. The `APP EUI` is user specified and is unique to the device in this application, we can set that to all 0's in this example. The `Device EUI` should be a globally unique identifier for the device. You can run the following on you Pycom module to retrieve its EUI.
40+
Scroll down and fill in the fields for `DevEUI`, `AppEUI` and `End device ID`.
41+
42+
* The `DevEUI` should be a globally unique identifier for the device. You can run the code below on you Pycom module to retrieve its EUI.
43+
* The `AppEUI` is user specified and is unique to the device in this application, we can `Fill with zeros` in this example.
44+
* The `AppKey` is provided by TTN. Click `Generate`.
45+
* The `End device ID` is a unique name for the device we're about to register, you can choose something that makes sense for your project.
4346

4447
```python
4548
from network import LoRa
@@ -52,8 +55,6 @@ print("DevEUI: %s" % (ubinascii.hexlify(lora.mac()).decode('ascii')))
5255

5356
The next screen allows us to choose the Frequency plan and regional parameters. Please choose a frequency plan that is compatible with your region and nearby gateways. If you're not sure which one to choose, select the one closest to your region labelled 'used by TTN'. For the regional parameters, select `PHY-V1.0.2-RevA`.
5457

55-
In the following section, generate a random `AppKey`.
56-
5758
Great! Now your device is registered with TTS. You can now use the credentials in the [LoRaWAN OTAA](/tutorials/networks/lora/lorawan-otaa/) example.
5859

5960
## Register a Gateway

0 commit comments

Comments
 (0)