Skip to content
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

Add Runtime status proto and related networking & UI changes #88

Open
ewc340 opened this issue Apr 10, 2021 · 0 comments
Open

Add Runtime status proto and related networking & UI changes #88

ewc340 opened this issue Apr 10, 2021 · 0 comments
Assignees

Comments

@ewc340
Copy link
Collaborator

ewc340 commented Apr 10, 2021

Add the new Runtime status proto in which Runtime will send important information to us:

/*
 * Defines a message for sending Runtime status updates
 * to Dawn and Shepherd periodically
 */
syntax = "proto3";
option optimize_for = LITE_RUNTIME;
import "run_mode.proto";
message RuntimeStatus {
    bool shep_connected = 1; // whether shepherd is connected
    bool dawn_connected = 2; // whether dawn is connected
    Mode mode = 3;           // run mode
    float battery = 4;       // battery level, in volts
    string version = 5;      // runtime version as a string "1.1.7" for example
}

Also need to add related networking & UI changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants