●Command
Sends operational commands to the
●Inquiry
Used for inquiring about the current state of the
| Command Packet | Note |
Inquiry | 8X QQ RR ... FF | QQ1) = Command/Inquiry, |
|
| RR2) = category code |
1)QQ = 01 (Command), 09 (Inquiry)
2)RR = 00 (Interface), 04 (camera 1), 06 (Pan/Tilter)
X = 1 to 7:
●ACK message
Returned by the
●Completion message
Returned by the
| Reply Packet | Note | ||
Ack | X0 | 4Y FF | Y = socket number | |
Completion (commands) | X0 | 5Y | FF | Y = socket number |
Completion (Inquiries) | X0 | 5Y | ... FF | Y = socket number |
X = 9 to F:
●Error message
When a command or inquiry command could not be executed or failed, an error message is returned instead of the completion message.
Error Packet | Description |
X0 6Y 02 FF | Syntax Error |
X0 6Y 03 FF | Command buffer full |
X0 6Y 04 FF | Command cancelled |
X0 6Y 05 FF | No socket (to be cancelled) |
X0 6Y 41 FF | Command not executable |
X = 9 to F:
Command List
Socket numberWhen command messages are sent to the
As the completion message or error message also has a socket number, it indicates which command has ended. Even when two command buffers are being used at any one time, an
The ACK message is not returned for these commands and inquiries, and only the completion message of socket number 0 is returned.
Command execution cancelTo cancel a command which has already been sent, send the Cancel command as the next command. To cancel one of any two commands which have been sent, use the cancel message.
| Cancel Packet | Note |
Cancel | 8X 2Y FF | Y = socket number |
X = 1 to 7:
The Command canceled error message will be returned for this command, but this is not a fault. It indicates that the command has been canceled.
20