afarran / swm2m_avl_tests

Feature tests of AVL agent
0 stars 0 forks source link

Wrong EventTime reported in IdlingStart message #4

Closed ArturMalyszewicz closed 10 years ago

ArturMalyszewicz commented 10 years ago

In IdlingStart message send when terminal is in stationary state and Ignition is ON for time longer than MaxIdlingTime the field EventTime has incorrect value. Instead of the timestamp of the IdlingStart event there is timestamp of IgnitionON (prior to IdlingStart). That happens no matter what is the value of MaxIdlingTime.

Steps to reproduce:

  1. Make sure terminal is in the stationary state (speed = 0)
  2. Configure MaxIdlingTime to for example 20 seconds (default 600 is too long)
  3. Put terminal into IgnitionON state
  4. Wait for time MaxIdlingTime until IdlingStart report is generated
  5. Check field EventTime in the message - instead of the time of IdlingStart event there is the same timestamp as in the IgnitionOn report.

Version of AVL Agent: v3.2.2 r1625

afarran commented 9 years ago

Please explain why the ticket had to be closed

ArturMalyszewicz commented 9 years ago

It turned out that this behaviour is not a bug. (There is no information about untypical way of handling IdlingStart EventTime so it was assumed that the value of it should be as for any other event.)