geofence AVL IDs parsing bug fixed.
previous logic was that number of geofence had been stored into geofence.id parameter, while its state was parsed as
0=false, 1=true ==> geofence.status
2=false, 3=true ==> overspeeding.status
The problem was when 1 message contained several geofence AVL IDs, so the parsing of the last AVL ID erased previously parsed geofence parameters.
The solution is - migrate geofence id to parameter index. So the new logic is
- geofence.id parameter will be removed
- value is parsed to
0=false, 1=true ==> geofence.status.INDEX_OF_GEOFENCE
2=false, 3=true ==> overspeeding.status.INDEX_OF_GEOFENCE
old logic and new logic are now working in parallel. Old logic will be removed July 21st