NET_DVR_ALARMINFO_V40

Structure About Uploaded Alarm Information

Member

Data Type

Description

struAlarmFixedHeader

NET_DVR_ALRAM_FIXED_HEADER

Constant content in alarm information, see details in the structure .

pAlarmData

DWORD*

Variable content in alarm information

Remarks

  • The time interval to upload the alarm of face picture library changed is 1 hour; for other alarm type, the alarm information is uploaded in real-time, and the time interval is 1s. Currently, editing the time interval is not supported.

  • The content of pAlarmData varies with the value of dwAlarmType in the structure NET_DVR_ALRAM_FIXED_HEADER, see details in the table below:

    Table 1 Relations Between pAlarmData and dwAlarmType

    dwAlarmType

    Description

    pAlarmData

    0, 23

    Alarm input alarm, pulse alarm

    dwTrigerAlarmOutNum*(DWORD) Alarm output No., +dwTrigerRecordChanNum*(DWORD) Channel No.

    2, 3, 6, 9, 10, 11, 13, 15, 16, 19

    Video loss, motion detection, video tampering alarm, video exception, recording exception, scene change, resolution mismatched, VCA detection, PoE power supply exception, audio loss

    dwAlarmChanNum*(DWORD) channel No.

    1, 4, 5

    HDD full, HDD uninitialized, writing to HDD failed

    dwAlarmHardDiskNum*(DWORD) HDD No.

    7, 8, 12, 17, 18, 24, 25, 26

    Standard mismatches, invalid login, array exception, education sharing system alarm, two-way audio request alarm, face library HDD exception, face library changed, picture changed in face picture library

    None