File Formats
A configuration file (CONFIG.TXT) can be used to configure a device for specific use cases. It lists AT-commands line by line. Please read the command reference for more details.
Data files contain both a device ID tag and a number in their name. The ID tag consists of the last four literals of the LoRaWAN DEVEUI. The number indicates device restarts. With every restart, the number is increased by one. In this way, data doesn't get overridden or appended unexpectedly.
Example directory listing:
ABCD_001.LOGABCD_001.POSCONFIG.TXT
Generally, the following file types can be recorded by trackers:
-
Data Files
.POS– CSV file. Position data and IMU averages.IMU– CSV file. Real-time IMU sample data- The data files provide the full device ID (DEVEUI) in the first row of the file
-
Log Files
.LOG– Text file. Provides valuable information for support
Position Data File
The .POS file contains the GPS position data of the device and some other metadata
Example .POS file snippet:
# Device: E48C89845E725F59
TIME RTC,TIME GPS,FIX TYPE,LAT,LONG,ALT,HDOP,VDOP,SATELLITES,TTF,UPTIME,TEMP MCU,AX MEAN,AX VAR,AY MEAN,AY VAR,AZ MEAN,AZ VAR,V BAT
UTC,UTC,ENUM,deg,deg,m,,,,s,s,deg C,G,G2,G,G2,G,G2,V
ISO8601,ISO8601,int,float,float,float,float,float,int,int,float,float,float,float,float,float,float,float,float
20260330T172852Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.011438,0.000026,-0.244445,0.000065,0.983119,0.000078,3.527000
20260330T172952Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.011549,0.000061,-0.243890,0.000361,0.983483,0.000828,3.533000
20260330T173052Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.046445,0.025575,-0.046929,0.036208,0.986191,0.011637,3.528000
20260330T173152Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.025047,0.004189,0.024703,0.001105,1.011077,0.000714,3.526000
20260330T173252Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.010600,0.000324,0.017563,0.000823,1.013654,0.000122,3.536000
20260330T173352Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.011689,0.005382,0.087933,0.017418,1.002271,0.004865,3.534000
20260330T173452Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.004940,0.000000,0.256517,0.000000,0.981058,0.000000,3.540000
20260330T173552Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.004933,0.000000,0.256620,0.000000,0.981035,0.000000,3.540000
20260330T173652Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.004997,0.000000,0.256701,0.000000,0.981025,0.000000,3.538000
20260330T173752Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.005661,0.004323,0.216664,0.033933,0.949080,0.044724,3.535000
20260330T173852Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,-0.012897,0.000001,0.006970,0.000001,1.014057,0.000005,3.539000
20260330T173952Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,-0.087761,0.181630,0.004924,0.159135,0.570909,0.358808,3.534000
20260330T174052Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,-0.573995,0.009651,-0.036893,0.045357,0.780637,0.035532,3.534000
20260330T174152Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,-0.082512,0.049348,-0.017094,0.037602,-0.868194,0.143352,3.536000
20260330T174252Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,0.075397,0.034858,-0.045445,0.010348,-0.963006,0.006542,3.538000
20260330T174352Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,-0.026192,0.000001,-0.007885,0.000001,-0.989214,0.000001,3.544000
20260330T174452Z,00000000T000000Z,0,0.000000,0.000000,0.000000,99.000000,99.000000,1,5,0.000000,25.670996,-0.026084,0.000004,-0.007877,0.000003,-0.989187,0.000006,3.540000
| TIME RTC | TIME GPS | FIX TYPE | LAT | LONG | ALT | HDOP | VDOP | SATELLITES | TTF | UPTIME | TEMP MCU | AX MEAN | AX VAR | AY MEAN | AY VAR | AZ MEAN | AZ VAR | V BAT |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| UTC | UTC | ENUM | deg | deg | m | s | s | deg C | G | G2 | G | G2 | G | G2 | V | |||
| ISO8601 | ISO8601 | int | float | float | float | float | float | int | int | float | float | float | float | float | float | float | float | float |
| 20000101T000052Z | 00000000T000000Z | 0 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0.000000 | 0 | 0 | 0.000000 | 0.000000 | -0.150332 | 0.030555 | -0.742760 | 0.003693 | 0.651593 | 0.023955 | 3.663000 |
This file can be imported into the Wonderland platform, as illustrated in the screenshot below:
![[image]](../../wonderland/media/add-file-wonderland.png)
Time Information
| Field | Unit | Datatype | Description |
|---|---|---|---|
| TIME RTC | UTC timestamp | ISO8601 or int | real-time clock timestamp in ISO8601 format or unix-time |
| TIME GPS | GPS timestamp | ISO8601 or int | real-time clock timestamp in ISO8601 format or unix-time |
Positioning Data
| Field | Unit | Datatype | Description |
|---|---|---|---|
| FIX TYPE | enum | int | GPS fix type (0: invalid, 1: GPS, 2: SBAS) |
| LAT | ° | float | WGS84 latitude |
| LON | ° | float | WGS84 longitude |
| ALT | m | float | WGS84 altitude |
| HDOP | 1 | float | horizontal dilution of precision |
| VDOP | 1 | float | vertical dilution of precision |
| SATELLITES | 1 | int | number of satellites in view |
| TTF | s | int | time to fix |
System Metrics
| Field | Unit | Datatype | Description |
|---|---|---|---|
| UPTIME | s | int | GPS activity time |
| TEMP MCU | °C | float | device temperature |
| V BAT | V | float | batery supply voltage |
Accelerometer Statistics
Mean and variance values for X, Y, and Z axes (in G and G²). The device requires an IMU to provide this data type.
| Field | Unit | Datatype | Description |
|---|---|---|---|
| AX MEAN | G | float | x acceleration mean |
| AX VAR | G² | float | x acceleration variance |
| AY MEAN | G | float | y acceleration mean |
| AY VAR | G² | float | y acceleration variance |
| AZ MEAN | G | float | x acceleration mean |
| AZ VAR | G² | float | z acceleration variance |
Data Import on Wonderland
The position file can be imported into the Wonderland platform, as illustrated in the screenshot below:
![[image]](../../wonderland/media/add-file-wonderland.png)
Realtime IMU Data File
This file records inertial measurement unit (IMU) sampling data and includes the following fields:
| Field | Unit | Datatype | Description |
|---|---|---|---|
| TIME RTC | UTC timestamp | ISO8601 or int | real-time clock timestamp in ISO8601 |
| format or unix-time | |||
| FIFO TIME | µs | int | High-resolution IMU sample timestamp |
| TEMP IMU | °C | int | Temperature of the inertial measurement unit |
| ACC X | G | float | Acceleration along the x axis |
| ACC Y | G | float | Acceleration along the y axis |
| ACC Z | G | float | Acceleration along the z axis |
| GYR X | G | float | Angular velocity around the x axis |
| GYR Y | G | float | Angular velocity around the y axis |
| GYR Z | G | float | Angular velocity around the z axis |
Example .IMU file snippet:
# Device: E48C89845E725F59
TIME RTC,FIFO TIME,TEMP IMU,ACC X,ACC Y,ACC Z,GYR X,GYR Y,GYR Z
EPOCH,us,deg C,m/s2,m/s2,m/s2,deg/s,deg/s,deg/s
int,int,int,float,float,float,float,float,float
1773950896,19049220,2644,0.006836,-0.053711,1.010132,0.381470,-0.198364,0.457764
1773950896,19089220,2596,0.005981,-0.053223,1.010986,0.350952,-0.205994,0.434875
1773950896,19129220,2596,0.007202,-0.054199,1.010742,0.358582,-0.221252,0.442505
1773950896,19169220,2644,0.005859,-0.055420,1.011108,0.366211,-0.190735,0.434875
1773950896,19209220,2644,0.006958,-0.053223,1.011108,0.320435,-0.190735,0.404358
1773950896,19249220,2644,0.006348,-0.053833,1.010376,0.389099,-0.190735,0.457764
1773950896,19289220,2596,0.006226,-0.054565,1.011719,0.411987,-0.190735,0.457764
1773950896,19329220,2644,0.006226,-0.054077,1.011475,0.350952,-0.190735,0.442505
1773950896,19369220,2644,0.006104,-0.053467,1.010742,0.381470,-0.175476,0.404358
1773950896,19409220,2644,0.006714,-0.054077,1.009888,0.373840,-0.167847,0.419617
1773950896,19449220,2644,0.006104,-0.053955,1.010010,0.350952,-0.198364,0.427246
1773950896,19489220,2644,0.006470,-0.054199,1.011841,0.373840,-0.236511,0.480652
1773950896,19529220,2644,0.006104,-0.053955,1.010132,0.358582,-0.213623,0.457764
1773950896,19569220,2644,0.006348,-0.053467,1.011108,0.320435,-0.198364,0.457764
1773950896,19609220,2596,0.006714,-0.054321,1.010010,0.389099,-0.221252,0.465393
1773950896,19649220,2644,0.006470,-0.054443,1.010620,0.404358,-0.221252,0.442505
LOG Files (.LOG file)
The .LOG file provides debugging information throughout the deployment. It contains the configuration log and captures a complete device boot and lifecycle: configuration loading, LoRaWAN network joining, IMU initialization, and SD card data logging.
Example of the .LOG file:
AT Command : Configuration Property : Value
----------------------------------------------------------------------------------------------------------------------
AT+TX_INTERVAL_SEC : normalTxInterval_seconds : 60
AT+TX_STANDBY_MIN : standbyTxInterval_minutes : 15
AT+PERIOD : measureInterval_minutes : 15
- : sendLastItemFirst : 1
AT+OP_MODE : measurementEnabled : 1
+ : syncMesurementIntervalToHour : 0
- : ledDisabled : 0
- : enable_imu : 1
- : enable_sdcard : 1
- : enable_imu_log : 1
AT+SD_PERIOD_SEC : samplingInterval_seconds : 15
- : firmware_version : 0.1.0.ffff-devel
AT+TPERIOD : terminatedMeasureInterval_minutes : 0, 0, 0