NET_DVR_DEVICEINFO_V30

Device parameter structure (V30).

Device Parameter Structure (V30)

Member

Data Type

Description

sSerialNumber

BYTE

Device serial No.

byAlarmInPortNum

BYTE

Number of analog alarm inputs

byAlarmOutPortNum

BYTE

Number of analog alarm outputs

byDiskNum

BYTE

Number of HDDs

byDVRType

BYTE

Device type

byChanNum

BYTE

Number of analog channels

byStartChan

BYTE

Start No. of analog channel, which starts from 1.

byAudioChanNum

BYTE

Number of two-way audio channels

byIPChanNum

BYTE

Number of digital channels, low 8-bit.

byZeroChanNum

BYTE

Number of channel-zero

byMainProto

BYTE

Transmission protocol type of main stream: 0-private protocol (default), 1-RTSP, 2-private protocol+RTSP

bySubProto

BYTE

Transmission protocol type of sub-stream: 0-private protocol (default), 1-RTSP, 2-private protocol+RTSP

bySupport

BYTE

Capabilities, if the result of bitwise operation is 0, it refers that the capability is not supported, if the result is 1, it indicates that the capability is supported.

  • bySupport&0x1: whether supports VCA search.

  • bySupport&0x2: whether supports backup.

  • bySupport&0x4: whether supports getting encoding parameters.

  • bySupport&0x8: whether supports dual-NIC.

  • bySupport&0x10: whether supports remote SADP.

  • bySupport&0x20: whether supports RAID card.

  • bySupport&0x40: whether supports searching in IPSAN directory.

  • bySupport&0x80: whether supports RTP over RTSP.

bySupport1

BYTE

Extended capabilities, if the result of bitwise operation is 0, it refers that the capability is not supported, if the result is 1, it indicates that the capability is supported.

  • bySupport1&0x1: whether supports SNMP with version 30.

  • bySupport1&0x2: whether supports playback and downloading video files.

  • bySupport1&0x4: whether supports setting the arming priority.

  • bySupport1&0x8: whether supports extending the arming time period.

  • bySupport1&0x10: whether supports multiple HDDs (more than 33).

  • bySupport1&0x20: whether supports RTP over RTSP.

  • bySupport1&0x80: whether supports license plate recognition alarm.

bySupport2

BYTE

Extended capabilities, if the result of bitwise operation is 0, it refers that the capability is not supported, if the result is 1, it indicates that the capability is supported.

  • bySupport2&0x1: whether supports getting stream via URL.

  • bySupport2&0x2: whether supports FTP with version 40.

  • bySupport2&0x4: whether supports ANR.

  • bySupport2&0x20: whether supports getting device status.

  • bySupport2&0x40: whether supports encrypting stream.

wDevType

WORD

Device model

bySupport3

BYTE

Extended capabilities, if the result of bitwise operation is 0, it refers that the capability is not supported, while, if the result is 1, it indicates that the capability is supported.

  • bySupport3&0x1: whether supports multi-stream.

  • bySupport3&0x4: whether supports configuring by group (e.g., image, alarm input, alarm output, user, device status, JPEG picture capture, continuous and scheduled capture, .HDD group management, and so on).

  • bySupport3&0x20: whether supports getting stream via DDNS.

byMultiStreamProto

BYTE

Whether supports multi-stream, if the result of bitwise operation is 0, it refers to not support, if the result is 1, it refers to support.

  • byMultiStreamProto&0x1: whether supports third-stream.

  • byMultiStreamProto&0x2: whether supports fourth-stream.

  • byMultiStreamProto&0x40: whether supports main stream.

  • byMultiStreamProto&0x80: whether supports sub-stream.

byStartDChan

BYTE

Start No. of digital channel, 0-no digital channel (e.g., DVR, network camera).

byStartDTalkChan

BYTE

Start No. of two-way audio channel, 0-no two-way audio channel.

byHighDChanNum

BYTE

Number of digital channels, high 8-bit.

bySupport4

BYTE

Extended capabilities, if the result of bitwise operation is 0, it refers that the capability is not supported, if the result is 1, it indicates that the capability is supported.

  • bySupport4&0x01: whether all stream types support RTSP and private protocol.

  • bySupport4&0x02: whether the device supports transmitting form format data via API (NET_DVR_STDXMLConfig).

  • bySupport4&0x10: whether supports loading network disk by domain name.

byLanguageType

BYTE

Supported language types, if the result of bitwise operation is 0, it refers to not support, if the result is 1, it refers to support.

  • byLanguageType ==0: this field is not supported by device.

  • byLanguageType&0x1: whether supports Chinese.

  • byLanguageType&0x2: whether supports English.

byVoiceInChanNum

BYTE

Number of audio input channels

byStartVoiceInChanNo

BYTE

Start No. of audio input channel, 0-invalid.

byRes3

Array of BYTE

Reserved, set to 0.

byMirrorChanNum

BYTE

Number of mirror channels

wStartMirrorChanNo

WORD

Start No. of mirror channel

byRes2

Array of BYTE

Reserved, set to 0.

Remarks

  • The maximum number of digital channels equal to byIPChanNum+byHighDChanNum*256.

  • For login via text protocol, the following parameters are not supported: byMainProto, bySubProto, bySupport, bySupport1, bySupport2, bySupport3, bySupport4, bySupport5, bySupport6, bySupport7, byMultiStreamProto, byStartDTalkChan, byVoiceInChanNum, byStartVoiceInChanNo, byMirrorChanNum, and wStartMirrorChanNo.