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

PLA-530 AutoPi by serial #12

Merged
merged 1 commit into from
Dec 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 231 additions & 0 deletions api/devices/aftermarket_devices.pb.go

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

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

option go_package = "github.com/DIMO-Network/shared/api/devices";

package devices;

service AftermarketDeviceService {
rpc GetDeviceBySerial(GetDeviceBySerialRequest) returns (AftermarketDevice);
}

message GetDeviceBySerialRequest {
string serial = 1;
}

message AftermarketDevice {
string serial = 1;
optional uint64 vehicle_token_id = 2;
}
106 changes: 106 additions & 0 deletions api/devices/aftermarket_devices_grpc.pb.go

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