6
©2019 Software AG. All rights reserved.
•
ACCEL=<TRUE TO SEND MEASUREMENTS, FALSE OTHERWISE> | default-value true
# unit g
•
GYRO=<TRUE TO SEND MEASUREMENTS, FALSE OTHERWISE> | default-value true
•
MAG=<TRUE TO SEND MEASUREMENTS, FALSE OTHERWISE> | default-value true
•
ENV=<TRUE TO SEND MEASUREMENTS, FALSE OTHERWISE> | default-value true
# unit
temp C, pressure hPa
•
LIGHT=<TRUE TO SEND MEASUREMENTS, FALSE OTHERWISE> | default-value true
# unit
Lux
•
NOISE=<TRUE TO SEND MEASUREMENTS, FALSE OTHERWISE> | default-value false
#
with the defined streamrate:
•
STREAMRATE=<SPEED TO SEND MEASUREMENTS TO C8Y IN MILLISECONDS> | default-value
5000
Measurements types can be switched on/off in
config.txt
by setting the value
to
TRUE
,
FALSE
.
NOTE: Make sure you use Unix line endings instead of Windows line endings. Otherwise
the config file cannot be parsed correctly.
NOTE: Don't use blanks anywhere in the file. After the last config line a newline is
required.
The configuration for the XDK uses two sources:
•
file
config.txt
on the SDCard
•
file
config.txt
on the filesystem of the WIFI chip
When registering the XDK a config on an SD card has to be inserted in the XDK. Upon
sucessful registration, i.e. device receives credentials from Cumulocity, the config value
including the
MQTTUSER
,
MQTTPASSWORD
are written to the config file on WIFI. From then on
the XDK can operate without an SDCard.
Nevertheless in certain situations it is helpful to only change the WIFI settings and keep
all the other settings. Then one can set values for
WIFISSID
,
WIFIPASSWORD
in
the
config.txt
on SD and thus overwrite settings stored on the file system of the WIFI
chip. The values defined in the config on the SDCard always take precedence.
NOTE: When setting up a hot spot for the WIFI connection, mak esure you use a network
band of 2.4GHz, the XDK only supports this band.
In addition to the above listed measurements the battery staus is send ervery minute.
15
Status indicated by LEDs
Red
Orange
Yellow
Mode
Status
Possible Cause
Blinking
Off
Off
Operation
&
Registration
Starting