Skip to content

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

@ewc340

Description

@ewc340

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions