tools: cloud: kv_state: improve output - #148
Merged
Merged
Conversation
Add an option to `infuse cloud device kv_state` to display the raw hex value of the key, instead of the decoded data. Signed-off-by: Jordan Yates <jordan@embeint.com>
Display the key IDs in the `infuse cloud device kv_state` output. Signed-off-by: Jordan Yates <jordan@embeint.com>
Add an option to `infuse cloud device kv_state` to display the base64 encoded value of the key, instead of the decoded data. Signed-off-by: Jordan Yates <jordan@embeint.com>
Add a script which finds the default schedules in a Zephyr `.elf` file and outputs them to the terminal. This can simplify the process of generating the base64 encoded string needed to update the KV store on the cloud. 1. Recompile application with desired new schedule 2. Run `elf_task_schedules.py --base64` to get the value to set Signed-off-by: Jordan Yates <jordan@embeint.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Improve the output of
infuse cloud device kv_stateto make it more useful (hex and base64 output options).Add a script which finds the default schedules in a Zephyr
.elffileand outputs them to the terminal. This can simplify the process of
generating the base64 encoded string needed to update the KV store on
the cloud.
elf_task_schedules.py --base64to get the value to set