Member |
Data Type |
Description |
---|---|---|
struDevIP |
Device IP address |
|
wPort |
WORD |
Device port No. |
byChannel |
BYTE |
Device channel No. |
byIvmsChannel |
BYTE |
Device channel No. for the HCNetSDK to access the device. |
When accessing to device A, see the following figure for details.
When the analog channel alarm of connected device (IPC, DVR, DVS, iVMS) is triggered, struDevIP and wPort are the IP address and port No. of connected device; byChannel and byIvmsChannel are both the alarm analog channel No.
When the digital channel (IP channel) alarm of connected device (HDVR, NVR, iVMS) is triggered, struDevIP, wPort and byChannel are the IP address, port No., and channel No. of connected device, respectively; byIvmsChannel is the digital channel. In the above figure, the channel No.1 of device B1 and the channel No.1, 2 of device B2 are used as channel No.1, 2, 3 of the connected device A; struDevIP, wPort, and byChannel are the IP address, port No. and channel No. of B1 or B2; byIvmsChannel is the digital channel No. of device A. E.g., if the behavior analysis alarm of channel No.2 of device B2 is triggered, struDevIP is 192.168.0.12, wPort is 8002, byChannel is 2 and byIvmsChannel is 3 in the received alarm message.