After setting up an application and node in LoRa Server (see getting started for more details), you need to provision your node with the chosen AppEUI, DevEUI and AppKey. This document will describe this process for different types of nodes.
The following example data is used:
DevEUI: 0102030405060708
AppEUI: 0807060504030201
AppKey: 01020304050607080910111213141516
Through a serial terminal, use the following commands:
mac set deveui 0102030405060708
mac set appeui 0807060504030201
mac set appkey 01020304050607080910111213141516
mac join otaa
Make sure your node is running a recent firmware! These steps were tested with a node running v1.14. Use WiMOD LoRaWAN EndNode Studio for the following actions:
- Go to Extras -> Factory Settings
- Click Set Customer Mode
- Enter the Device EUI as
0807060504030201
. Note: this field must be entered as LSBF (meaning it is the reverse value as created in LoRa Server)! - Click Set Device EUI
- Click Set Application Mode
- Go back to LoRaWAN Node
- Enter the Application EUI as
0102030405060708
. Note: this field must be entered as LSBF (meaning it is the reverse value as created in LoRa Server)! - Enter the Application Key as
01020304050607080910111213141516
. Note: Opposite to the Device / Application EUI, this field must be entered as-is (the same value as set in LoRa Server). - Click Set Join Parameter
- Click Join Network
!!! info "Your node not here?" Please help making this guide complete! Fork the github.com/brocaar/loraserver repository, update this page with the actions needed to setup your node and create a pull-request :-)