afarran / swm2m_avl_tests

Feature tests of AVL agent
0 stars 0 forks source link

Digital input line 13 does not control IgnitionOnAndSM0 in correct way #27

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 = 4 (IgnitionOnAndSM0) this line does not control these two functions correctly: it generates IgnitionOn event but it does not trigger IgnitionOff when changing state plus with every change of the line it switches SM0 to ON. Steps to reproduce:

  1. Set FuncDigInp13 (PIN 59) to value 4 (that is for IgnitionOnAndSM0 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 and SM0 is switched to ON
  5. Simulate external power source present (line changes state to 1)
  6. SM0 is switched to ON again

Version of AVL service: v3.2.2 r1625

This is issue is similar to Issue#25.

ArturMalyszewicz commented 9 years ago

Fixed in v3.3.1