To update settings of filtration of unit position information in messages, use the command unit/update_messages_filter:
svc=unit/update_messages_filter¶ms={"itemId":<long>, "enabled":<bool>, "skipInvalid":<bool>, "minSats":<ubyte>, "maxHdop":<double>, "maxSpeed":<uint>, "lbsCorrection":<double>}
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 |
lbsCorrection | allow positioning by cellular base stations |
Response
{} /* empty object if execution successful, if not - error code */