Calamp accumulator values

sagar k patel 8 years ago

Hello tananaev,
This packet is of calamp.
I have one issue regarding accumulators ,i want to how much accumulators are there for below packet.

83051633033459010101028afd59ae7c1459ae7c140b06bbce2c01520e0000d916000001b900450900005affa50f091f00260d040000000f24000001b90000000000003714
Anton Tananaev 8 years ago

As far as I can tell, there are 4 accumulators.

sagar k patel 8 years ago

if i will parse this packet then the value of each accumulator is as below.

Accumulator0= 15
Accumulator1= 603979777
Accumulator2 = 3103784960
Accumulator3 = 55

is it accurate?

Anton Tananaev 8 years ago

I'm not sure. You can just check in Traccar.

sagar k patel 8 years ago

https://github.com/tananaev/traccar/commit/662b552ba75c874ca1f1d67310f7004eb5da1991

for above calamp decoder accumulator code is commented can you please suggest me some other source code?

??

Anton Tananaev 8 years ago

I'm not sure why you are looking at some ancient commit. Here is the latest Traccar source code:

https://github.com/tananaev/traccar/blob/master/src/org/traccar/protocol/CalAmpProtocolDecoder.java

sagar k patel 8 years ago

thank you