IP SCAN UTILITY PROTOCOL 1. Title : Scan IP and Change IP 2. Network Protocol Type : UDP / BROADCAST Port : 64988 3. Packet Structure 3.1 Header Released on 12 Oct. 2011 From Vision Hitech R&D Div. Magic Code(16) Protocol Type(8) Protocol Mode(32) Body Size(32) - Magic Code Type : short Value : 0x7668 - Protocol Type Type : char Value PROTOCOL_TYPE_IPUTILITY : 0x01 - Protocol Mode Value PROTOCOL_MODE_REQ_GET_IPINFO : 0x01 PROTOCOL_MODE_REQ_SET_IPINFO : 0x02 PROTOCOL_MODE_RSP_GET_IPINFO : 0x100 PROTOCOL_MODE_REQ_GET_IPINFO_EXT : 0x03(1.1.0.10 or more) PROTOCOL_MODE_RSP_GET_IPINFO_EXT : 0x101(1.1.0.10 or more) - Body Size Value : Size of packet body
3.2 Body 3.2.1 IP Information IP Address(8 * 16) Gateway IP(8 * 16) Mac Address(8 * 20) Stream Port(32) HTTP Port(32) IP Mode(8) Subnet mask(8 * 16) - IP Address Type : char[16] Value : IP ADDRESS - Gateway IP Address Type : char[16] Value : Gateway Address - Mac Address Type : char[20] Value : MAC ADDRESS - Stream Port Value : PORT NUMBER for video / audio streaming. - HTTP Port Value : HTTP PORT NUMBER - IP mode Type : char Value : 0 -> STATIC, 1 -> DHCP - Sub netmask Type : char[16] Value : subnet mask address
3.2.2 Authentication Info ID(8 * 32) Password(8 * 32) Enc Mode(16) - ID Type : char[32] Value : User ID - Password Type : char[32] Value : Password - Enc Mode Type : short Value : 0 -> Default 3.2.3 Extension Information This is additional information about network device. It is attached to bottom part of Body Packet. There is several kind of Information such as audio in count, audio out count and etc. Each information is consists of Packet which is structured by caption + data length + data. Therefore you can read data which is located in following of data length as referring to data length. Detail information about additional information is below. Caption(8 * 32) Data Length(8 * 4) Data - Caption Type : char[32] Value : Audio In Count : It indicates that how many microphone is using. Audio Out Count : It indicates that how many speaker is using. Alarm In Count : It indicates that how many Alarm in can be controlled
on the network device. Alarm Out Count : It indicates that how many Alarm out can be controlled on the network device. Model Type : There is several kind of model type. VISION Mi : 1.3M IP Camera VISION 3Mi : Full HD IP Camera. VISION NVS102 : Network Video Server VISION i : D1 IP Camera Support Resolution : It indicates that which kind of resolution can be set. Available value : fhd, sxga, hd, 4cif, 2cif, cif, vga, qvga. Firmware Version Video Format : There is two kind of format NTSC or PAL. This value is related with only D1 Camera and Network Video Server System Name : This value is unique value of network device, User can change this value on Web Setup Page at any time. - Data Length Type : Int Value : length of data 4. Instructions 4.1 For Scanning device list - First case of Transaction C ----------------- S [REQUEST] Protocol Mode : PROTOCOL_MODE_REQ_GET_IPINFO Body Size : 0 S ----------------- C [RESPONSE] Protocol Mode : PROTOCOL_MODE_RSP_GET_IPINFO Body Size : Size of body packet IP Address : 192.168.0.1 Gateway IP : 192.168.0.254 MAC Address : 00:11:22:33:44:55
Stream Port : 2700 HTTP Port : 80 IP Mode : 0 Sub Netmask : 255.255.255.0 - Second case of Transaction C ----------------- S [REQUEST] Protocol Mode : PROTOCOL_MODE_REQ_GET_IPINFO_EXT Body Size : 0 S ----------------- C [RESPONSE] Protocol Mode : PROTOCOL_MODE_RSP_GET_IPINFO_EXT Body Size : Size of body packet IP Address : 192.168.0.1 Gateway IP : 192.168.0.254 MAC Address : 00:11:22:33:44:55 Stream Port : 2700 HTTP Port : 80 IP Mode : 0 Sub Netmask : 255.255.255.0 Caption : Audio In Count Data Length : 2 Data : 1 Caption : Audio Out Count Data Length : 2 Data : 1 Caption : Alarm In Count Data Length : 2 Data : 1 Caption : Support Resolution Data Length : 32 Data : hd, vga, qvga.
.. 4.2 For Changing IP Address matching with mac address - Transaction C ----------------- S [REQUEST] Protocol Mode : PROTOCOL_MODE_REQ_SET_IPINFO Body Size : Size of body packet IP Address : 192.168.0.1 Gateway IP : 192.168.0.254 MAC Address : 00:11:22:33:44:55 Stream Port : 8655 HTTP Port : 80 IP Mode : 0 Sub Netmask : 255.255.255.0 ID : admin Password: 1234 Enc Mode : 0