Skip to the content.

LoRaWAN Node setup procedure

lorawan architecture

Terms

Node registration

In order for the LPNP to know where to forward received payloads, all Nodes and Applications must be registered at the LPNP.

at+get_config=lora:status
at+set_config=lora:dev eui:XXXX

Activation

The connection between a Node and a Gateway must be secured. There are two options, the Over-The-Air-Activation (OTAA) and the Activation By Personalization (ABP). ABP mode is easier to setup and less secure, and should only be used in test environments. The following steps therefore describe OTAA.

Before starting, note the Nodes DevEUI, AppEUI and the AppKey which was generated when registering the Node.

at+set_config=lora:join_mode:0
at+set_config=lora:class:0
at+set_config=lora:region:EU868
at+set_config=lora:dev_eui:XXXX
at+set_config=lora:app_eui:XXXX
at+set_config=lora:app_key:XXXX

###​ Join and test

To connect the Node to the network, run the following AT command:

at+join

To send an uplink message, run the following command, replacing 12345678 with any data you want:

at+send=lora:1:12345678

The message should show up in the dashboard of your LPNP.