Drivers
Overview
There are currently two types of drivers:
- Custom drivers
- Branded drivers
Actility drivers are compatible with the LoRa Alliance Standard Codec API published by the LoRa Alliance technical Committee.
Actility Public Device Catalog repo is provided for the device makers to add/maintain directly their own drivers.
The ThingPark X team is working every day to expand our list of professionally supported Encoding/Decoding drivers, and also provides compatible API adapters for all community drivers.
Codecs provide JSON decoding for binary uplink messages, as well as JSON to binary encoding for commands.
All available driver’s types can be displayed by retrieving the driver’s collection resource using GET/drivers
.
An example of results is given below:
GET /drivers
[
{
"id": "actility:auto:1",
"producerId": "actility",
"moduleId": "auto",
"version": "1",
"application": {
"producerId": "actility",
"moduleId": "auto",
"version": "1"
},
"models": []
},
{
"id": "actility:adeunis-field-test:1",
"producerId": "actility",
"moduleId": "adeunis-field-test",
"version": "1.0.0",
"application": {
"producerId": "adeunis",
"moduleId": "field-test",
"version": "1"
},
"models": [
{
"producerId": "adeunis",
"moduleId": "field-test",
"version": "1"
}
]
},
]
- In order to submit your device models and drivers to the shared library, please visit the public Device Catalog and follow the instructions (it is highly recommended to start by a template).
- Instructions for developing drivers can be found also at IoT Flow Driver Developer Guide.
- To use drivers, please refer to the section Setting up an IoT Flow Instance
How to assign a driver to a device
Follow these steps to learn how to link a driver to a device:
- Connect to ThingPark Enterprise. Click on the Devices section and select your device.
- Inside the device's information card, click on the Show driver metadata button, next to the Model field.
- Click on the Edit button to select one of the available drivers.
- You should see all the available driver. Select a built-in or a custom driver and click on the confirm icon.