13
Sony Simple Camera Protocol
Appendix
Example of State Machine diagram for your system
Command Process
Watch Status Process
Waiting a command
from CNA-1
Your system startup
Command validation
Command filtering
NOP, put off
the command
Change your system
status
Command recieved
Established
Not established
Find a status
change
No status
changed
Connection refused
Connection refused
Status change
complete
Valid command
Operative
command
Send
complete
Status must be
sent to Camera/Panel
Send failed
(Connection refused)
Your system
power off
Status must not
be sent to Camera/
Panel
Unknown
command
Invalid
command
Return
to start
Start
Checking your system
status
Analyze changed
status
Send command to
CNA-1
Return
to start
Return
to start
Connecting to
CNA-1 (TCP)