Question
Which is the RCP CGI command for calling desired pre-positions (PTZ) of Bosch IP cameras?
Answer
You can call desired pre-positions (PTZ) of Bosch IP cameras by using OSRD protocol or BiCom protocol. Please find below some examples and detailed explanation:
1. OSRD protocol:
Below is the RCP+ command.
Note that this RCP CGI payload below is using the OSRD protocol. The limitation of this OSRD protocol is that it can only support maximum 99 pre-positions. (this OSRD was used by our Allegiant devices in the past)
http://<IPAddress>/rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=1&payload=0x80000201B080070563
*Where <IPAddress> is the IP Address of your camera
The last 2 green digits are referring to the pre-position number, but it is the Hexadecimal number of the Pre-position number, as per table below:
Samples:
Pre-position 99:
http://<IPAddress>/rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=1&payload=0x80000201B080070563
Pre-position 46:
http://<IPAddress>/rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=1&payload=0x80000201B08007052E
2. BiCom protocol:
For Bosch IP cameras, you can also use BiCom as the payload instead of RCP CGI payload above.
The BiCom protocol can supports up to 256 pre-positions.
http://<IPAddress>/rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=1&payload=0x800006200081
*Where <IPAddress> is the IP Address of your camera
The 2 green digits are referring to the pre-position number, but it is the Hexadecimal number of the Pre-position number, as per table below:
Samples:
Pre-position 1:
http://<IPAddress>/rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=1&payload=0x800006200081
Pre-position 161:
http://<IPAddress>/rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=1&payload=0x8000062A0081
💡 Useful:
You can define your pre-positions in Configuration > Camera > Pre-positions and Tours menu:
Nice to know
Can Bosch PTZ camera move to a specific pre-position during inactivity?
... View more