<< to CrossControl homepage

Support & Service Center

Sending SubscribeROIVideo through the terminal on imx6-based display

Printer-friendly versionPrinter-friendly versionPDF versionPDF version

For IP cameras following the ISO17215 standard you will sometimes need to send a message to the camera for it to start broadcasting video.

The message is called SubscribeROIVideo and it takes an index as a parameter. The index is what Region of Interest the camera will stream.

One option is to use the IPCameraSettings library to send messages with a simple interface and the other is to use the echo command.

The command we will be using is:

echo -n -e '\x43\x3f\x01\x31\x00\x00\x00\x0c\x12\x34\x56\x78\x01\x01\x00\x00\x00\x00\x00\<Index as byte>'>/dev/udp/<Camera IP>/<SOME/IP communication port>
For example to subscribe to ROI 6, on a camera with IP and SOME/IP port 17215:
echo -n -e '\x43\x3f\x01\x31\x00\x00\x00\x0c\x12\x34\x56\x78\x01\x01\x00\x00\x00\x00\x00\x06'>/dev/udp/

For information on what ROI's are available on your camera and its communication port, check with your camera supplier.

Environment and Versions: