Appendix A: Command Set Of Camate - Vivotek CaMate Series User Manual

Table of Contents

Advertisement

Appendix A: Command set of CaMate

Protocol:
To avoid communication conflicts when several devices trying to send data at the same time, all
transmission and reception are controlled by the host computer. The basic form is a
command/response protocol with the host initiating the sequence. When the CaMate devices are not
transmitting, they are in the listening mode. The host sends a command to CaMate with a specified
address and waits a certain amount of time for the CaMate devices to respond.
The format for a command is:
Byte1
Byte2
Sync Byte
Address
All values below are shown in hexadecimal.
The synchronization byte is always 0xFF.
The address is the logical address of the CaMate being controlled.
The checksum is the 8‐bit sum of the payload bytes (bytes2 through 7) in the command.
Command set Table: default address is 0x01
Command Name
Command Syntax
Software Reset
FF 01 10 00 00 00 01 12
Read Serial No
FF 01 14 00 00 00 00 15
Read Model ID
FF 01 15 00 00 00 00 16
Read F/W version
FF 01 16 00 00 00 00 17
Read Max/Default
FF 01 17 00 00 00 00 18
current
Read Lens angle
FF 01 18 00 00 00 00 19
Read Factory date
FF 01 19 00 00 00 00 1A
Read Factory time
FF 01 1A 00 00 00 00 1B
Read Configuration
FF 01 20 00 00 00 00 21
Data
Write Configuration
FF 01 21 dd dd dd dd chks
Byte3
Byte4
Command
Data1
Reply: FF 01 14 (data) chks, data: 16‐bytes
Reply: FF 01 15 dd dd dd dd chks, dddd dddd = model ID
Reply: FF 01 16 dd dd cc cc chks, dddd: version, cccc: checksum
Reply: FF 01 17 00 mm 00 cc chks, mm: percentage of max current ,
cc: percentage of default current
Reply: FF 01 18 pp qq rr ss chks, unit: degree
pp: Lens1 tele angle, qq: Lens1 wide angle
rr: Lens2 tele angle, ss: Lens2 wide angle
Reply: FF 01 19 yy yy mm dd chks,
yyyy/mm/dd = year/month/day
Reply: FF 01 1A 00 hh mm ss chks,
hh/mm/ss = hours/minutes/seconds
Reply: FF 01 20 dd dd dd dd chks,
dddd dddd: 32‐bit configuration data
configuration data dddd dddd: (bold font is default value)
Available from A1 Security Cameras
www.a1securitycameras.com email: sales@a1securitycameras.com
Byte5
Byte6
Data2
Data3
Description
Byte7
Byte8
Data4
Checksum
26

Advertisement

Table of Contents
loading

Table of Contents