Skip to main content

Encoding/Decoding LoRaWAN payloads

There are multiple ways to encode/decode LoRaWAN payloads.

  1. Abeeway device Manager
  2. 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.  

  1. Create a free account on: https://community.thingpark.org/
  2. Log in to Abeeway Device Manager at the following URL: here. If using another platform, see ThingPark platforms URLs.
  3. You can then encode or decode Abeeway payloads from the device configuration page. img

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. img

Installing the Abeeway driver

The Abeeway driver gives you access to the driver service and the relative API documentation.

  1. Install Docker on the customer’s server using the following URL:
    https://hub.docker.com/search/?type=edition&offering=community

  2. Download Docker image from the public Docker repository. You can do it by executing the following command: docker pull actility/iot-flow-drivers

  3. 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

  4. 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

  5. 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:

Abeeway driver documentation

You can access the comprehensive documentation of Abeeway driver below.

Resource
DriverAsset Tracker Driver User Guide
WARNING

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.