3.2 WFS_INF_CAM_CAPABILITIES

Description This command is used to retrieve the capabilities of the Camera System

Input Param None.

Output Param LPWFSCAMCAPS lpCaps;

typedef struct _wfs_cam_caps
{
WORD wClass;
WORD fwType;
WORD fwCameras[WFS_CAM_CAMERAS_SIZE];
USHORT usMaxPictures;
WORD fwCamData;
USHORT usMaxDataLength;
LPSTR lpszExtra;
} WFSCAMCAPS, * LPWFSCAMCAPS;

wClass
Specifies the logical service class, value is:
WFS_SERVICE_CLASS_CAM

fwType
Specifies the type of the camera device; only current value is:

Value Meaning

WFS_CAM_TYPE_CAM Camera system

fwCameras[...]
Specifies which cameras are available. A number of cameras are defined below. The maximum camera index is WFS_CAM_CAMERAS_MAX.

fwCameras[WFS_CAM_ROOM]
Specifies whether the camera that monitors the whole self-service area is available. Specified as one of the following flags:

Value Meaning

WFS_CAM_NOT_AVAILABLE This camera is not available.

WFS_CAM_AVAILABLE This camera is available.

fwCameras[WFS_CAM_PERSON]
Specifies whether the camera that monitors the person standing in front of the self-service machine is available. Specified as one of the following flags:

Value Meaning

WFS_CAM_NOT_AVAILABLE This camera is not available.

WFS_CAM_AVAILABLE This camera is available.

fwCameras[WFS_CAM_EXITSLOT]
Specifies whether the camera that monitors the exit slot(s) of the self-service machine is available. Specified as one of the following flags:

Value Meaning

WFS_CAM_NOT_AVAILABLE This camera is not available.

WFS_CAM_AVAILABLE This camera is available.

usMaxPictures
Specifies the maximum number of pictures that can be stored on the recording media.

fwCamData
Specifies, if data can be added to the picture.

Specified as a combination of the following flags:

Value Meaning

WFS_CAM_NOTADD No data can be added to the picture.

WFS_CAM_AUTOADD Data is added automatically to the picture.

WFS_CAM_MANADD Data can be added manually to the picture using the filed lpszCamData in the WFS_CMD_CAM_TAKE_PICTURE command.

usMaxDataLength
Specifies the maximum length of the data that is displayed on the photo. Zero, if data cannot be manually added to the picture.

lpszExtra
Specifies a list of vendor-specific, or any other extended, information. The information is returned as a series of "key=value" strings so that it is easily extensible by service providers. Each string will be null-terminated, with the final string terminating with two null characters.

Error Codes There are no additional error codes generated by this command.

Comments Applications which require or expect specific information to be present in the lpszExtra parameter may not be device or vendor-independent.