-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1979 from SoftwareAG/DM-3581-measurement-request-…
…operation-part-2 DM-3582: corrected and improved the measurement request operation docs
- Loading branch information
Showing
3 changed files
with
28 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
content/device-integration/fragment-library-bundle/measurement-request.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
weight: 130 | ||
title: Manual status update | ||
layout: bundle | ||
section: | ||
- device_management | ||
--- | ||
|
||
For cases where devices need a manual trigger for uploading a status update to the platform, the **Get measurements** button in the action bar of a device is available. It is shown when the device's `c8y_SupportedOperations` contains `c8y_MeasurementRequestOperation`. | ||
|
||
This action creates a `c8y_MeasurementRequestOperation` operation. | ||
|
||
```json | ||
{ | ||
"c8y_MeasurementRequestOperation": {} | ||
} | ||
``` | ||
|
||
There is no additional configuration to specify the set of requested data points available. We recommend triggering an upload of the complete device state. | ||
|
||
On receiving the operation the device is expected to perform the following actions: | ||
|
||
1. Set the operation status to EXECUTING. | ||
2. Upload the current status of all data points to the platform. | ||
3. Set the operation status to SUCCESSFUL. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters