split into multibe .proto files
added strict compiler errors
This commit is contained in:
@@ -3,16 +3,6 @@ syntax = "proto2";
|
||||
import "nanopb.proto";
|
||||
|
||||
|
||||
enum UsbPackageType {
|
||||
FIRMWARESTART = 3841; // 0xF01
|
||||
FIRMWAREPACKAGE = 3842; // 0xF02
|
||||
FIRMWAREDONE = 3843; // 0xF03
|
||||
FIRMWAREPACKAGEACK = 3844; // 0xF04
|
||||
FIRMWAREFILECHECK = 3845; // 0xF05
|
||||
FIRMWAREUPDATEDONE = 3846; // 0xF06
|
||||
REQUEST_DEVICE_LIST = 1000;
|
||||
RESPONSE_DEVICE_LIST = 1001;
|
||||
}
|
||||
|
||||
message FirmwareStart {
|
||||
required string name = 1 [(nanopb).max_size = 32];
|
||||
@@ -57,17 +47,3 @@ message FirmwareUpdateDone {
|
||||
|
||||
|
||||
|
||||
message RequestDeviceList {
|
||||
required uint32 msg =1;
|
||||
}
|
||||
|
||||
message Device {
|
||||
required bool available =1;
|
||||
required uint32 canid = 2;
|
||||
required uint32 device = 3;
|
||||
required uint32 counter = 4;
|
||||
}
|
||||
|
||||
message ResponseDeviceList {
|
||||
repeated Device devices = 1 [(nanopb).max_count = 18];
|
||||
}
|
||||
Reference in New Issue
Block a user