15
Sony Simple Camera Protocol
Example of Startup Sequence (your system works as Camera)
CNA-1
S
ony Control P
a
nel
Yo
u
r
s
y
s
tem
(work
as
C
a
mer
a
)
1:
S
t
a
rt
u
p ( )
3
:
S
t
a
rt
u
p ( )
2:
S
t
a
rt
u
p ( )
4: [
s
ocket] li
s
ten (port: XXXX)
7: [
s
ocket] li
s
ten (port: 7000)
14: ch
a
nge_c
a
mer
a
_
s
t
a
t
us
( )
5: [
s
ocket] connect (port: XXXX)
1
3
: [
SS
CP]
s
end_comm
a
nd ( )
16: [
S
PP] reply_c
a
mer
a
_
s
t
a
t
us
( )
17: Refre
s
h_di
s
pl
a
y ( )
15: [
SS
CP] reply_comm
a
nd ( )
6: [
s
ocket]
a
ccept ( )
8
: [
s
ocket] connect (port: 7700)
9: [
s
ocket]
a
ccept ( )
10: [
S
PP]
s
t
a
rt_
s
e
ss
ion ( )
11: [
S
PP]
s
e
ss
ion_
a
ccept ( )
12: [
S
PP]
s
c
a
n_c
a
mer
a
_
s
t
a
t
us
( )
Thi
s
port n
u
m
b
er c
a
n
b
e
s
et to
a
ny port other
th
a
n 7700 or 1-102
3
.