For simplicity, we will provision device manually using the UI.
1. Login to your ThingsBoard instance and open Devices page.
Click on the "+" icon in the top right corner of the table and then select "Add new device".
Input device name. For example, "Syrus". No other changes are required at this time. Click "Add" to add the device.
Now your device should be listed first, since the table sorts the devices by using created time as default.
2. Token creation
To connect the device you need to get the device credentials first. ThingsBoard supports different device credentials. We recommend using default auto-generated credentials which is an access token for this guide.
Click on the device row in the table to open device details
Click "Copy access token". Token will be copied to your clipboard. Save it to a safe place.
Syrus 4G IoT Telematics Gateway Configuration
The first step to do is make sure you have the latest version of Apex OS
1. Preparing your System
Go to Management Tool (http://192.168.9.2 if you're over USB cable), select System and confirm that you're up to date
Now go to Applications Manager and Check for updates and make sure you have the latest version of SyrusJS application installed:
2. Create an instance
In application manager pull down the menu of SyrusJS, this will show you all versions installed of the application, select the latest one and Create a New Instance:
Name your instance and select the "Create Instance" button:
Now you have your instance created:
3. Creating your configuration files
We need to create two files on any notepad application (notepad++, sublime, vscode, etc), you can name it as you want but the extension must be syrus.conf
One file contains the destination data, protocol, output format, MQTT URI, username and topics.