typedef struct {
    int  protocol_id;     //protocol ID
    char  Protocol_Describe[PTZ_PROTOCOL_DESCRIPT_LEN];
}ptz_protocol;

typedef struct PTZ_SUPPORTPROTOCOL{  

  int  structsize;        

  char  dwPtzCount;

  ptz_protocol PtzItemList[PTZ_PROTOCOL_MAX_COUNT];

}ptz_supportprotocol; 

 

ptz_supportprotocol support_rsp={

    sizeof(ptz_supportprotocol),
    3,
    .PtzItemList[0]={ 0, "PELCO_D"},
     .PtzItemList[1]={ 1, "PELCO_P"},
    .PtzItemList[2]={ 2, "GAT647_2006"}
    //.PtzItemList[3]={ 3, "TRANSPARANT"},
};

相关文章:

  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-11-23
  • 2021-11-23
  • 2022-12-23
猜你喜欢
  • 2021-06-11
  • 2022-01-01
  • 2021-11-25
  • 2021-07-15
  • 2021-10-12
  • 2022-12-23
  • 2021-10-06
相关资源
相似解决方案