syntax = "proto3";

package zsy;

message MQTTConfig {
  message Cli {
    string sn = 1;
    string name = 2;
    string ip = 3;
    uint32 port = 4;
    string client_id = 5;
    string username = 6;
    string passwd = 7;
  }
  message Svr {
    // 编号
    string sn = 1;
    // 名称
    string name = 2;
    // 端口
    uint32 port = 4;
  }
  Svr svr = 1;
  repeated Cli clis = 2;
}