Table of Contents

Get messages

To get messages from a layer, use the command renderer/get_messages:

svc=renderer/get_messages&params={"itemId":<long>,
				  "lname":<text>,
				  "rname":<text>,
				  "from":<uint>,
				  "to":<uint>}

Parameters

Name Description
itemId unit ID
lname layer name
rname renderer name (see Create image renderer)
from index of the first requested message
to index of the last requested message

Response

[			/* array of messages */
	{
		...
	}
]

Message formats are described in the chapter Data format: Messages.

Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2021 Gurtam