-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task/store last measure #1670
base: master
Are you sure you want to change the base?
Task/store last measure #1670
Conversation
Similar comment to the one at #1677 (comment) I'd suggest to make the last measure option to use the same approach that with another on/off features (eg. timestamp), that can be set at IOTA instance / group / device level, with the same precedence rules. |
Should this PR include tests cases regarding the new feature? |
doc/admin.md
Outdated
If this flag is activated, last measure arrived to Device IoTAgent without be processed will be stored in Device under | ||
lastMeasure field with in timestamp. This flag is disabled by default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe an example on how the measure is stored would be helpful. By the "will be stored in Device under
lastMeasure field with in timestamp" it is not fully clear (e.g. is a sub-JSON object used for that)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 1f6f3f4
Done in df26df1 |
Tests addresed in this other PR telefonicaid/iotagent-json#848 |
#1669