NET_DVR_ALARMHOST_OTHER_STATUS_V51

Peripherals Status Structure

Member

Data Type

Description

dwSize

DWORD

Structure size.

bySirenStatus

Array of BYTE

Siren status, 0xff-invalid, 0-siren is not triggered, 1-siren triggered, 2-no siren linked, 3-the siren is offline, 4-heartbeat exception. The maximum size is 8 bytes (value of macro definitinon "ALARMHOST_MAX_SIREN_NUM").

byDetetorPower

Array of BYTE

Detector battery status, 0xff-invalid, the power value is between 0 and 100. By default, if the power value is below 20, the battery status is in low battery, it is valid only when byDetetorPowerType is 0. The maximum size is 256 bytes (value of macro definition "MAX_DETECTOR_NUM_V51").

byDetetorConnection

Array of BYTE

Detector connection status, 0xff-invalid, 0-unregistered, 1-offline, 2-online, 3-heartbeat exception. The maximum size is 256 bytes (value of macro definition "MAX_DETECTOR_NUM_V51").

bySirenPower

Array of BYTE

Siren battery status, 0-invalid, 1-normal, 2-low battery. The maximum size is 8 bytes (value of macro definition "ALARMHOST_MAX_SIREN_NUM").

bySirenTamperStatus

Array of BYTE

Siren anti-tampering status, 0-invalid, 1-anti-tampering is enabled, 2-anti-tampering is disabled. The maximum size is 8 bytes (value of macro definition "ALARMHOST_MAX_SIREN_NUM").

byPowerStausEnabled

Array of BYTE

Detector battery status, 0-invalid, 1-valid. The maximum size is 256 bytes (value of macro definition "MAX_DETECTOR_NUM_V51").

byDetetorPowerStatus

Array of BYTE

Detector battery status, 0-normal, 1-low battery. The maximum size is 256 bytes (value of macro definition "MAX_DETECTOR_NUM_V51").

byDetetorPowerType

BYTE

Detector battery display modes, 0-by power value (byDetetorPower), 1-by battery status (byPowerStausEnabled and byDetetorPowerStatus).

byRes

Array of BYTE

Reserved. The maximum size is 431 bytes.