Device configuration settings
Device settings are divided into three layers. This is enabling easier user configuration and still providing full control over the device.
This is the highest level of device settings available to the user. Here the user can define the purpose of the tracker and all the settings for the device will be generated based on the device profile and several mail parameters. This can be done from a Web/Mobile application and then the configuration can be uploaded with a precompiled binary image when manufacturing, over the Bluetooth, when deploying, and over LoRa, remotely when the device is in the field. An example of the application user interface is in the picture below. The user can change High-Level settings of each profile by expanding the advanced configuration in the user application if it is something that does not suit its needs.
Shadow settings in the second level L2 are changed by the Device profile and device profile setting. Every Device profile has the same set of High-Level settings and has its own default values that are stored on the device in the separate default configuration. This config from the default configuration will be overwritten if the device shadow config has value. This layer has a maximum of 30 settings IDs.
All the settings in the L2 are in relation to the physical device. Settings in the second level L2 are changed by the L1 level setting, when user change the device profile, or manually by the manufacturer of the devices.
All the settings currently are just for demonstration, the real need to be determined
when sending LoRa -> ID, LEN, VAL
decoder TTN same as in the BLE app
Device profile
Description
Default tracker
Profile with default tracking values.
Lion tracker rechargable
Profile for wild-life Lion tracking
Basic settings
Update interval precise (per hour)
ublox fix interval
almanach update
...
Update interval low-power (per hour)
Motion trigger (threshold or disabled)
Advanced only: true
Advanced setting
z thresholds
motion x z
Cargo tracker
Profile for ship container tracking
Wisent tracker
Profile for wiled-life Wisent tacking
Custom profile
One profile left for the user to customize it as preferred.
etc.
High-Level Settings
ID
Description
Min
Max
Default
GPS scan period
0x002
Scan period of GPS data for the tracker device.
10 sec
1 day
60 sec
LoRaWAN send period
0x002
Send period of position data and battery level over LoRaWAN network
10 sec
10 days
120 sec
BLE advertising period
0x003
Advertising period of BLE data
20 ms
10.24 sec
2 sec
etc
Low-Level Settings
ID
Description
Min
Max
BLE adv strength
0x020
The signal strength of BLE advertising data
8dBm
-20dBm
UART Baud
0x021
UART baud rate speed
9600
115200
etc.