NET_DVR_VIDEO_INTERCOM_ALARM

Video intercom alarm information structure

Structure Definition

struct{
  DWORD                                      dwSize;
  NET_DVR_TIME_EX                            struTime;
  BYTE                                       byDevNumber[MAX_DEV_NUMBER_LEN/*32*/];
  BYTE                                       byAlarmType;
  BYTE                                       byRes1[3];
  NET_DVR_VIDEO_INTERCOM_ALARM_INFO_UNION    uAlarmInfo;
  BYTE                                       wLockID
  BYTE                                       byRes2[254];
}NET_DVR_VIDEO_INTERCOM_ALARM, *LPNET_DVR_VIDEO_INTERCOM_ALARM;

Members

dwSize

Structure size.

struTime

Alarm time, refer to the structure NET_DVR_TIME_EX for time format.

byDevNumber

Device No.

byAlarmType

Alarm type: 1-zone alarm, 2-tampering alarm, 3-duress alarm, 4-opening door by password failed for multiple times, 5-opening door failed, 6-closing door failed, 7-panic alarm), 8-intercom alarm, 9-smart lock: fingerprint duress alarm, 10-smart lock: password duress alarm, 11-smart lock: tampering alarm, 12-smart lock: locked alarm, 13-smart lock: low battery alarm, 14-blocklist alarm, 15-smart lock disconnected, 16-access control module: anti-tampering alarm, 17-video intercom started, 18-video intercom stopped.

byRes1

Reserved, set to 0.

uAlarmInfo

Alarm information, it is valid when byAlarmType equals to 1. Refer to the union NET_DVR_VIDEO_INTERCOM_ALARM_INFO_UNION for details.

wLockID

Lock ID, it is valid when alarm type is 5 or 6. When the ID is 0, it represents the lock of door station, when the ID is 1, it represents the lock of external access control module.

byRes2

Reserved, set to 0.