afarran / swm2m_avl_tests

Feature tests of AVL agent
0 stars 0 forks source link

Geofences: wrong value of PreviousZoneId in ZoneExit report #8

Closed ArturMalyszewicz closed 9 years ago

ArturMalyszewicz commented 10 years ago

When terminal is in area of two overlapping geofences (geofence 1 and geofence 0) and it moves to area covered by one geofence (geofence 0) in the ZoneExit message there is the PreviousZoneId = 1 and that is not according to specification (Table 1: Crossing Zones Example, page 40 in AS027 Automatic Vehicle Location Agent User Guide.)

Steps to reproduce:

  1. Define two overlapping geofences (geofence 1 inside geofence 0)
  2. Simulate terminal's position inside geofence 1
  3. Simulate terminal's position outside geofence 1 but inside geofence 0
  4. Check the ZoneExit message sent by terminal - there is PreviousZoneId = 1

According to the information in the User Guide PreviousZoneId should be 0 in this case (the lowest).

afarran commented 9 years ago

Updated documentation as attached zoneinout zoneinouttbl