15

Preset Position

Number position = 0 Indicates preset position number after moving to

preset position. In other cases, position = NA.
Fan status fan = 0 Indicates status of fan. 1 means error.

Intelligent tracking

status track_status = 0 Indicates status of Intelligent tracking

. 0 means
completed, 1 means waiting for specifying target, 2 means
tracking, 3 means losing., and 4 means searching.
* In VN-
V686 before v1.02, this information is not
available.
* "searching" is available for VN-V685/686B
from
VN-V685/686B v2.00.

3. API to Search VN-V685/686/686B
VN-V685/686/686B in LAN can be searched by broadcast packet that includes this API.

Search VN-V685/686/686B in LAN

Protocol Send udp packet with following text in UDP payload to destination port number 80. Source port number
can be any value.
system.id<CRLF>
Response VN-V685/686/686B that received this packet sends udp packet to the source port number of the search
packet. UDP payload of response packet has model name, IP address, and subnet mask. VN-V685/686/686B waits
0-0.7 second before sending response to avoid too many responses are sent in short period from many
VN-V685/686/686Bs.
Response Example of VN-V685 system.id=VN-V685U(192.168.0.2/24)&200 OK<CRLF>
4. Getting Alarm from VN-V685/686/686B

4.1. Procedure

1) The client establishes a TCP connection to port number 32040.
2) When motion is detected from the video image of VN-V685/686/686B, or when there are changes to the alarm input
(make or break), VN-V685/686/686B will send out alarm information in the following format. The first 2 lines indicate
the current alarm input status (make or break). The following 1 line indicates whether motion has been detected.
peripheral.input_pin.pin(1).status=break<CRLF>
peripheral.input_pin.pin(2).status=break<CRLF>
video.input(1).detection(motion).status=on<CRLF>
3) The client can disconnect TCP32040 to end the alarm acquisition.