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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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. |
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.