Update settings of messages filtration

To update settings of filtration of unit position information in messages, use the command unit/update_messages_filter:

svc=unit/update_messages_filter&params={"itemId":<long>,
					"enabled":<bool>,
					"skipInvalid":<bool>,
					"minSats":<ubyte>,
					"maxHdop":<double>,
					"maxSpeed":<uint>}

Parameters

Name Description
itemId unit ID
enabled 1 - enable filtration of unit position information in messages, 0 - disable
skipInvalid skip invalid messages
minSats minimum satellites
maxHdop maximum HDOP value
maxSpeed maximum speed value

Response

{}	/* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2020 Gurtam