Get messages

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

svc=render/get_messages&params={"layerName":<text>,
				"indexFrom":<uint>,
				"indexTo":<uint>,
				"unitId":<long>}

Parameters

Name Description
layerName layer name
indexFrom index of the first requested message
indexTo index of the last requested message
unitId unit ID

Response

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

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