afarran / swm2m_avl_tests

Feature tests of AVL agent
0 stars 0 forks source link

Digital input line 13 does not control IgnitionOn in correct way #25

Closed ArturMalyszewicz closed 9 years ago

ArturMalyszewicz commented 9 years ago

Line number 13 is a special virtual digital input that indicates whether the terminal is powered by an external source. By setting property FuncDigInp13 (PIN 59) this line may be associated like other digital input lines with functions like: IgnitionOn, SeatbeltOff, SM1 Active and so on. For setting FuncDigInp13 = 2 (IgnitionOn) this line does not control Ignition state correctly: it only generates IgnitionOn event but it does not trigger IgnitionOff when changing state. Steps to reproduce:

  1. Set FuncDigInp13 (PIN 59) to value 2 (that is for IgnitionOn function)
  2. Set DigStatesDefBitmap (PIN 46) to value 1
  3. Simulate external power source not present (line 13 changes state to 0)
  4. IgnitionOn event is generated.
  5. Simulate external power source present (line changes state to 1)
  6. IgnitionOff event is not generated.

Version of AVL service: v3.2.2 r1625

ArturMalyszewicz commented 9 years ago

For setting FuncDigInp13 = 4 (IgnitionOnAndSM0) this looks the same (IgnitionOn is generated only once) but SM0 : ON is generated with every change of the state of line 13 (from high to low and from low to high)

afarran commented 9 years ago

Similar to Argus 20948

ArturMalyszewicz commented 9 years ago

Fixed in v3.3.1