39 for (
uint i = 0; i < 8; i++)
41 std::vector<uint8_t> cmd;
42 std::vector<uint8_t> ret;
48 cmd.push_back((i<<4) | 0x07);
72 [subunit_type](
int subunit)
73 {
return (subunit != 0xff) &&
79 QString str =
"Subunit Types: ";
82 str +=
"Video Monitor, ";
88 str +=
"Disk Recorder, ";
90 str +=
"Tape Recorder, ";
100 str +=
"Bulletin Board, ";
102 str +=
"Camera Storage, ";
106 str +=
"Vendor Unique, ";
bool IsSubunitType(int subunit_type) const
AVCInfo & operator=(const AVCInfo &o)
virtual bool SendAVCCommand(const std::vector< uint8_t > &, std::vector< uint8_t > &, int)
bool GetSubunitInfo(void)
std::array< uint8_t, 32 > m_unit_table
QString GetSubunitInfoString(void) const
@ kAVCUnitSubunitInfoOpcode
@ kAVCSubunitTypeVideoMonitor
@ kAVCSubunitTypeVendorUnique
@ kAVCSubunitTypeCameraStorage
@ kAVCSubunitTypeDiscRecorder
@ kAVCSubunitTypeVideoCamera
@ kAVCSubunitTypeBulletinBoard
@ kAVCSubunitTypeTapeRecorder
@ kAVCStatusInquiryCommand