Counter of GPRS traffic

To set a new value for GPRS traffic counter, use the command unit/update_traffic_counter:

svc=unit/update_traffic_counter&params={"itemId":<long>,
					"newValue":<uint>,
					"regReset":<uint>}

Parameters

Name Description
itemId unit ID
newValue new value of GPRS traffic counter (KB)
regReset log changes: 0 - no, 1 - yes

Response

{
	"cnkb":<uint>,	/* value of GPRS traffic counter */
}
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2021 Gurtam