To set a new value for GPRS traffic counter, use the command unit/update_traffic_counter:
svc=unit/update_traffic_counter¶ms={"itemId":<long>, "newValue":<uint>, "regReset":<uint>}
Name | Description |
---|---|
itemId | unit ID |
newValue | new value of GPRS traffic counter (KB) |
regReset | log changes: 0 - no, 1 - yes |
{ "cnkb":<uint>, /* value of GPRS traffic counter */ }
|