4
©2019 Software AG. All rights reserved.
2.
After starting the XDK the agent runs in "Registration Mode" and waits until the
registration is accepted in your cumulocity tenant. So you have to accept the
registration in your C8Y tenant. See as well step 2.1.
3.
After accepting the registration in C8Y the XDK agent receives device credentials
and stores these on the SD card.
4.
The XDK restarts and runs now in "Operation Mode". After this you should see
measurements in C8Y.
9
6. Procedure when re-registering device in Cumulocity tenant
1.
Delete entries MQTTUSER und MQTTPASSWORD from the file
config.txt
stored
on the SD card
2.
Delete XDK from Cumulocity Tenant. Navigate to the device in the Cockpit and
delete device
3.
Restart XDK and keep the button with 2 dots pressed for deleting the
configuration on the WIFI flash, see as well handing of
4.
Register XDK again as before.
10
Operate XDK
This section contains all information that is relevant once the XDK is registered in
Cumulocity
11
Execute operations on device
The XDK can receive operations and messages initiated in your C8Y tenant. Operations to
the XDK can either be issued by using:
1.
https://www.cumulocity.com/guides/users-guide/device-
2.
https://www.cumulocity.com/guides/users-
3.
drop-down menue in app Devicemanagment: from the Cumulocity
app
cockpit
and execute "Restart device" from dropdown-menue "More"
The following commands are supported:
•
change streaming rate at which XDK publishes measurements, issued by shell
(option 1.):
o
speed 1000
: to publish measurements every 1000 m, changing the speed is
written to the config file on the WIFI chip