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 Victron OS support #13803

Merged
merged 9 commits into from
May 26, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
249 changes: 249 additions & 0 deletions api/proto/pb/victron.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

109 changes: 109 additions & 0 deletions api/proto/pb/victron_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions api/proto/victron.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
syntax = "proto3";

// protoc proto/victron.proto --go_out=. --go-grpc_out=.

option go_package = "proto/pb";

service Victron {
rpc IsValidDevice (VictronRequest) returns (VictronReply) {}
}

message VictronRequest {
string productId = 1;
string vrmId = 2;
string serial = 3;
string board = 4;
}

message VictronReply {
bool authorized = 1;
string subject = 2;
}