User Manual
Bobcat 320 Gated
Company confidential.
This document is the property of Xenics. It may not be reproduced – completely or partially – or passed to a third
party without written permission from Xenics.
Xenics nv
T +32 16 38 99 00
Doc Ref: ENG-2012-UMN016
Ambachtenlaan 44
F +32 16 38 99 01
Issue: 002
BE-3001 Leuven
Belgium
www.xenics.com
Date: 09/11/2012
XF-104_02/20-01-2012
Page 25 of 34
crc
= ((
crc
& 0x7f) * 2);
}
}
}
return
crc
;
}
5.1.1.3. Payload Contents for Replies
Message
ID
Meaning
Payload
contents
Size
Description
0x06
ACK
None or Data
0 | Num x 4
No payload for Acknowledge to writes or
Data as reply to reads.
32 bit data (LSB first)
Payload size = Num x 4
0x15
NACK
Error code
4
Negative acknowledge to container format error or
checksum error or unknown message type
Error code:
Bit 0: CRC error
Bit 1: Message Type error
Bit 2: ETB error
Bit 3: Address error
Bit 4: Timeout
Bit 5-31: RFU
Table 5-3 Payload contents for replies
5.1.2.
Text Messages
The camera also supports text-based messages to facilitate debugging. This method is
less efficient in terms of data throughput but is will allow controlling the camera using a
simple terminal interface.
Position
Contents
Size
Remarks
0
#
1
Start of message
1
Register address
2 - 10
32 bit address in decimal (0 – 9) or hexadecimal (0-9, a-f, A-F)
preceded with ‘h’ or ‘H’
2
Operation
1
‘=’ assignment operation
‘?’ inquire operation
3
Value
1 - 10
32 bit value in decimal (0 – 9) or hexadecimal (0-9, a-f, A-F)
preceded with ‘h’ or ‘H’. Only when operation is ‘=’.
4
Carriage return
(0x0d)
1
Press the enter key
Table 5-4 Text-based message container using register address