Odometer reading from forward.url

Sai Reddy8 years ago

Hi,

I am using forward.url and it is working fine.

How to get Odometer reading from forward.url?

Anton Tananaev8 years ago

It's part of "attributes" parameter.

Sai Reddy8 years ago

Thanks for your reply Anton.

I used 'attributes' parameter in the froward.url, but i got the following values only

attributes: '{"alarm":true,"ignition":true,"power":4,"gsm":4,"index":58,"ip":"27.52.162.99"}'

for every hit

Anton Tananaev8 years ago

It means that your device doesn't report odometer.

Sai Reddy8 years ago

Is there any version dependency for “distance” and “totalDistance” to show up in attributes?

Anton Tananaev8 years ago

It is not available on some older versions.

Sai Reddy8 years ago

not available for only "forward.url" or in mysql too?

Anton Tananaev8 years ago

Attributes are the same doesn't matter if it's forwarding or database.