19
Extended commands of Optional Software
“01”:
RCP Status which is represented by bit
info.
bit 1: 0 = Assignment is default, 1 =
Assignment has been changed
bit 0: 0 = not Available, 1 = Available
According to this info, you can see that RCP No.1 is assigned
to Camera No.1, it’s assignment is default value and it is
available on the CNS. The status of RCP No.2 can be parsed
as well.
Change RCP assignment
Now, we change the assignment of RCP No.2 to Camera
No.1. The result should be as follows.
”
The SSCP commands to do this is follows.
“6d,6d,09,fe,12,01,00,02,fe,01,00,00\n”
“6d”:
Command Group of RCP Assignment
“6d”
This means ’Request RCP assignment
change’
“09”
Data length after this parameter
“fe,12”:
Fixed value
“01”:
Number of RCP info which you want to
change
“00”:
Fixed value
“02”:
RCP No.
“fe”:
Fixed value
“01”:
Camera No. to which you want assign
“00,00”:
Fixed value
Send this command and you will receive RCP-02 status info
which was changed as a reply.
“6d,8d,08,fe,12,01,00,02,fe,01,03\n”
“6d”:
Command Group of RCP Assignment
“8d”:
Reply of ’Request RCP assignment
change’
“08”:
Data length after this parameter
“fe,12”:
Fixed value
“01”:
Number of RCP status info. There are
one status info on this command
“00,02,fe,01,03”: Status info of RCP No.2
We already saw how to interpret the status of RCP on the
command in previous section.
In this case, RCP No.2 status of “00,02,fe,01,03” is showing
that it is assigned to Camera No.1, its assignment has been
changed and it is available on the CNS.
So far, we have seen how the SSCP commands work with
RCP assignment in some cases. For more information about
command’s specification, refer the explanation from next
chapter.
RCP Assignment control commands
To control RCP assignment, we provide command group
(CMD-GP) of 0x6d. Since RCP assignment is managed in
CNS Master device, you need one Master device in you CNS,
and the task of CMD-GP 0x6d is communication with Master
device.
Each command in this group is distinguished by PARAM0.
Following list shows all commands in CMD-GP 0x6d:
”
Commands in CMD-GP 0x6d can be classified in three types.
”
RCP Assignment
RCP-01
Camera-01
RCP-02
Camera -01
PARAM0
Task of Command
0x48
Request Camera number range info to CNS Master
device
0x88
Reply of Camera number range info from CNS Master
device
0x49
Request Camera status to CNS Master device
0x89
Reply of Camera status from CNS Master device
0x4a
Request Available Camera status list to CNS Master
device
0x8a
Reply of Available Camera status list from CNS Master
device
0x4b
Request All Camera status list to CNS Master device
0x8b
Reply of All Camera status list from CNS Master device
0x4c
Request RCP number range info to CNS Master device
0x8c
Reply of RCP number range info from CNS Master
device
0x4d
Request RCP status to CNS Master device
0x8d
Reply of RCP status from CNS Master device
0x6d
Request RCP assignment status change to CNS Master
device
0x4e
Request Available RCP status list to CNS Master device
0x8e
Reply of Available RCP status list from CNS Master
device
0x4f
Request All RCP status list to CNS Master device
0x8f
Reply of All RCP status list from CNS Master device
0xad
Request RCP assignment reset to CNS Master device
0xae
Request All RCP assignment reset to CNS Master
device
Type
PARAM0
Task
Request
Reply
Commands
to get
Camera
status
information
0x48
0x88
Get Camera number range info
0x49
0x89
Get Camera status info
0x4a
0x8a
Get Available Camera status info
list
0x4b
0x8b
Get All Camera status info list
Commands
to get RCP
status
information
0x4c
0x8c
Get RCP number range info
0x4d
0x8d
Get RCP status info
0x4e
0x8e
Get Available RCP status info list
0x4f
0x8f
Get All RCP status info list
Commands
to change
RCP
assignment
status
0x6d
–
Change RCP assignment status
0xad
–
Reset RCP assignment status
0xae
–
Reset all RCP assignment status