After you successfully setup the project, follow the steps below to get started with receiving and sending from / to your node:
There are two steps involved when adding a gateway. First of all, you need to configure your gateway so that it sends data to the LoRa Gateway Bridge component. In the packet-forwarder configuration, modify the following configuration keys:
server_addressto the IP address / hostname of the LoRa Gateway Bridge
1700(the default port that LoRa Gateway Bridge is using)
After restarting the packet-forwarder process, you should see log-lines appearing in the LoRa Gateway Bridge logs.
The second step is to configure the gateway in your LoRa Server network. For this, log in into the LoRa App Server web-interface and add the gateway to your organization. In case your gateway does not have a GPS, you can set the location manually.
The following steps must be performed in the LoRa App Server web-interface.
LoRa App Server must know to which network-server(s) to connect. Therefore the first action is to add a network-server (LoRa Server instance) to your LoRa App Server installation. See network-servers for more information.
To define what features can be used by users assigned to an organization you must create one or multiple service-profiles for each organization. See service-profiles for more information.
To define the capabilities of the device you are going to add, you must create one or multiple device-profiles for each organization. See device-profiles for more information.
A device is always part of an application, therefore you need to create an application. An application contains one or multiple devices that serve the same purpose, for example a weather-station. See applications for more information.
After creating the application, you need to create the device and assign a device-profile to it. After creating the device, don’t forget to add the application-key to it (OTAA) or activate the device (ABP).
To receive data (and events) from your devices(s), you need to subscribe to the
topic of your device and / or application. For this example we will be using
the MQTT client that comes with Mosquitto. However,
every MQTT client will do. To subscribe to all data / events, subscribe to the
# is a milti-level wildcard (thus everything under
mosquitto_sub -v -t "application/#"
In case you configured your node for OTAA, perform a join (from your node). You should see a join event being published over MQTT.
Read more more about sending and receiving data in the LoRa App Server documentation.
In case you don’t see any data confirm (in the logs) that: