14
Sony Simple Camera Protocol
Example of Startup Sequence (your system works as Controller)
CNA-1
S
ony C
a
mer
a
Yo
u
r
s
y
s
tem (work
s
as
Control p
a
nel)
1:
S
t
a
rt
u
p ( )
3
:
S
t
a
rt
u
p ( )
14: ch
a
nge
c
a
mer
a
s
t
a
t
us
( )
2:
S
t
a
rt
u
p ( )
4: [
s
ocket] li
s
ten (port: 7700)
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
.
S
end
s
t
a
t
us
qu
ery
comm
a
nd(
s
) yo
u
r
s
y
s
tem w
a
nt to receive
17: refre
s
h ( )
5: [
s
ocket] connect (port: 7700)
6: [
s
ocket]
a
ccept ( )
7: [
S
PP]
s
t
a
rt_
s
e
ss
ion ( )
15: [
S
PP] reply_
s
t
a
t
us
( )
8
: [
S
PP]
s
e
ss
ion_
a
ccept ( )
9: [
s
ocket] li
s
ten (port: XXXX)
10: [
s
ocket] connect (port: XXXX)
11: [
s
ocket]
a
ccept ( )
12: [
SS
CP]
s
c
a
n_c
a
mer
a
_
s
t
a
t
us
( )
1
3
: [
S
PP]
s
c
a
n_c
a
mer
a
_
s
t
a
t
us
( )
16: [
SS
CP] reply_
s
t
a
t
us
( )