XDL120 | User Manual
10 | 25
Data subj ect to change without notice
Bosch Connected Devi ces and Sol utions
Three different nodes in the config.xml file are available for user configuration:
Sensors: Configuration for all the sensors
System: Configuration such as auto save and data format
Data Transfer: Configuration for enabling/disabling WLAN and configuring the time server
Once the application is started and can read the configurations properly, data logging can be started and stopped by simply
pressing button one. When data logging is started it needs to be stopped and the XDK turned off before the SD card should
be removed. This is necessary because the XDL120 does not integrate auto detection regarding a removed SD card and
will show unintended behavior. Please note that errors are displayed via the onboard LEDs of the XDK. For information
about them please refer to section 2.5 where these are explained in detail.
CAUTION:
Do not alter the name or sequence of the tags.
Do not remove any of the tags in the XML file.
Do not add any in-appropriate value OR out of range value to the corresponding tag.
“Enabled” tag should contain the value as either true or false.
3.5.1
Sensor configuration
The XDK provides an accelerometer (Bosch Sensortec BMA280), gyroscope (Bosch Sensortec BMG160), magnetometer
(Bosch Sensortec BMM150), inertial measurement unit (Bosch Sensortec BMI160), a combined temperature, humidity and
pressure sensor (Bosch Sensortec BME280) and a light sensor (Maxim MAX44009). These sensors are configured in the
config.xml file. Details on the sensors can be found in the “XDK General Information” guide (
www.xdk.io
). Each sensor has
a specific set of parameters that can be configured to the need of the use case. The XML configuration file contains already
all sensor configuration settings. Each sensor can be independently enabled or disabled by selecting the enable tag.
<enabled>
true
</enabled>
to enable the sensor
<enabled>
false
</enabled>
to disable the sensor
The following excerpt shows a sample of the configurable XDK sensors of the config.xml file with only the BMA280
acceleration sensor enabled.
<sensors>
<bmi160>
<enabled>
true
</enabled>
<gyro_odr>
0x0c
</gyro_odr>
<gyro_bw>
0x00
</gyro_bw>
<gyro_range>
0x04
</gyro_range>
<accel_odr>
0x0c
</accel_odr>
<accel_bw>
0x00
</accel_bw>
<accel_range>
0x03
</accel_range>
</bmi160>
<bmm150>
<enabled>
true
</enabled>
<odr>
0x07
</odr>
<rep_xy>
0x03
</rep_xy>
<rep_z>
0x03
</rep_z>
</bmm150>
<bma280>
<enabled>
true
</enabled>