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 */
}