syntax = "proto2";
package Communication_can_proto;

message Communication_can_parameter
{
    required int32  can_device_id = 1;                      //can设备ID
    required string can_serial_number = 2;                  //can设备条形码(20个char)
    required int32  can_device_type = 3 [default = 4];      //can设备类型, linux版本默认为4 ,  #define VCI_USBCAN2		4
    required int32  can_port_id = 4 [default = 2] ;         //can设备通道口, 0:开启can0通道口, 1:开启can1通道口, 2:开启双通道口
    required int32  can_baud_rate = 5 [default = 1000] ;    //can设备的波特率, (默认 1000 Kbps)
}

message Communication_can_parameter_all
{
    repeated Communication_can_parameter        communication_can_parameters=1;
}
