Create the telemetry-app.cfg file for the
telemetry application, with the token that has been created for in the Device Cloud.
-
Create an application connection configuration file for the
telemetry application called telemetry-app.cfg.
The file name must match the application ID that is specified
in the application's initialization code. For the telemetry application, the
ID is telemetry-app, so the configuration file must be named telemetry-app.cfg.
-
Add the cloud object and the token attribute, and for the
value, paste the token you copied to a temporary file earlier.
The token string must match the one that has already been
created for this application in the Device Cloud management portal
(hdc_simple_telemetry_clib_app).
For example:
{
"cloud": {
"token": "wY5jQXenoMDhVbaV"
}
}