Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Configuration Article | CA-20230703-MF-20

VDG Sense | API | Functions | Layouts

Note:

  • This function requires an API license

  • Introduced in VDG Sense version 2.7.2

The customMessage signal with the supplied value parameter is used to link a status message to a camera. This status message can be showed in a custom OSD which is described here.

Special care must be taken when including xml specific characters. These are ‘&’, ‘<' en '>‘. The ampersand (‘&’) character can not be sent by this command because it will be part of the URL. See next paragraph.

As the value of this event is in the query part of an URL, the ampersand character (‘&’) cannot be part of it. It must be URL Encoded. See i.e. http://www.w3schools.com/TAGS/ref_urlencode.asp. The best practive is to URL Encode the complete value.

Request

command=custommessage&custommessageindex=[UID]&value=[string]&serverid=[UID]&deviceid=[UID]

Response

parameter

type

remarks

custommessageindex

[UID]

index of the messagebox [1-4]

value

[string]

The value used for the generic event.

serverid

[UID]

unique server id

deviceid

[UID]

unique device id.

error code

description

remarks

0

Ok

Ok, no error

-1

Not implemented.

Function not implemented.

-2

No device

 No device found for the supplied cameraid/deviceid.

-17

No server

There's no server with the supplied id.

-21

Device not active

-53

Device connection lost

Device has no connection.

-57

No custommessageindex

-58

Invalid custommessageindex

custommessageindex [1-4]

Changelog

  • 2.7.2 - Introduced

  • No labels