Техническая Спецификация для 4d Systems uCAM-II
4D SYSTEMS µCAM-II
© 2014 4D SYSTEMS Page 12 of 25 www.4dsystems.com.au
µC
AM
–
II
Se
rial
Ca
mer
a M
od
ul
e
6.9. ACK (AA0Eh)
This command indicates the success of the last operation. After receiving any valid command, the ACK
command must be sent out except when getting data. The host can issue this command to request image data
package with the desired package ID after receiving the DATA command from the uCAM-II. The host should
send this command with package ID F0F0h after receiving a package to end the package transfer.
command must be sent out except when getting data. The host can issue this command to request image data
package with the desired package ID after receiving the DATA command from the uCAM-II. The host should
send this command with package ID F0F0h after receiving a package to end the package transfer.
Note: the field “command ID” should be 00h when request is for image data package.
6.9.1. Command ID
The command with that ID is acknowledged by this command.
6.9.2. ACK Counter
For debug only.
6.9.3. Package ID
For acknowledging the DATA command, these two bytes represent the requested package ID. For
acknowledging other commands, these two bytes are set to 00h.
acknowledging other commands, these two bytes are set to 00h.
6.10. NAK (AA0Fh)
This command indicates corrupted transmission or unsupported features.
6.10.1. NAK Counter
For debug only
6.10.2. Error Number
Picture Type Error
01h
Parameter Error
0Bh
Picture Up Scale
02h
Send Register Timeout
0Ch
Picture Scale Error
03h
Command ID Error
0Dh
Unexpected Reply
04h
Picture Not Ready
0Fh
Send Picture Timeout
05h
Transfer Package Number Error
10h
Unexpected Command
06h
Set Transfer Package Size Wrong
11h
SRAM JPEG Type Error
07h
Command Header Error
F0h
SRAM JPEG Size Error
08h
Command Length Error
F1h
Picture Format Error
09h
Send Picture Error
F5h
Picture Size Error
0Ah
Send Command Error
FFh
6.11. LIGHT (AA13h)
The host issues this command to change the light frequency (hum) response of the uCAM-II.
6.11.1. Light Frequency Type
50Hz
00h
60Hz
01h