DescriptionRemote fetch device status (attributes and logs) command
This CL introduces a remote command that enables device administrators to remotely fetch device status (attributes and logs). Attributes were being uploaded every 3 hours and logs every 12 hours from the device side, and there was no way to trigger a remote refresh.
More context can be found by reading the design doc go/remote-audio-management
The new functionality was manually tested; remote reboot command was hijacked and rewired to decode into this command and then on the server side (CPanel admin) I clicked on "REBOOT NOW" and I observed the device attributes and logs being updated.
P.S. I've also fixed up some linter errors.
BUG=686389
TEST=Manually tested new behaviour.
Review-Url: https://codereview.chromium.org/2765463002
Cr-Commit-Position: refs/heads/master@{#459037}
Committed: https://chromium.googlesource.com/chromium/src/+/35b9ec40290254e484cc17e76ee5205b618e23c9
Patch Set 1 #
Total comments: 3
Patch Set 2 : Removed comment, added bool guard #Patch Set 3 : Missed one place for bool guard #Patch Set 4 : Also added log fetching to command #
Total comments: 8
Patch Set 5 : Addressed Drew's comments, treating StatusUploader and SystemLogUploader as one #Messages
Total messages: 39 (30 generated)
|