EasyManua.ls Logo

Bosch XDK - Register XDK in C8 Y tenant; Prepare SD card; Register XDK in Cumulocity & upload SMART Rest Template

Bosch XDK
12 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 ©2019 Software AG. All rights reserved.
configuration to the tenant. So in the devicemanagment app you can view always the
currently active configuration.
But before running the XDK in OPERATION mode you have to register the device in your
Cumulocity tenant. Initially the XDK is in REGISTRATION mode. The registration is
achieved automatically through the bootstrap meachnism. This is described in further
detail here.
After successful registration - device credentials are received by the XDK - the XDK
restarts automatically. Commands can be send from the Cumulocity App
Devicemanagement to change the sensor speed, toogle an LED or switch on/off sensors,
see documentation https://www.cumulocity.com/guides/users-guide/device-
management/#shell .
back to content
3 Register XDK in C8Y tenant
1. Prepare SD card
2. Register XDK in Cumulocity & Upload SMART Rest Template
3. Install XDK Workbench 3.6.1: https://developer.bosch.com/web/xdk/downloads
4. Prepare project
5. Flash your C8Y Device Agent on your XDK
6. Procedure when re-registering device in Cumulocity tenant
4 1. Prepare SD card
NOTE: Make sure your SD card is smaller than 32GB, otherwise it can't be formatted in
the FAT filesystem format
1. Format SD in FAT format
2. Adapt settings in config.txt and copy to SD card. A template for config.txt exists
in the project "cumulocity-xdk-agent/resources". Ideally you only need to
change WIFISSID and WIFIPASSWORD.
5 2. Register XDK in Cumulocity & upload SMART Rest
Template
1. Before starting the XDK a C8Y device registration for the XDK has to be created in
your C8Y tenant, please see [here](https://www.cumulocity.com/guides/users-
guide/device-management for a detailed description. For this resgitration you
need the external device ID. This is decribed in the next step.