Example: Sensor configuration file for ONVIF camera

In this example, an ONVIF camera is connected to the board.

You must access the camera web page to configure a user that can access the camera. The default sensor configuration file assumes a username of root and a password of root. In order to use a different username and password, you must modify the sensor configuration file that comes with the reference image.

Here's what the configuration file looks like:

begin SENSOR_UNIT_1
    type = ip_camera
    name = security-camera
    position = 0, 0, 0
    direction = 0, 0, 0
    address = 0.0.0.0, onvif
    username = root
    password = root
end SENSOR_UNIT_1