afarran / swm2m_avl_tests

Feature tests of AVL agent
0 stars 0 forks source link

LoggedPosition messages are saved for terminal in stationary state #12

Open ArturMalyszewicz opened 9 years ago

ArturMalyszewicz commented 9 years ago

In specification there is: "LoggedPosition (MIN 15): A periodic event that takes place every LoggingPositionsInterval, while moving" but if LoggingPositionsInterval is greater than zero LoggedPosition reports are saved also in stationary state.

Steps to reproduce:

  1. Set LoggingPositionsInterval to value above 0 (feature enabled)
  2. Make sure terminal is stationary
  3. Request logs from terminal (flter SIN 126, MIN 15)
  4. There are LoggedPosition reports saved in log for stationary terminal
afarran commented 9 years ago

The LoggedPosition reports are always saved in the terminal. Please confirm that new LoggedPositions are being created and saved at the LoggingPositionsInterval while the terminal is in a non-moving state.

ArturMalyszewicz commented 9 years ago

So this is a bug in documentation as it clearly says 'while moving'. LoggedPosition reports are saved for stationary state (this is what the title of the issue says).

afarran commented 9 years ago

I'll have to check what the desired intent is. On one hand, there's no point in recording position information periodically if the asset is not moving, because all the position information is constant, but on the other hand MIN 15, reports I/O values and AVL states, which could be important to have a non-volatile periodic log of for troubleshooting purposes.

TroyManary commented 9 years ago

Argus 21620