syntax = "proto2";

import "nanopb.proto";


message RequestDeviceList {
    required uint32 msg =1;
  }
  
  message Device {
    required bool  available =1;
    required uint32 canid = 2;
    required uint32 device = 3;
    required uint32 counter = 4;
    optional uint32 type = 5;
  }
  
  message ResponseDeviceList {
    repeated Device devices = 1 [(nanopb).max_count = 18];
  }