Encoding/Decoding LoRaWAN payloads
There are multiple ways to encode/decode LoRaWAN payloads.
- Abeeway device Manager
- Abeeway driver
Both the methods are described below.
Using Abeeway Device Manager
The easiest way to encode or decode Abeeway tracker payloads is to use Abeeway Device Manager. You can do that even if you do not have trackers linked to ThingPark Location.
- Create a free account on: https://community.thingpark.org/
- Log in to Abeeway Device Manager at the following URL: here. If using another platform, see ThingPark platforms URLs.
- You can then encode or decode Abeeway payloads from the device configuration page.
Using Abeeway driver
In this scenario, your application will directly interface with the LoRaWAN® network server to communicate with Abeeway trackers. Our Abeeway driver docker service will run directly within your application framework to help you decode/encode uplink/downlink messages from/to Abeeway trackers.
Installing the Abeeway driver
The Abeeway driver gives you access to the driver service and the relative API documentation.
-
Install Docker on the customer’s server using the following URL:
https://hub.docker.com/search/?type=edition&offering=community -
Download Docker image from the public Docker repository. You can do it by executing the following command:
docker pull actility/iot-flow-drivers
-
Run Docker image from the public Docker repository. You can do it by executing the following command:
docker run -d -p 8095:8095 actility/iot-flow-drivers
-
After the command has been executed successfully, the container will download autonatically the latest driver version before been accessible and the driver service will be available locally on port 8095
-
Access the API documentation using the following url: http://localhost:8095/v1/swagger-ui/
Using the Abeeway driver - Some examples
You will use the following examples that you can apply to your application:
-
Example 1 Decoding an uplink message.
-
Example 2 Encoding a downlink message.
-
Example 3 Decoding a downlink message.
Abeeway driver documentation
You can access the comprehensive documentation of Abeeway driver below.
Resource | |
---|---|
Driver | Asset Tracker Driver User Guide |
- We recommend to use Abeeway driver to decode the payloads and NOT by implementing your own decoder using the payload structure in Abeeway Trackers reference guide. The payload formats can change between firmware versions, but we do our best to keep the backward compatibility with Abeeway driver.
- The other methods to use Abeeway driver can be found in Asset Tracker Driver User Guide.