aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2019-03-31 22:35:39 -0700
commit59416923dcb3a756eaf532cc4259f2f6625c0762 (patch)
tree9082dae6616deac8fda432b7bfd80e4a52b6d9dc
parent79a129dd6327d932133d6b9a50190d3f4927bff9 (diff)
downloadtraccar-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.gz
traccar-server-59416923dcb3a756eaf532cc4259f2f6625c0762.tar.bz2
traccar-server-59416923dcb3a756eaf532cc4259f2f6625c0762.zip
Convert project to gradle
-rw-r--r--.gitignore3
-rw-r--r--build.gradle83
-rw-r--r--gradle/checkstyle.xml (renamed from checkstyle.xml)0
-rw-r--r--gradle/findbugs.xml (renamed from findbugs.xml)0
-rw-r--r--gradle/wrapper/gradle-wrapper.jarbin0 -> 55616 bytes
-rw-r--r--gradle/wrapper/gradle-wrapper.properties5
-rwxr-xr-xgradlew188
-rw-r--r--gradlew.bat100
-rw-r--r--pom.xml14
-rw-r--r--settings.gradle1
-rw-r--r--src/main/java/org/traccar/BaseDataHandler.java (renamed from src/org/traccar/BaseDataHandler.java)0
-rw-r--r--src/main/java/org/traccar/BaseFrameDecoder.java (renamed from src/org/traccar/BaseFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/BaseHttpProtocolDecoder.java (renamed from src/org/traccar/BaseHttpProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/BasePipelineFactory.java (renamed from src/org/traccar/BasePipelineFactory.java)0
-rw-r--r--src/main/java/org/traccar/BaseProtocol.java (renamed from src/org/traccar/BaseProtocol.java)0
-rw-r--r--src/main/java/org/traccar/BaseProtocolDecoder.java (renamed from src/org/traccar/BaseProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/BaseProtocolEncoder.java (renamed from src/org/traccar/BaseProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/CharacterDelimiterFrameDecoder.java (renamed from src/org/traccar/CharacterDelimiterFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/Context.java (renamed from src/org/traccar/Context.java)0
-rw-r--r--src/main/java/org/traccar/DeviceSession.java (renamed from src/org/traccar/DeviceSession.java)0
-rw-r--r--src/main/java/org/traccar/EventLoopGroupFactory.java (renamed from src/org/traccar/EventLoopGroupFactory.java)0
-rw-r--r--src/main/java/org/traccar/ExtendedObjectDecoder.java (renamed from src/org/traccar/ExtendedObjectDecoder.java)0
-rw-r--r--src/main/java/org/traccar/GlobalTimer.java (renamed from src/org/traccar/GlobalTimer.java)0
-rw-r--r--src/main/java/org/traccar/Main.java (renamed from src/org/traccar/Main.java)0
-rw-r--r--src/main/java/org/traccar/MainEventHandler.java (renamed from src/org/traccar/MainEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/MainModule.java (renamed from src/org/traccar/MainModule.java)0
-rw-r--r--src/main/java/org/traccar/NetworkMessage.java (renamed from src/org/traccar/NetworkMessage.java)0
-rw-r--r--src/main/java/org/traccar/PipelineBuilder.java (renamed from src/org/traccar/PipelineBuilder.java)0
-rw-r--r--src/main/java/org/traccar/Protocol.java (renamed from src/org/traccar/Protocol.java)0
-rw-r--r--src/main/java/org/traccar/ServerManager.java (renamed from src/org/traccar/ServerManager.java)0
-rw-r--r--src/main/java/org/traccar/StringProtocolEncoder.java (renamed from src/org/traccar/StringProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/TrackerServer.java (renamed from src/org/traccar/TrackerServer.java)0
-rw-r--r--src/main/java/org/traccar/WebDataHandler.java (renamed from src/org/traccar/WebDataHandler.java)0
-rw-r--r--src/main/java/org/traccar/WindowsService.java (renamed from src/org/traccar/WindowsService.java)0
-rw-r--r--src/main/java/org/traccar/WrapperContext.java (renamed from src/org/traccar/WrapperContext.java)0
-rw-r--r--src/main/java/org/traccar/WrapperInboundHandler.java (renamed from src/org/traccar/WrapperInboundHandler.java)0
-rw-r--r--src/main/java/org/traccar/WrapperOutboundHandler.java (renamed from src/org/traccar/WrapperOutboundHandler.java)0
-rw-r--r--src/main/java/org/traccar/api/AsyncSocket.java (renamed from src/org/traccar/api/AsyncSocket.java)0
-rw-r--r--src/main/java/org/traccar/api/AsyncSocketServlet.java (renamed from src/org/traccar/api/AsyncSocketServlet.java)0
-rw-r--r--src/main/java/org/traccar/api/BaseObjectResource.java (renamed from src/org/traccar/api/BaseObjectResource.java)0
-rw-r--r--src/main/java/org/traccar/api/BaseResource.java (renamed from src/org/traccar/api/BaseResource.java)0
-rw-r--r--src/main/java/org/traccar/api/CorsResponseFilter.java (renamed from src/org/traccar/api/CorsResponseFilter.java)0
-rw-r--r--src/main/java/org/traccar/api/ExtendedObjectResource.java (renamed from src/org/traccar/api/ExtendedObjectResource.java)0
-rw-r--r--src/main/java/org/traccar/api/MediaFilter.java (renamed from src/org/traccar/api/MediaFilter.java)0
-rw-r--r--src/main/java/org/traccar/api/ObjectMapperProvider.java (renamed from src/org/traccar/api/ObjectMapperProvider.java)0
-rw-r--r--src/main/java/org/traccar/api/ResourceErrorHandler.java (renamed from src/org/traccar/api/ResourceErrorHandler.java)0
-rw-r--r--src/main/java/org/traccar/api/SecurityRequestFilter.java (renamed from src/org/traccar/api/SecurityRequestFilter.java)0
-rw-r--r--src/main/java/org/traccar/api/SimpleObjectResource.java (renamed from src/org/traccar/api/SimpleObjectResource.java)0
-rw-r--r--src/main/java/org/traccar/api/UserPrincipal.java (renamed from src/org/traccar/api/UserPrincipal.java)0
-rw-r--r--src/main/java/org/traccar/api/UserSecurityContext.java (renamed from src/org/traccar/api/UserSecurityContext.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/AttributeResource.java (renamed from src/org/traccar/api/resource/AttributeResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/CalendarResource.java (renamed from src/org/traccar/api/resource/CalendarResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/CommandResource.java (renamed from src/org/traccar/api/resource/CommandResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/DeviceResource.java (renamed from src/org/traccar/api/resource/DeviceResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/DriverResource.java (renamed from src/org/traccar/api/resource/DriverResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/EventResource.java (renamed from src/org/traccar/api/resource/EventResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/GeofenceResource.java (renamed from src/org/traccar/api/resource/GeofenceResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/GroupResource.java (renamed from src/org/traccar/api/resource/GroupResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/MaintenanceResource.java (renamed from src/org/traccar/api/resource/MaintenanceResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/NotificationResource.java (renamed from src/org/traccar/api/resource/NotificationResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/PermissionsResource.java (renamed from src/org/traccar/api/resource/PermissionsResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/PositionResource.java (renamed from src/org/traccar/api/resource/PositionResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/ReportResource.java (renamed from src/org/traccar/api/resource/ReportResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/ServerResource.java (renamed from src/org/traccar/api/resource/ServerResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/SessionResource.java (renamed from src/org/traccar/api/resource/SessionResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/StatisticsResource.java (renamed from src/org/traccar/api/resource/StatisticsResource.java)0
-rw-r--r--src/main/java/org/traccar/api/resource/UserResource.java (renamed from src/org/traccar/api/resource/UserResource.java)0
-rw-r--r--src/main/java/org/traccar/config/Config.java (renamed from src/org/traccar/config/Config.java)0
-rw-r--r--src/main/java/org/traccar/config/ConfigKey.java (renamed from src/org/traccar/config/ConfigKey.java)0
-rw-r--r--src/main/java/org/traccar/config/ConfigSuffix.java (renamed from src/org/traccar/config/ConfigSuffix.java)0
-rw-r--r--src/main/java/org/traccar/config/Keys.java (renamed from src/org/traccar/config/Keys.java)0
-rw-r--r--src/main/java/org/traccar/database/ActiveDevice.java (renamed from src/org/traccar/database/ActiveDevice.java)0
-rw-r--r--src/main/java/org/traccar/database/AttributesManager.java (renamed from src/org/traccar/database/AttributesManager.java)0
-rw-r--r--src/main/java/org/traccar/database/BaseObjectManager.java (renamed from src/org/traccar/database/BaseObjectManager.java)0
-rw-r--r--src/main/java/org/traccar/database/CalendarManager.java (renamed from src/org/traccar/database/CalendarManager.java)0
-rw-r--r--src/main/java/org/traccar/database/CommandsManager.java (renamed from src/org/traccar/database/CommandsManager.java)0
-rw-r--r--src/main/java/org/traccar/database/ConnectionManager.java (renamed from src/org/traccar/database/ConnectionManager.java)0
-rw-r--r--src/main/java/org/traccar/database/DataManager.java (renamed from src/org/traccar/database/DataManager.java)0
-rw-r--r--src/main/java/org/traccar/database/DeviceManager.java (renamed from src/org/traccar/database/DeviceManager.java)0
-rw-r--r--src/main/java/org/traccar/database/DriversManager.java (renamed from src/org/traccar/database/DriversManager.java)0
-rw-r--r--src/main/java/org/traccar/database/ExtendedObjectManager.java (renamed from src/org/traccar/database/ExtendedObjectManager.java)0
-rw-r--r--src/main/java/org/traccar/database/GeofenceManager.java (renamed from src/org/traccar/database/GeofenceManager.java)0
-rw-r--r--src/main/java/org/traccar/database/GroupTree.java (renamed from src/org/traccar/database/GroupTree.java)0
-rw-r--r--src/main/java/org/traccar/database/GroupsManager.java (renamed from src/org/traccar/database/GroupsManager.java)0
-rw-r--r--src/main/java/org/traccar/database/IdentityManager.java (renamed from src/org/traccar/database/IdentityManager.java)0
-rw-r--r--src/main/java/org/traccar/database/LdapProvider.java (renamed from src/org/traccar/database/LdapProvider.java)0
-rw-r--r--src/main/java/org/traccar/database/MailManager.java (renamed from src/org/traccar/database/MailManager.java)0
-rw-r--r--src/main/java/org/traccar/database/MaintenancesManager.java (renamed from src/org/traccar/database/MaintenancesManager.java)0
-rw-r--r--src/main/java/org/traccar/database/ManagableObjects.java (renamed from src/org/traccar/database/ManagableObjects.java)0
-rw-r--r--src/main/java/org/traccar/database/MediaManager.java (renamed from src/org/traccar/database/MediaManager.java)0
-rw-r--r--src/main/java/org/traccar/database/NotificationManager.java (renamed from src/org/traccar/database/NotificationManager.java)0
-rw-r--r--src/main/java/org/traccar/database/PermissionsManager.java (renamed from src/org/traccar/database/PermissionsManager.java)0
-rw-r--r--src/main/java/org/traccar/database/QueryBuilder.java (renamed from src/org/traccar/database/QueryBuilder.java)0
-rw-r--r--src/main/java/org/traccar/database/QueryExtended.java (renamed from src/org/traccar/database/QueryExtended.java)0
-rw-r--r--src/main/java/org/traccar/database/QueryIgnore.java (renamed from src/org/traccar/database/QueryIgnore.java)0
-rw-r--r--src/main/java/org/traccar/database/SimpleObjectManager.java (renamed from src/org/traccar/database/SimpleObjectManager.java)0
-rw-r--r--src/main/java/org/traccar/database/StatisticsManager.java (renamed from src/org/traccar/database/StatisticsManager.java)0
-rw-r--r--src/main/java/org/traccar/database/UsersManager.java (renamed from src/org/traccar/database/UsersManager.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/Address.java (renamed from src/org/traccar/geocoder/Address.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/AddressFormat.java (renamed from src/org/traccar/geocoder/AddressFormat.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/BanGeocoder.java (renamed from src/org/traccar/geocoder/BanGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/BingMapsGeocoder.java (renamed from src/org/traccar/geocoder/BingMapsGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/FactualGeocoder.java (renamed from src/org/traccar/geocoder/FactualGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/GeocodeFarmGeocoder.java (renamed from src/org/traccar/geocoder/GeocodeFarmGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/GeocodeXyzGeocoder.java (renamed from src/org/traccar/geocoder/GeocodeXyzGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/Geocoder.java (renamed from src/org/traccar/geocoder/Geocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/GeocoderException.java (renamed from src/org/traccar/geocoder/GeocoderException.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/GisgraphyGeocoder.java (renamed from src/org/traccar/geocoder/GisgraphyGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/GoogleGeocoder.java (renamed from src/org/traccar/geocoder/GoogleGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/HereGeocoder.java (renamed from src/org/traccar/geocoder/HereGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/JsonGeocoder.java (renamed from src/org/traccar/geocoder/JsonGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/MapQuestGeocoder.java (renamed from src/org/traccar/geocoder/MapQuestGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/MapmyIndiaGeocoder.java (renamed from src/org/traccar/geocoder/MapmyIndiaGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/NominatimGeocoder.java (renamed from src/org/traccar/geocoder/NominatimGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geocoder/OpenCageGeocoder.java (renamed from src/org/traccar/geocoder/OpenCageGeocoder.java)0
-rw-r--r--src/main/java/org/traccar/geofence/GeofenceCircle.java (renamed from src/org/traccar/geofence/GeofenceCircle.java)0
-rw-r--r--src/main/java/org/traccar/geofence/GeofenceGeometry.java (renamed from src/org/traccar/geofence/GeofenceGeometry.java)0
-rw-r--r--src/main/java/org/traccar/geofence/GeofencePolygon.java (renamed from src/org/traccar/geofence/GeofencePolygon.java)0
-rw-r--r--src/main/java/org/traccar/geofence/GeofencePolyline.java (renamed from src/org/traccar/geofence/GeofencePolyline.java)0
-rw-r--r--src/main/java/org/traccar/geolocation/GeolocationException.java (renamed from src/org/traccar/geolocation/GeolocationException.java)0
-rw-r--r--src/main/java/org/traccar/geolocation/GeolocationProvider.java (renamed from src/org/traccar/geolocation/GeolocationProvider.java)0
-rw-r--r--src/main/java/org/traccar/geolocation/GoogleGeolocationProvider.java (renamed from src/org/traccar/geolocation/GoogleGeolocationProvider.java)0
-rw-r--r--src/main/java/org/traccar/geolocation/MozillaGeolocationProvider.java (renamed from src/org/traccar/geolocation/MozillaGeolocationProvider.java)0
-rw-r--r--src/main/java/org/traccar/geolocation/OpenCellIdGeolocationProvider.java (renamed from src/org/traccar/geolocation/OpenCellIdGeolocationProvider.java)0
-rw-r--r--src/main/java/org/traccar/geolocation/UniversalGeolocationProvider.java (renamed from src/org/traccar/geolocation/UniversalGeolocationProvider.java)0
-rw-r--r--src/main/java/org/traccar/geolocation/UnwiredGeolocationProvider.java (renamed from src/org/traccar/geolocation/UnwiredGeolocationProvider.java)0
-rw-r--r--src/main/java/org/traccar/handler/ComputedAttributesHandler.java (renamed from src/org/traccar/handler/ComputedAttributesHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/CopyAttributesHandler.java (renamed from src/org/traccar/handler/CopyAttributesHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/DefaultDataHandler.java (renamed from src/org/traccar/handler/DefaultDataHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/DistanceHandler.java (renamed from src/org/traccar/handler/DistanceHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/EngineHoursHandler.java (renamed from src/org/traccar/handler/EngineHoursHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/FilterHandler.java (renamed from src/org/traccar/handler/FilterHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/GeocoderHandler.java (renamed from src/org/traccar/handler/GeocoderHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/GeolocationHandler.java (renamed from src/org/traccar/handler/GeolocationHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/HemisphereHandler.java (renamed from src/org/traccar/handler/HemisphereHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/MotionHandler.java (renamed from src/org/traccar/handler/MotionHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/NetworkMessageHandler.java (renamed from src/org/traccar/handler/NetworkMessageHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/OpenChannelHandler.java (renamed from src/org/traccar/handler/OpenChannelHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/RemoteAddressHandler.java (renamed from src/org/traccar/handler/RemoteAddressHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/StandardLoggingHandler.java (renamed from src/org/traccar/handler/StandardLoggingHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/AlertEventHandler.java (renamed from src/org/traccar/handler/events/AlertEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/BaseEventHandler.java (renamed from src/org/traccar/handler/events/BaseEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/CommandResultEventHandler.java (renamed from src/org/traccar/handler/events/CommandResultEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/DriverEventHandler.java (renamed from src/org/traccar/handler/events/DriverEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/FuelDropEventHandler.java (renamed from src/org/traccar/handler/events/FuelDropEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/GeofenceEventHandler.java (renamed from src/org/traccar/handler/events/GeofenceEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/IgnitionEventHandler.java (renamed from src/org/traccar/handler/events/IgnitionEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/MaintenanceEventHandler.java (renamed from src/org/traccar/handler/events/MaintenanceEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/MotionEventHandler.java (renamed from src/org/traccar/handler/events/MotionEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/handler/events/OverspeedEventHandler.java (renamed from src/org/traccar/handler/events/OverspeedEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/helper/BcdUtil.java (renamed from src/org/traccar/helper/BcdUtil.java)0
-rw-r--r--src/main/java/org/traccar/helper/BitBuffer.java (renamed from src/org/traccar/helper/BitBuffer.java)0
-rw-r--r--src/main/java/org/traccar/helper/BitUtil.java (renamed from src/org/traccar/helper/BitUtil.java)0
-rw-r--r--src/main/java/org/traccar/helper/BufferUtil.java (renamed from src/org/traccar/helper/BufferUtil.java)0
-rw-r--r--src/main/java/org/traccar/helper/Checksum.java (renamed from src/org/traccar/helper/Checksum.java)0
-rw-r--r--src/main/java/org/traccar/helper/DataConverter.java (renamed from src/org/traccar/helper/DataConverter.java)0
-rw-r--r--src/main/java/org/traccar/helper/DateBuilder.java (renamed from src/org/traccar/helper/DateBuilder.java)0
-rw-r--r--src/main/java/org/traccar/helper/DateUtil.java (renamed from src/org/traccar/helper/DateUtil.java)0
-rw-r--r--src/main/java/org/traccar/helper/DistanceCalculator.java (renamed from src/org/traccar/helper/DistanceCalculator.java)0
-rw-r--r--src/main/java/org/traccar/helper/Hashing.java (renamed from src/org/traccar/helper/Hashing.java)0
-rw-r--r--src/main/java/org/traccar/helper/LocationTree.java (renamed from src/org/traccar/helper/LocationTree.java)0
-rw-r--r--src/main/java/org/traccar/helper/Log.java (renamed from src/org/traccar/helper/Log.java)0
-rw-r--r--src/main/java/org/traccar/helper/LogAction.java (renamed from src/org/traccar/helper/LogAction.java)0
-rw-r--r--src/main/java/org/traccar/helper/ObdDecoder.java (renamed from src/org/traccar/helper/ObdDecoder.java)0
-rw-r--r--src/main/java/org/traccar/helper/Parser.java (renamed from src/org/traccar/helper/Parser.java)0
-rw-r--r--src/main/java/org/traccar/helper/PatternBuilder.java (renamed from src/org/traccar/helper/PatternBuilder.java)0
-rw-r--r--src/main/java/org/traccar/helper/PatternUtil.java (renamed from src/org/traccar/helper/PatternUtil.java)0
-rw-r--r--src/main/java/org/traccar/helper/SanitizerModule.java (renamed from src/org/traccar/helper/SanitizerModule.java)0
-rw-r--r--src/main/java/org/traccar/helper/UnitsConverter.java (renamed from src/org/traccar/helper/UnitsConverter.java)0
-rw-r--r--src/main/java/org/traccar/model/Attribute.java (renamed from src/org/traccar/model/Attribute.java)0
-rw-r--r--src/main/java/org/traccar/model/BaseModel.java (renamed from src/org/traccar/model/BaseModel.java)0
-rw-r--r--src/main/java/org/traccar/model/Calendar.java (renamed from src/org/traccar/model/Calendar.java)0
-rw-r--r--src/main/java/org/traccar/model/CellTower.java (renamed from src/org/traccar/model/CellTower.java)0
-rw-r--r--src/main/java/org/traccar/model/Command.java (renamed from src/org/traccar/model/Command.java)0
-rw-r--r--src/main/java/org/traccar/model/Device.java (renamed from src/org/traccar/model/Device.java)0
-rw-r--r--src/main/java/org/traccar/model/DeviceAccumulators.java (renamed from src/org/traccar/model/DeviceAccumulators.java)0
-rw-r--r--src/main/java/org/traccar/model/DeviceState.java (renamed from src/org/traccar/model/DeviceState.java)0
-rw-r--r--src/main/java/org/traccar/model/Driver.java (renamed from src/org/traccar/model/Driver.java)0
-rw-r--r--src/main/java/org/traccar/model/Event.java (renamed from src/org/traccar/model/Event.java)0
-rw-r--r--src/main/java/org/traccar/model/ExtendedModel.java (renamed from src/org/traccar/model/ExtendedModel.java)0
-rw-r--r--src/main/java/org/traccar/model/Geofence.java (renamed from src/org/traccar/model/Geofence.java)0
-rw-r--r--src/main/java/org/traccar/model/Group.java (renamed from src/org/traccar/model/Group.java)0
-rw-r--r--src/main/java/org/traccar/model/GroupedModel.java (renamed from src/org/traccar/model/GroupedModel.java)0
-rw-r--r--src/main/java/org/traccar/model/Maintenance.java (renamed from src/org/traccar/model/Maintenance.java)0
-rw-r--r--src/main/java/org/traccar/model/ManagedUser.java (renamed from src/org/traccar/model/ManagedUser.java)0
-rw-r--r--src/main/java/org/traccar/model/Message.java (renamed from src/org/traccar/model/Message.java)0
-rw-r--r--src/main/java/org/traccar/model/MiscFormatter.java (renamed from src/org/traccar/model/MiscFormatter.java)0
-rw-r--r--src/main/java/org/traccar/model/Network.java (renamed from src/org/traccar/model/Network.java)0
-rw-r--r--src/main/java/org/traccar/model/Notification.java (renamed from src/org/traccar/model/Notification.java)0
-rw-r--r--src/main/java/org/traccar/model/Permission.java (renamed from src/org/traccar/model/Permission.java)0
-rw-r--r--src/main/java/org/traccar/model/Position.java (renamed from src/org/traccar/model/Position.java)0
-rw-r--r--src/main/java/org/traccar/model/ScheduledModel.java (renamed from src/org/traccar/model/ScheduledModel.java)0
-rw-r--r--src/main/java/org/traccar/model/Server.java (renamed from src/org/traccar/model/Server.java)0
-rw-r--r--src/main/java/org/traccar/model/Statistics.java (renamed from src/org/traccar/model/Statistics.java)0
-rw-r--r--src/main/java/org/traccar/model/Typed.java (renamed from src/org/traccar/model/Typed.java)0
-rw-r--r--src/main/java/org/traccar/model/User.java (renamed from src/org/traccar/model/User.java)0
-rw-r--r--src/main/java/org/traccar/model/WifiAccessPoint.java (renamed from src/org/traccar/model/WifiAccessPoint.java)0
-rw-r--r--src/main/java/org/traccar/notification/EventForwarder.java (renamed from src/org/traccar/notification/EventForwarder.java)0
-rw-r--r--src/main/java/org/traccar/notification/FullMessage.java (renamed from src/org/traccar/notification/FullMessage.java)0
-rw-r--r--src/main/java/org/traccar/notification/JsonTypeEventForwarder.java (renamed from src/org/traccar/notification/JsonTypeEventForwarder.java)36
-rw-r--r--src/main/java/org/traccar/notification/MessageException.java (renamed from src/org/traccar/notification/MessageException.java)0
-rw-r--r--src/main/java/org/traccar/notification/NotificationFormatter.java (renamed from src/org/traccar/notification/NotificationFormatter.java)0
-rw-r--r--src/main/java/org/traccar/notification/NotificatorManager.java (renamed from src/org/traccar/notification/NotificatorManager.java)0
-rw-r--r--src/main/java/org/traccar/notification/PropertiesProvider.java (renamed from src/org/traccar/notification/PropertiesProvider.java)0
-rw-r--r--src/main/java/org/traccar/notificators/Notificator.java (renamed from src/org/traccar/notificators/Notificator.java)0
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorFirebase.java (renamed from src/org/traccar/notificators/NotificatorFirebase.java)0
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorMail.java (renamed from src/org/traccar/notificators/NotificatorMail.java)0
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorNull.java (renamed from src/org/traccar/notificators/NotificatorNull.java)0
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorSms.java (renamed from src/org/traccar/notificators/NotificatorSms.java)0
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorWeb.java (renamed from src/org/traccar/notificators/NotificatorWeb.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AdmProtocol.java (renamed from src/org/traccar/protocol/AdmProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AdmProtocolDecoder.java (renamed from src/org/traccar/protocol/AdmProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AdmProtocolEncoder.java (renamed from src/org/traccar/protocol/AdmProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AisProtocol.java (renamed from src/org/traccar/protocol/AisProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AisProtocolDecoder.java (renamed from src/org/traccar/protocol/AisProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AlematicsFrameDecoder.java (renamed from src/org/traccar/protocol/AlematicsFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AlematicsProtocol.java (renamed from src/org/traccar/protocol/AlematicsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AlematicsProtocolDecoder.java (renamed from src/org/traccar/protocol/AlematicsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AnytrekProtocol.java (renamed from src/org/traccar/protocol/AnytrekProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AnytrekProtocolDecoder.java (renamed from src/org/traccar/protocol/AnytrekProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ApelProtocol.java (renamed from src/org/traccar/protocol/ApelProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ApelProtocolDecoder.java (renamed from src/org/traccar/protocol/ApelProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AplicomFrameDecoder.java (renamed from src/org/traccar/protocol/AplicomFrameDecoder.java)124
-rw-r--r--src/main/java/org/traccar/protocol/AplicomProtocol.java (renamed from src/org/traccar/protocol/AplicomProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AplicomProtocolDecoder.java (renamed from src/org/traccar/protocol/AplicomProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AppelloProtocol.java (renamed from src/org/traccar/protocol/AppelloProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AppelloProtocolDecoder.java (renamed from src/org/traccar/protocol/AppelloProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AppletProtocol.java (renamed from src/org/traccar/protocol/AppletProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AppletProtocolDecoder.java (renamed from src/org/traccar/protocol/AppletProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AquilaProtocol.java (renamed from src/org/traccar/protocol/AquilaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AquilaProtocolDecoder.java (renamed from src/org/traccar/protocol/AquilaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Ardi01Protocol.java (renamed from src/org/traccar/protocol/Ardi01Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Ardi01ProtocolDecoder.java (renamed from src/org/traccar/protocol/Ardi01ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ArknavProtocol.java (renamed from src/org/traccar/protocol/ArknavProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ArknavProtocolDecoder.java (renamed from src/org/traccar/protocol/ArknavProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ArknavX8Protocol.java (renamed from src/org/traccar/protocol/ArknavX8Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ArknavX8ProtocolDecoder.java (renamed from src/org/traccar/protocol/ArknavX8ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ArnaviProtocol.java (renamed from src/org/traccar/protocol/ArnaviProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ArnaviProtocolDecoder.java (renamed from src/org/traccar/protocol/ArnaviProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AstraProtocol.java (renamed from src/org/traccar/protocol/AstraProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AstraProtocolDecoder.java (renamed from src/org/traccar/protocol/AstraProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/At2000FrameDecoder.java (renamed from src/org/traccar/protocol/At2000FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/At2000Protocol.java (renamed from src/org/traccar/protocol/At2000Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/At2000ProtocolDecoder.java (renamed from src/org/traccar/protocol/At2000ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AtrackFrameDecoder.java (renamed from src/org/traccar/protocol/AtrackFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AtrackProtocol.java (renamed from src/org/traccar/protocol/AtrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AtrackProtocolDecoder.java (renamed from src/org/traccar/protocol/AtrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AtrackProtocolEncoder.java (renamed from src/org/traccar/protocol/AtrackProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AuroProtocol.java (renamed from src/org/traccar/protocol/AuroProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AuroProtocolDecoder.java (renamed from src/org/traccar/protocol/AuroProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AustinNbProtocol.java (renamed from src/org/traccar/protocol/AustinNbProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AustinNbProtocolDecoder.java (renamed from src/org/traccar/protocol/AustinNbProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AutoFonFrameDecoder.java (renamed from src/org/traccar/protocol/AutoFonFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AutoFonProtocol.java (renamed from src/org/traccar/protocol/AutoFonProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AutoFonProtocolDecoder.java (renamed from src/org/traccar/protocol/AutoFonProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AutoGradeProtocol.java (renamed from src/org/traccar/protocol/AutoGradeProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AutoGradeProtocolDecoder.java (renamed from src/org/traccar/protocol/AutoGradeProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AutoTrackProtocol.java (renamed from src/org/traccar/protocol/AutoTrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java (renamed from src/org/traccar/protocol/AutoTrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AvemaProtocol.java (renamed from src/org/traccar/protocol/AvemaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/AvemaProtocolDecoder.java (renamed from src/org/traccar/protocol/AvemaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Avl301Protocol.java (renamed from src/org/traccar/protocol/Avl301Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Avl301ProtocolDecoder.java (renamed from src/org/traccar/protocol/Avl301ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BceFrameDecoder.java (renamed from src/org/traccar/protocol/BceFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BceProtocol.java (renamed from src/org/traccar/protocol/BceProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BceProtocolDecoder.java (renamed from src/org/traccar/protocol/BceProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BceProtocolEncoder.java (renamed from src/org/traccar/protocol/BceProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BlackKiteProtocol.java (renamed from src/org/traccar/protocol/BlackKiteProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java (renamed from src/org/traccar/protocol/BlackKiteProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BoxProtocol.java (renamed from src/org/traccar/protocol/BoxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/BoxProtocolDecoder.java (renamed from src/org/traccar/protocol/BoxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/C2stekProtocol.java (renamed from src/org/traccar/protocol/C2stekProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java (renamed from src/org/traccar/protocol/C2stekProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CalAmpProtocol.java (renamed from src/org/traccar/protocol/CalAmpProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CalAmpProtocolDecoder.java (renamed from src/org/traccar/protocol/CalAmpProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CarTrackProtocol.java (renamed from src/org/traccar/protocol/CarTrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CarTrackProtocolDecoder.java (renamed from src/org/traccar/protocol/CarTrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CarcellProtocol.java (renamed from src/org/traccar/protocol/CarcellProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java (renamed from src/org/traccar/protocol/CarcellProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java (renamed from src/org/traccar/protocol/CarcellProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CarscopProtocol.java (renamed from src/org/traccar/protocol/CarscopProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CarscopProtocolDecoder.java (renamed from src/org/traccar/protocol/CarscopProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CastelProtocol.java (renamed from src/org/traccar/protocol/CastelProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CastelProtocolDecoder.java (renamed from src/org/traccar/protocol/CastelProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CastelProtocolEncoder.java (renamed from src/org/traccar/protocol/CastelProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CautelaProtocol.java (renamed from src/org/traccar/protocol/CautelaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CautelaProtocolDecoder.java (renamed from src/org/traccar/protocol/CautelaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CellocatorFrameDecoder.java (renamed from src/org/traccar/protocol/CellocatorFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CellocatorProtocol.java (renamed from src/org/traccar/protocol/CellocatorProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java (renamed from src/org/traccar/protocol/CellocatorProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CellocatorProtocolEncoder.java (renamed from src/org/traccar/protocol/CellocatorProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CguardProtocol.java (renamed from src/org/traccar/protocol/CguardProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CguardProtocolDecoder.java (renamed from src/org/traccar/protocol/CguardProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CityeasyProtocol.java (renamed from src/org/traccar/protocol/CityeasyProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CityeasyProtocolDecoder.java (renamed from src/org/traccar/protocol/CityeasyProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CityeasyProtocolEncoder.java (renamed from src/org/traccar/protocol/CityeasyProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ContinentalProtocol.java (renamed from src/org/traccar/protocol/ContinentalProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ContinentalProtocolDecoder.java (renamed from src/org/traccar/protocol/ContinentalProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CradlepointProtocol.java (renamed from src/org/traccar/protocol/CradlepointProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/CradlepointProtocolDecoder.java (renamed from src/org/traccar/protocol/CradlepointProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DishaProtocol.java (renamed from src/org/traccar/protocol/DishaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DishaProtocolDecoder.java (renamed from src/org/traccar/protocol/DishaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DmtHttpProtocol.java (renamed from src/org/traccar/protocol/DmtHttpProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DmtHttpProtocolDecoder.java (renamed from src/org/traccar/protocol/DmtHttpProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocol.java (renamed from src/org/traccar/protocol/DmtProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocolDecoder.java (renamed from src/org/traccar/protocol/DmtProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DwayProtocol.java (renamed from src/org/traccar/protocol/DwayProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/DwayProtocolDecoder.java (renamed from src/org/traccar/protocol/DwayProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EasyTrackProtocol.java (renamed from src/org/traccar/protocol/EasyTrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java (renamed from src/org/traccar/protocol/EasyTrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EelinkProtocol.java (renamed from src/org/traccar/protocol/EelinkProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java (renamed from src/org/traccar/protocol/EelinkProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EelinkProtocolEncoder.java (renamed from src/org/traccar/protocol/EelinkProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EgtsFrameDecoder.java (renamed from src/org/traccar/protocol/EgtsFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EgtsProtocol.java (renamed from src/org/traccar/protocol/EgtsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java (renamed from src/org/traccar/protocol/EgtsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EnforaProtocol.java (renamed from src/org/traccar/protocol/EnforaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EnforaProtocolDecoder.java (renamed from src/org/traccar/protocol/EnforaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EnforaProtocolEncoder.java (renamed from src/org/traccar/protocol/EnforaProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EsealProtocol.java (renamed from src/org/traccar/protocol/EsealProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EsealProtocolDecoder.java (renamed from src/org/traccar/protocol/EsealProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EsealProtocolEncoder.java (renamed from src/org/traccar/protocol/EsealProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EskyFrameDecoder.java (renamed from src/org/traccar/protocol/EskyFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EskyProtocol.java (renamed from src/org/traccar/protocol/EskyProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/EskyProtocolDecoder.java (renamed from src/org/traccar/protocol/EskyProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ExtremTracProtocol.java (renamed from src/org/traccar/protocol/ExtremTracProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ExtremTracProtocolDecoder.java (renamed from src/org/traccar/protocol/ExtremTracProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FifotrackProtocol.java (renamed from src/org/traccar/protocol/FifotrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java (renamed from src/org/traccar/protocol/FifotrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FlespiProtocol.java (renamed from src/org/traccar/protocol/FlespiProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java (renamed from src/org/traccar/protocol/FlespiProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FlexCommProtocol.java (renamed from src/org/traccar/protocol/FlexCommProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FlexCommProtocolDecoder.java (renamed from src/org/traccar/protocol/FlexCommProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FlextrackProtocol.java (renamed from src/org/traccar/protocol/FlextrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FlextrackProtocolDecoder.java (renamed from src/org/traccar/protocol/FlextrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FoxProtocol.java (renamed from src/org/traccar/protocol/FoxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FoxProtocolDecoder.java (renamed from src/org/traccar/protocol/FoxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FreedomProtocol.java (renamed from src/org/traccar/protocol/FreedomProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FreedomProtocolDecoder.java (renamed from src/org/traccar/protocol/FreedomProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FreematicsProtocol.java (renamed from src/org/traccar/protocol/FreematicsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/FreematicsProtocolDecoder.java (renamed from src/org/traccar/protocol/FreematicsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GalileoFrameDecoder.java (renamed from src/org/traccar/protocol/GalileoFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GalileoProtocol.java (renamed from src/org/traccar/protocol/GalileoProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java (renamed from src/org/traccar/protocol/GalileoProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GalileoProtocolEncoder.java (renamed from src/org/traccar/protocol/GalileoProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GatorProtocol.java (renamed from src/org/traccar/protocol/GatorProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GatorProtocolDecoder.java (renamed from src/org/traccar/protocol/GatorProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GenxProtocol.java (renamed from src/org/traccar/protocol/GenxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GenxProtocolDecoder.java (renamed from src/org/traccar/protocol/GenxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl100Protocol.java (renamed from src/org/traccar/protocol/Gl100Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl100ProtocolDecoder.java (renamed from src/org/traccar/protocol/Gl100ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl200BinaryProtocolDecoder.java (renamed from src/org/traccar/protocol/Gl200BinaryProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl200FrameDecoder.java (renamed from src/org/traccar/protocol/Gl200FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl200Protocol.java (renamed from src/org/traccar/protocol/Gl200Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl200ProtocolDecoder.java (renamed from src/org/traccar/protocol/Gl200ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl200ProtocolEncoder.java (renamed from src/org/traccar/protocol/Gl200ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java (renamed from src/org/traccar/protocol/Gl200TextProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GlobalSatProtocol.java (renamed from src/org/traccar/protocol/GlobalSatProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GlobalSatProtocolDecoder.java (renamed from src/org/traccar/protocol/GlobalSatProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GnxProtocol.java (renamed from src/org/traccar/protocol/GnxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GnxProtocolDecoder.java (renamed from src/org/traccar/protocol/GnxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GoSafeProtocol.java (renamed from src/org/traccar/protocol/GoSafeProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java (renamed from src/org/traccar/protocol/GoSafeProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GotopProtocol.java (renamed from src/org/traccar/protocol/GotopProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GotopProtocolDecoder.java (renamed from src/org/traccar/protocol/GotopProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gps056FrameDecoder.java (renamed from src/org/traccar/protocol/Gps056FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gps056Protocol.java (renamed from src/org/traccar/protocol/Gps056Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gps056ProtocolDecoder.java (renamed from src/org/traccar/protocol/Gps056ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gps103Protocol.java (renamed from src/org/traccar/protocol/Gps103Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java (renamed from src/org/traccar/protocol/Gps103ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java (renamed from src/org/traccar/protocol/Gps103ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GpsGateProtocol.java (renamed from src/org/traccar/protocol/GpsGateProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GpsGateProtocolDecoder.java (renamed from src/org/traccar/protocol/GpsGateProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GpsMarkerProtocol.java (renamed from src/org/traccar/protocol/GpsMarkerProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GpsMarkerProtocolDecoder.java (renamed from src/org/traccar/protocol/GpsMarkerProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GpsmtaProtocol.java (renamed from src/org/traccar/protocol/GpsmtaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GpsmtaProtocolDecoder.java (renamed from src/org/traccar/protocol/GpsmtaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GranitFrameDecoder.java (renamed from src/org/traccar/protocol/GranitFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GranitProtocol.java (renamed from src/org/traccar/protocol/GranitProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GranitProtocolDecoder.java (renamed from src/org/traccar/protocol/GranitProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GranitProtocolEncoder.java (renamed from src/org/traccar/protocol/GranitProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/GranitProtocolSmsEncoder.java (renamed from src/org/traccar/protocol/GranitProtocolSmsEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt02Protocol.java (renamed from src/org/traccar/protocol/Gt02Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt02ProtocolDecoder.java (renamed from src/org/traccar/protocol/Gt02ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt06FrameDecoder.java (renamed from src/org/traccar/protocol/Gt06FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt06Protocol.java (renamed from src/org/traccar/protocol/Gt06Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java (renamed from src/org/traccar/protocol/Gt06ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt06ProtocolEncoder.java (renamed from src/org/traccar/protocol/Gt06ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt30Protocol.java (renamed from src/org/traccar/protocol/Gt30Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Gt30ProtocolDecoder.java (renamed from src/org/traccar/protocol/Gt30ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/H02FrameDecoder.java (renamed from src/org/traccar/protocol/H02FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/H02Protocol.java (renamed from src/org/traccar/protocol/H02Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/H02ProtocolDecoder.java (renamed from src/org/traccar/protocol/H02ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/H02ProtocolEncoder.java (renamed from src/org/traccar/protocol/H02ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HaicomProtocol.java (renamed from src/org/traccar/protocol/HaicomProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HaicomProtocolDecoder.java (renamed from src/org/traccar/protocol/HaicomProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HomtecsProtocol.java (renamed from src/org/traccar/protocol/HomtecsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HomtecsProtocolDecoder.java (renamed from src/org/traccar/protocol/HomtecsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HuaShengFrameDecoder.java (renamed from src/org/traccar/protocol/HuaShengFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HuaShengProtocol.java (renamed from src/org/traccar/protocol/HuaShengProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java (renamed from src/org/traccar/protocol/HuaShengProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HuabaoFrameDecoder.java (renamed from src/org/traccar/protocol/HuabaoFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HuabaoProtocol.java (renamed from src/org/traccar/protocol/HuabaoProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java (renamed from src/org/traccar/protocol/HuabaoProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HuabaoProtocolEncoder.java (renamed from src/org/traccar/protocol/HuabaoProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HunterProProtocol.java (renamed from src/org/traccar/protocol/HunterProProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/HunterProProtocolDecoder.java (renamed from src/org/traccar/protocol/HunterProProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/IdplProtocol.java (renamed from src/org/traccar/protocol/IdplProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/IdplProtocolDecoder.java (renamed from src/org/traccar/protocol/IdplProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/IntellitracFrameDecoder.java (renamed from src/org/traccar/protocol/IntellitracFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/IntellitracProtocol.java (renamed from src/org/traccar/protocol/IntellitracProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/IntellitracProtocolDecoder.java (renamed from src/org/traccar/protocol/IntellitracProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ItsProtocol.java (renamed from src/org/traccar/protocol/ItsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ItsProtocolDecoder.java (renamed from src/org/traccar/protocol/ItsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Ivt401Protocol.java (renamed from src/org/traccar/protocol/Ivt401Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Ivt401ProtocolDecoder.java (renamed from src/org/traccar/protocol/Ivt401ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/JpKorjarFrameDecoder.java (renamed from src/org/traccar/protocol/JpKorjarFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/JpKorjarProtocol.java (renamed from src/org/traccar/protocol/JpKorjarProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/JpKorjarProtocolDecoder.java (renamed from src/org/traccar/protocol/JpKorjarProtocolDecoder.java)178
-rw-r--r--src/main/java/org/traccar/protocol/Jt600FrameDecoder.java (renamed from src/org/traccar/protocol/Jt600FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Jt600Protocol.java (renamed from src/org/traccar/protocol/Jt600Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Jt600ProtocolDecoder.java (renamed from src/org/traccar/protocol/Jt600ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Jt600ProtocolEncoder.java (renamed from src/org/traccar/protocol/Jt600ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/KenjiProtocol.java (renamed from src/org/traccar/protocol/KenjiProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/KenjiProtocolDecoder.java (renamed from src/org/traccar/protocol/KenjiProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/KhdProtocol.java (renamed from src/org/traccar/protocol/KhdProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/KhdProtocolDecoder.java (renamed from src/org/traccar/protocol/KhdProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/KhdProtocolEncoder.java (renamed from src/org/traccar/protocol/KhdProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/L100FrameDecoder.java (renamed from src/org/traccar/protocol/L100FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/L100Protocol.java (renamed from src/org/traccar/protocol/L100Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/L100ProtocolDecoder.java (renamed from src/org/traccar/protocol/L100ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/LaipacProtocol.java (renamed from src/org/traccar/protocol/LaipacProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java (renamed from src/org/traccar/protocol/LaipacProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/M2cProtocol.java (renamed from src/org/traccar/protocol/M2cProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/M2cProtocolDecoder.java (renamed from src/org/traccar/protocol/M2cProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/M2mProtocol.java (renamed from src/org/traccar/protocol/M2mProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/M2mProtocolDecoder.java (renamed from src/org/traccar/protocol/M2mProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MaestroProtocol.java (renamed from src/org/traccar/protocol/MaestroProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MaestroProtocolDecoder.java (renamed from src/org/traccar/protocol/MaestroProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ManPowerProtocol.java (renamed from src/org/traccar/protocol/ManPowerProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ManPowerProtocolDecoder.java (renamed from src/org/traccar/protocol/ManPowerProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MegastekFrameDecoder.java (renamed from src/org/traccar/protocol/MegastekFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MegastekProtocol.java (renamed from src/org/traccar/protocol/MegastekProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java (renamed from src/org/traccar/protocol/MegastekProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeiligaoFrameDecoder.java (renamed from src/org/traccar/protocol/MeiligaoFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeiligaoProtocol.java (renamed from src/org/traccar/protocol/MeiligaoProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java (renamed from src/org/traccar/protocol/MeiligaoProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeiligaoProtocolEncoder.java (renamed from src/org/traccar/protocol/MeiligaoProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackFrameDecoder.java (renamed from src/org/traccar/protocol/MeitrackFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocol.java (renamed from src/org/traccar/protocol/MeitrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java (renamed from src/org/traccar/protocol/MeitrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java (renamed from src/org/traccar/protocol/MeitrackProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MilesmateProtocol.java (renamed from src/org/traccar/protocol/MilesmateProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MilesmateProtocolDecoder.java (renamed from src/org/traccar/protocol/MilesmateProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MiniFinderProtocol.java (renamed from src/org/traccar/protocol/MiniFinderProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MiniFinderProtocolDecoder.java (renamed from src/org/traccar/protocol/MiniFinderProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MiniFinderProtocolEncoder.java (renamed from src/org/traccar/protocol/MiniFinderProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Mta6Protocol.java (renamed from src/org/traccar/protocol/Mta6Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Mta6ProtocolDecoder.java (renamed from src/org/traccar/protocol/Mta6ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MtxProtocol.java (renamed from src/org/traccar/protocol/MtxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MtxProtocolDecoder.java (renamed from src/org/traccar/protocol/MtxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MxtFrameDecoder.java (renamed from src/org/traccar/protocol/MxtFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MxtProtocol.java (renamed from src/org/traccar/protocol/MxtProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/MxtProtocolDecoder.java (renamed from src/org/traccar/protocol/MxtProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NavigilFrameDecoder.java (renamed from src/org/traccar/protocol/NavigilFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NavigilProtocol.java (renamed from src/org/traccar/protocol/NavigilProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NavigilProtocolDecoder.java (renamed from src/org/traccar/protocol/NavigilProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NavisFrameDecoder.java (renamed from src/org/traccar/protocol/NavisFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NavisProtocol.java (renamed from src/org/traccar/protocol/NavisProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NavisProtocolDecoder.java (renamed from src/org/traccar/protocol/NavisProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NeosProtocol.java (renamed from src/org/traccar/protocol/NeosProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NeosProtocolDecoder.java (renamed from src/org/traccar/protocol/NeosProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NoranProtocol.java (renamed from src/org/traccar/protocol/NoranProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NoranProtocolDecoder.java (renamed from src/org/traccar/protocol/NoranProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NoranProtocolEncoder.java (renamed from src/org/traccar/protocol/NoranProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NvsFrameDecoder.java (renamed from src/org/traccar/protocol/NvsFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NvsProtocol.java (renamed from src/org/traccar/protocol/NvsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NvsProtocolDecoder.java (renamed from src/org/traccar/protocol/NvsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NyitechProtocol.java (renamed from src/org/traccar/protocol/NyitechProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/NyitechProtocolDecoder.java (renamed from src/org/traccar/protocol/NyitechProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ObdDongleProtocol.java (renamed from src/org/traccar/protocol/ObdDongleProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ObdDongleProtocolDecoder.java (renamed from src/org/traccar/protocol/ObdDongleProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OigoProtocol.java (renamed from src/org/traccar/protocol/OigoProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OigoProtocolDecoder.java (renamed from src/org/traccar/protocol/OigoProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OkoProtocol.java (renamed from src/org/traccar/protocol/OkoProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OkoProtocolDecoder.java (renamed from src/org/traccar/protocol/OkoProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OpenGtsProtocol.java (renamed from src/org/traccar/protocol/OpenGtsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OpenGtsProtocolDecoder.java (renamed from src/org/traccar/protocol/OpenGtsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OrionFrameDecoder.java (renamed from src/org/traccar/protocol/OrionFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OrionProtocol.java (renamed from src/org/traccar/protocol/OrionProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OrionProtocolDecoder.java (renamed from src/org/traccar/protocol/OrionProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OsmAndProtocol.java (renamed from src/org/traccar/protocol/OsmAndProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OsmAndProtocolDecoder.java (renamed from src/org/traccar/protocol/OsmAndProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OwnTracksProtocol.java (renamed from src/org/traccar/protocol/OwnTracksProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/OwnTracksProtocolDecoder.java (renamed from src/org/traccar/protocol/OwnTracksProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PathAwayProtocol.java (renamed from src/org/traccar/protocol/PathAwayProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PathAwayProtocolDecoder.java (renamed from src/org/traccar/protocol/PathAwayProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PiligrimProtocol.java (renamed from src/org/traccar/protocol/PiligrimProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PiligrimProtocolDecoder.java (renamed from src/org/traccar/protocol/PiligrimProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PretraceProtocol.java (renamed from src/org/traccar/protocol/PretraceProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PretraceProtocolDecoder.java (renamed from src/org/traccar/protocol/PretraceProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PretraceProtocolEncoder.java (renamed from src/org/traccar/protocol/PretraceProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PricolProtocol.java (renamed from src/org/traccar/protocol/PricolProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/PricolProtocolDecoder.java (renamed from src/org/traccar/protocol/PricolProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ProgressProtocol.java (renamed from src/org/traccar/protocol/ProgressProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ProgressProtocolDecoder.java (renamed from src/org/traccar/protocol/ProgressProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Pt3000Protocol.java (renamed from src/org/traccar/protocol/Pt3000Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Pt3000ProtocolDecoder.java (renamed from src/org/traccar/protocol/Pt3000ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Pt502FrameDecoder.java (renamed from src/org/traccar/protocol/Pt502FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Pt502Protocol.java (renamed from src/org/traccar/protocol/Pt502Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Pt502ProtocolDecoder.java (renamed from src/org/traccar/protocol/Pt502ProtocolDecoder.java)424
-rw-r--r--src/main/java/org/traccar/protocol/Pt502ProtocolEncoder.java (renamed from src/org/traccar/protocol/Pt502ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Pt60Protocol.java (renamed from src/org/traccar/protocol/Pt60Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Pt60ProtocolDecoder.java (renamed from src/org/traccar/protocol/Pt60ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RaveonProtocol.java (renamed from src/org/traccar/protocol/RaveonProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RaveonProtocolDecoder.java (renamed from src/org/traccar/protocol/RaveonProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RecodaProtocol.java (renamed from src/org/traccar/protocol/RecodaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RecodaProtocolDecoder.java (renamed from src/org/traccar/protocol/RecodaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RetranslatorFrameDecoder.java (renamed from src/org/traccar/protocol/RetranslatorFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RetranslatorProtocol.java (renamed from src/org/traccar/protocol/RetranslatorProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RetranslatorProtocolDecoder.java (renamed from src/org/traccar/protocol/RetranslatorProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RitiProtocol.java (renamed from src/org/traccar/protocol/RitiProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RitiProtocolDecoder.java (renamed from src/org/traccar/protocol/RitiProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RoboTrackFrameDecoder.java (renamed from src/org/traccar/protocol/RoboTrackFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RoboTrackProtocol.java (renamed from src/org/traccar/protocol/RoboTrackProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RoboTrackProtocolDecoder.java (renamed from src/org/traccar/protocol/RoboTrackProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocol.java (renamed from src/org/traccar/protocol/RuptelaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java (renamed from src/org/traccar/protocol/RuptelaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocolEncoder.java (renamed from src/org/traccar/protocol/RuptelaProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SabertekFrameDecoder.java (renamed from src/org/traccar/protocol/SabertekFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SabertekProtocol.java (renamed from src/org/traccar/protocol/SabertekProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SabertekProtocolDecoder.java (renamed from src/org/traccar/protocol/SabertekProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SanavProtocol.java (renamed from src/org/traccar/protocol/SanavProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SanavProtocolDecoder.java (renamed from src/org/traccar/protocol/SanavProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SatsolProtocol.java (renamed from src/org/traccar/protocol/SatsolProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SatsolProtocolDecoder.java (renamed from src/org/traccar/protocol/SatsolProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SigfoxProtocol.java (renamed from src/org/traccar/protocol/SigfoxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java (renamed from src/org/traccar/protocol/SigfoxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SiwiProtocol.java (renamed from src/org/traccar/protocol/SiwiProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SiwiProtocolDecoder.java (renamed from src/org/traccar/protocol/SiwiProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SkypatrolProtocol.java (renamed from src/org/traccar/protocol/SkypatrolProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SkypatrolProtocolDecoder.java (renamed from src/org/traccar/protocol/SkypatrolProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SmartSoleProtocol.java (renamed from src/org/traccar/protocol/SmartSoleProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SmartSoleProtocolDecoder.java (renamed from src/org/traccar/protocol/SmartSoleProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SmokeyProtocol.java (renamed from src/org/traccar/protocol/SmokeyProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SmokeyProtocolDecoder.java (renamed from src/org/traccar/protocol/SmokeyProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SpotProtocol.java (renamed from src/org/traccar/protocol/SpotProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SpotProtocolDecoder.java (renamed from src/org/traccar/protocol/SpotProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/StarLinkProtocol.java (renamed from src/org/traccar/protocol/StarLinkProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java (renamed from src/org/traccar/protocol/StarLinkProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Stl060FrameDecoder.java (renamed from src/org/traccar/protocol/Stl060FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Stl060Protocol.java (renamed from src/org/traccar/protocol/Stl060Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Stl060ProtocolDecoder.java (renamed from src/org/traccar/protocol/Stl060ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocol.java (renamed from src/org/traccar/protocol/SuntechProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java (renamed from src/org/traccar/protocol/SuntechProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SuntechProtocolEncoder.java (renamed from src/org/traccar/protocol/SuntechProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SupermateProtocol.java (renamed from src/org/traccar/protocol/SupermateProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SupermateProtocolDecoder.java (renamed from src/org/traccar/protocol/SupermateProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/SviasProtocol.java (renamed from src/org/traccar/protocol/SviasProtocol.java)102
-rw-r--r--src/main/java/org/traccar/protocol/SviasProtocolDecoder.java (renamed from src/org/traccar/protocol/SviasProtocolDecoder.java)210
-rw-r--r--src/main/java/org/traccar/protocol/SviasProtocolEncoder.java (renamed from src/org/traccar/protocol/SviasProtocolEncoder.java)96
-rw-r--r--src/main/java/org/traccar/protocol/T55Protocol.java (renamed from src/org/traccar/protocol/T55Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/T55ProtocolDecoder.java (renamed from src/org/traccar/protocol/T55ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/T57FrameDecoder.java (renamed from src/org/traccar/protocol/T57FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/T57Protocol.java (renamed from src/org/traccar/protocol/T57Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/T57ProtocolDecoder.java (renamed from src/org/traccar/protocol/T57ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/T800xProtocol.java (renamed from src/org/traccar/protocol/T800xProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/T800xProtocolDecoder.java (renamed from src/org/traccar/protocol/T800xProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/T800xProtocolEncoder.java (renamed from src/org/traccar/protocol/T800xProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TaipProtocol.java (renamed from src/org/traccar/protocol/TaipProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TaipProtocolDecoder.java (renamed from src/org/traccar/protocol/TaipProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TekFrameDecoder.java (renamed from src/org/traccar/protocol/TekFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TekProtocol.java (renamed from src/org/traccar/protocol/TekProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TekProtocolDecoder.java (renamed from src/org/traccar/protocol/TekProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TelemaxProtocol.java (renamed from src/org/traccar/protocol/TelemaxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TelemaxProtocolDecoder.java (renamed from src/org/traccar/protocol/TelemaxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TelicFrameDecoder.java (renamed from src/org/traccar/protocol/TelicFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TelicProtocol.java (renamed from src/org/traccar/protocol/TelicProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TelicProtocolDecoder.java (renamed from src/org/traccar/protocol/TelicProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaFrameDecoder.java (renamed from src/org/traccar/protocol/TeltonikaFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocol.java (renamed from src/org/traccar/protocol/TeltonikaProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java (renamed from src/org/traccar/protocol/TeltonikaProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolEncoder.java (renamed from src/org/traccar/protocol/TeltonikaProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ThinkRaceProtocol.java (renamed from src/org/traccar/protocol/ThinkRaceProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/ThinkRaceProtocolDecoder.java (renamed from src/org/traccar/protocol/ThinkRaceProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tk102Protocol.java (renamed from src/org/traccar/protocol/Tk102Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tk102ProtocolDecoder.java (renamed from src/org/traccar/protocol/Tk102ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tk103FrameDecoder.java (renamed from src/org/traccar/protocol/Tk103FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tk103Protocol.java (renamed from src/org/traccar/protocol/Tk103Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java (renamed from src/org/traccar/protocol/Tk103ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tk103ProtocolEncoder.java (renamed from src/org/traccar/protocol/Tk103ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tlt2hProtocol.java (renamed from src/org/traccar/protocol/Tlt2hProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java (renamed from src/org/traccar/protocol/Tlt2hProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TlvProtocol.java (renamed from src/org/traccar/protocol/TlvProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TlvProtocolDecoder.java (renamed from src/org/traccar/protocol/TlvProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TmgFrameDecoder.java (renamed from src/org/traccar/protocol/TmgFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TmgProtocol.java (renamed from src/org/traccar/protocol/TmgProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TmgProtocolDecoder.java (renamed from src/org/traccar/protocol/TmgProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TopflytechProtocol.java (renamed from src/org/traccar/protocol/TopflytechProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TopflytechProtocolDecoder.java (renamed from src/org/traccar/protocol/TopflytechProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TotemFrameDecoder.java (renamed from src/org/traccar/protocol/TotemFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TotemProtocol.java (renamed from src/org/traccar/protocol/TotemProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TotemProtocolDecoder.java (renamed from src/org/traccar/protocol/TotemProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TotemProtocolEncoder.java (renamed from src/org/traccar/protocol/TotemProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tr20Protocol.java (renamed from src/org/traccar/protocol/Tr20Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tr20ProtocolDecoder.java (renamed from src/org/traccar/protocol/Tr20ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tr900Protocol.java (renamed from src/org/traccar/protocol/Tr900Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tr900ProtocolDecoder.java (renamed from src/org/traccar/protocol/Tr900ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TrackboxProtocol.java (renamed from src/org/traccar/protocol/TrackboxProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TrackboxProtocolDecoder.java (renamed from src/org/traccar/protocol/TrackboxProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TrakMateProtocol.java (renamed from src/org/traccar/protocol/TrakMateProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TrakMateProtocolDecoder.java (renamed from src/org/traccar/protocol/TrakMateProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TramigoFrameDecoder.java (renamed from src/org/traccar/protocol/TramigoFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TramigoProtocol.java (renamed from src/org/traccar/protocol/TramigoProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java (renamed from src/org/traccar/protocol/TramigoProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TrvProtocol.java (renamed from src/org/traccar/protocol/TrvProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TrvProtocolDecoder.java (renamed from src/org/traccar/protocol/TrvProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tt8850Protocol.java (renamed from src/org/traccar/protocol/Tt8850Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Tt8850ProtocolDecoder.java (renamed from src/org/traccar/protocol/Tt8850ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TytanProtocol.java (renamed from src/org/traccar/protocol/TytanProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TytanProtocolDecoder.java (renamed from src/org/traccar/protocol/TytanProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TzoneProtocol.java (renamed from src/org/traccar/protocol/TzoneProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/TzoneProtocolDecoder.java (renamed from src/org/traccar/protocol/TzoneProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/UlbotechFrameDecoder.java (renamed from src/org/traccar/protocol/UlbotechFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/UlbotechProtocol.java (renamed from src/org/traccar/protocol/UlbotechProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/UlbotechProtocolDecoder.java (renamed from src/org/traccar/protocol/UlbotechProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocol.java (renamed from src/org/traccar/protocol/UproProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocolDecoder.java (renamed from src/org/traccar/protocol/UproProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/V680Protocol.java (renamed from src/org/traccar/protocol/V680Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/V680ProtocolDecoder.java (renamed from src/org/traccar/protocol/V680ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/VisiontekProtocol.java (renamed from src/org/traccar/protocol/VisiontekProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/VisiontekProtocolDecoder.java (renamed from src/org/traccar/protocol/VisiontekProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Vt200FrameDecoder.java (renamed from src/org/traccar/protocol/Vt200FrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Vt200Protocol.java (renamed from src/org/traccar/protocol/Vt200Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java (renamed from src/org/traccar/protocol/Vt200ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/VtfmsFrameDecoder.java (renamed from src/org/traccar/protocol/VtfmsFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/VtfmsProtocol.java (renamed from src/org/traccar/protocol/VtfmsProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/VtfmsProtocolDecoder.java (renamed from src/org/traccar/protocol/VtfmsProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WatchFrameDecoder.java (renamed from src/org/traccar/protocol/WatchFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocol.java (renamed from src/org/traccar/protocol/WatchProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocolDecoder.java (renamed from src/org/traccar/protocol/WatchProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WatchProtocolEncoder.java (renamed from src/org/traccar/protocol/WatchProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WialonProtocol.java (renamed from src/org/traccar/protocol/WialonProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WialonProtocolDecoder.java (renamed from src/org/traccar/protocol/WialonProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WialonProtocolEncoder.java (renamed from src/org/traccar/protocol/WialonProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WondexFrameDecoder.java (renamed from src/org/traccar/protocol/WondexFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WondexProtocol.java (renamed from src/org/traccar/protocol/WondexProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WondexProtocolDecoder.java (renamed from src/org/traccar/protocol/WondexProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WondexProtocolEncoder.java (renamed from src/org/traccar/protocol/WondexProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WristbandProtocol.java (renamed from src/org/traccar/protocol/WristbandProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/WristbandProtocolDecoder.java (renamed from src/org/traccar/protocol/WristbandProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/XexunFrameDecoder.java (renamed from src/org/traccar/protocol/XexunFrameDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/XexunProtocol.java (renamed from src/org/traccar/protocol/XexunProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/XexunProtocolDecoder.java (renamed from src/org/traccar/protocol/XexunProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/XexunProtocolEncoder.java (renamed from src/org/traccar/protocol/XexunProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/XirgoProtocol.java (renamed from src/org/traccar/protocol/XirgoProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/XirgoProtocolDecoder.java (renamed from src/org/traccar/protocol/XirgoProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/XirgoProtocolEncoder.java (renamed from src/org/traccar/protocol/XirgoProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Xrb28Protocol.java (renamed from src/org/traccar/protocol/Xrb28Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java (renamed from src/org/traccar/protocol/Xrb28ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Xrb28ProtocolEncoder.java (renamed from src/org/traccar/protocol/Xrb28ProtocolEncoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Xt013Protocol.java (renamed from src/org/traccar/protocol/Xt013Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Xt013ProtocolDecoder.java (renamed from src/org/traccar/protocol/Xt013ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Xt2400Protocol.java (renamed from src/org/traccar/protocol/Xt2400Protocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java (renamed from src/org/traccar/protocol/Xt2400ProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/protocol/YwtProtocol.java (renamed from src/org/traccar/protocol/YwtProtocol.java)0
-rw-r--r--src/main/java/org/traccar/protocol/YwtProtocolDecoder.java (renamed from src/org/traccar/protocol/YwtProtocolDecoder.java)0
-rw-r--r--src/main/java/org/traccar/reports/Events.java (renamed from src/org/traccar/reports/Events.java)0
-rw-r--r--src/main/java/org/traccar/reports/ReportUtils.java (renamed from src/org/traccar/reports/ReportUtils.java)0
-rw-r--r--src/main/java/org/traccar/reports/Route.java (renamed from src/org/traccar/reports/Route.java)0
-rw-r--r--src/main/java/org/traccar/reports/Stops.java (renamed from src/org/traccar/reports/Stops.java)0
-rw-r--r--src/main/java/org/traccar/reports/Summary.java (renamed from src/org/traccar/reports/Summary.java)0
-rw-r--r--src/main/java/org/traccar/reports/Trips.java (renamed from src/org/traccar/reports/Trips.java)0
-rw-r--r--src/main/java/org/traccar/reports/model/BaseReport.java (renamed from src/org/traccar/reports/model/BaseReport.java)0
-rw-r--r--src/main/java/org/traccar/reports/model/DeviceReport.java (renamed from src/org/traccar/reports/model/DeviceReport.java)0
-rw-r--r--src/main/java/org/traccar/reports/model/StopReport.java (renamed from src/org/traccar/reports/model/StopReport.java)0
-rw-r--r--src/main/java/org/traccar/reports/model/SummaryReport.java (renamed from src/org/traccar/reports/model/SummaryReport.java)0
-rw-r--r--src/main/java/org/traccar/reports/model/TripReport.java (renamed from src/org/traccar/reports/model/TripReport.java)0
-rw-r--r--src/main/java/org/traccar/reports/model/TripsConfig.java (renamed from src/org/traccar/reports/model/TripsConfig.java)0
-rw-r--r--src/main/java/org/traccar/sms/HttpSmsClient.java (renamed from src/org/traccar/sms/HttpSmsClient.java)0
-rw-r--r--src/main/java/org/traccar/sms/SmsManager.java (renamed from src/org/traccar/sms/SmsManager.java)2
-rw-r--r--src/main/java/org/traccar/sms/smpp/ClientSmppSessionHandler.java (renamed from src/org/traccar/sms/smpp/ClientSmppSessionHandler.java)0
-rw-r--r--src/main/java/org/traccar/sms/smpp/EnquireLinkTask.java (renamed from src/org/traccar/sms/smpp/EnquireLinkTask.java)0
-rw-r--r--src/main/java/org/traccar/sms/smpp/ReconnectionTask.java (renamed from src/org/traccar/sms/smpp/ReconnectionTask.java)0
-rw-r--r--src/main/java/org/traccar/sms/smpp/SmppClient.java (renamed from src/org/traccar/sms/smpp/SmppClient.java)0
-rw-r--r--src/main/java/org/traccar/sms/smpp/TextMessageEventHandler.java (renamed from src/org/traccar/sms/smpp/TextMessageEventHandler.java)0
-rw-r--r--src/main/java/org/traccar/web/ConsoleServlet.java (renamed from src/org/traccar/web/ConsoleServlet.java)0
-rw-r--r--src/main/java/org/traccar/web/CsvBuilder.java (renamed from src/org/traccar/web/CsvBuilder.java)0
-rw-r--r--src/main/java/org/traccar/web/GpxBuilder.java (renamed from src/org/traccar/web/GpxBuilder.java)0
-rw-r--r--src/main/java/org/traccar/web/WebServer.java (renamed from src/org/traccar/web/WebServer.java)0
-rw-r--r--src/test/java/org/traccar/BaseTest.java (renamed from test/org/traccar/BaseTest.java)0
-rw-r--r--src/test/java/org/traccar/ProtocolTest.java (renamed from test/org/traccar/ProtocolTest.java)0
-rw-r--r--src/test/java/org/traccar/TestIdentityManager.java (renamed from test/org/traccar/TestIdentityManager.java)0
-rw-r--r--src/test/java/org/traccar/WebDataHandlerTest.java (renamed from test/org/traccar/WebDataHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/calendar/CalendarTest.java (renamed from test/org/traccar/calendar/CalendarTest.java)0
-rw-r--r--src/test/java/org/traccar/config/ConfigTest.java (renamed from test/org/traccar/config/ConfigTest.java)0
-rw-r--r--src/test/java/org/traccar/database/DataManagerTest.java (renamed from test/org/traccar/database/DataManagerTest.java)0
-rw-r--r--src/test/java/org/traccar/database/GroupTreeTest.java (renamed from test/org/traccar/database/GroupTreeTest.java)0
-rw-r--r--src/test/java/org/traccar/geocoder/AddressFormatTest.java (renamed from test/org/traccar/geocoder/AddressFormatTest.java)0
-rw-r--r--src/test/java/org/traccar/geocoder/GeocoderTest.java (renamed from test/org/traccar/geocoder/GeocoderTest.java)0
-rw-r--r--src/test/java/org/traccar/geofence/GeofenceCircleTest.java (renamed from test/org/traccar/geofence/GeofenceCircleTest.java)0
-rw-r--r--src/test/java/org/traccar/geofence/GeofencePolygonTest.java (renamed from test/org/traccar/geofence/GeofencePolygonTest.java)0
-rw-r--r--src/test/java/org/traccar/geofence/GeofencePolylineTest.java (renamed from test/org/traccar/geofence/GeofencePolylineTest.java)0
-rw-r--r--src/test/java/org/traccar/geolocation/GeolocationProviderTest.java (renamed from test/org/traccar/geolocation/GeolocationProviderTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/ComputedAttributesTest.java (renamed from test/org/traccar/handler/ComputedAttributesTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/DistanceHandlerTest.java (renamed from test/org/traccar/handler/DistanceHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/FilterHandlerTest.java (renamed from test/org/traccar/handler/FilterHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/MotionHandlerTest.java (renamed from test/org/traccar/handler/MotionHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/events/AlertEventHandlerTest.java (renamed from test/org/traccar/handler/events/AlertEventHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/events/CommandResultEventHandlerTest.java (renamed from test/org/traccar/handler/events/CommandResultEventHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/events/IgnitionEventHandlerTest.java (renamed from test/org/traccar/handler/events/IgnitionEventHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java (renamed from test/org/traccar/handler/events/MotionEventHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/handler/events/OverspeedEventHandlerTest.java (renamed from test/org/traccar/handler/events/OverspeedEventHandlerTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/BcdUtilTest.java (renamed from test/org/traccar/helper/BcdUtilTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/BitBufferTest.java (renamed from test/org/traccar/helper/BitBufferTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/BitUtilTest.java (renamed from test/org/traccar/helper/BitUtilTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/ChecksumTest.java (renamed from test/org/traccar/helper/ChecksumTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/DateBuilderTest.java (renamed from test/org/traccar/helper/DateBuilderTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/DateUtilTest.java (renamed from test/org/traccar/helper/DateUtilTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/DistanceCalculatorTest.java (renamed from test/org/traccar/helper/DistanceCalculatorTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/LocationTreeTest.java (renamed from test/org/traccar/helper/LocationTreeTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/LogTest.java (renamed from test/org/traccar/helper/LogTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/ObdDecoderTest.java (renamed from test/org/traccar/helper/ObdDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/PatternBuilderTest.java (renamed from test/org/traccar/helper/PatternBuilderTest.java)0
-rw-r--r--src/test/java/org/traccar/helper/PatternUtilTest.java (renamed from test/org/traccar/helper/PatternUtilTest.java)0
-rw-r--r--src/test/java/org/traccar/model/MiscFormatterTest.java (renamed from test/org/traccar/model/MiscFormatterTest.java)0
-rw-r--r--src/test/java/org/traccar/notification/NotificiationMailTest.java (renamed from test/org/traccar/notification/NotificiationMailTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AdmProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AdmProtocolEncoderTest.java (renamed from test/org/traccar/protocol/AdmProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AisProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AisProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AlematicsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AlematicsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AnytrekProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AnytrekProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ApelProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ApelProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AplicomFrameDecoderTest.java (renamed from test/org/traccar/protocol/AplicomFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AplicomProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AplicomProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AppelloProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AppelloProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AppletProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AppletProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AquilaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AquilaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Ardi01ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ArknavProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ArknavProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ArknavX8ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ArknavX8ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ArnaviProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ArnaviProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AstraProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/At2000FrameDecoderTest.java (renamed from test/org/traccar/protocol/At2000FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/At2000ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/At2000ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AtrackFrameDecoderTest.java (renamed from test/org/traccar/protocol/AtrackFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AtrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AuroProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AuroProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AustinNbProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AustinNbProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AutoFonProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AutoFonProtocolDecoderTest.java)82
-rw-r--r--src/test/java/org/traccar/protocol/AutoGradeProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AutoTrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/AvemaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/AvemaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Avl301ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Avl301ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java (renamed from test/org/traccar/protocol/BceProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/BceProtocolEncoderTest.java (renamed from test/org/traccar/protocol/BceProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/BlackKiteProtocolDecoderTest.java (renamed from test/org/traccar/protocol/BlackKiteProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/BoxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java (renamed from test/org/traccar/protocol/C2stekProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CalAmpProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CarTrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CarTrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CarscopProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CarscopProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CastelProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CastelProtocolEncoderTest.java (renamed from test/org/traccar/protocol/CastelProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CautelaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CautelaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CellocatorProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CellocatorProtocolEncoderTest.java (renamed from test/org/traccar/protocol/CellocatorProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CguardProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CguardProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CityeasyProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CityeasyProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CityeasyProtocolEncoderTest.java (renamed from test/org/traccar/protocol/CityeasyProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ContinentalProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ContinentalProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/CradlepointProtocolDecoderTest.java (renamed from test/org/traccar/protocol/CradlepointProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/DishaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/DishaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/DmtHttpProtocolDecoderTest.java (renamed from test/org/traccar/protocol/DmtHttpProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/DmtProtocolDecoderTest.java (renamed from test/org/traccar/protocol/DmtProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/DwayProtocolDecoderTest.java (renamed from test/org/traccar/protocol/DwayProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EelinkProtocolDecoderTest.java (renamed from test/org/traccar/protocol/EelinkProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EelinkProtocolEncoderTest.java (renamed from test/org/traccar/protocol/EelinkProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EgtsFrameDecoderTest.java (renamed from test/org/traccar/protocol/EgtsFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/EgtsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EnforaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/EnforaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EsealProtocolDecoderTest.java (renamed from test/org/traccar/protocol/EsealProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EsealProtocolEncoderTest.java (renamed from test/org/traccar/protocol/EsealProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EskyFrameDecoderTest.java (renamed from test/org/traccar/protocol/EskyFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java (renamed from test/org/traccar/protocol/EskyProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ExtremTracProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/FifotrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/FlespiProtocolDecoderTest.java (renamed from test/org/traccar/protocol/FlespiProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/FlexCommProtocolDecoderTest.java (renamed from test/org/traccar/protocol/FlexCommProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/FlextrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/FlextrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/FoxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/FoxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/FreedomProtocolDecoderTest.java (renamed from test/org/traccar/protocol/FreedomProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/FreematicsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java (renamed from test/org/traccar/protocol/GalileoFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GalileoProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GalileoProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GalileoProtocolEncoderTest.java (renamed from test/org/traccar/protocol/GalileoProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GatorProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GatorProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GenxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GenxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gl100ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gl200FrameDecoderTest.java (renamed from test/org/traccar/protocol/Gl200FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GlobalSatProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GlobalSatProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GnxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GnxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GoSafeProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GoSafeProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GotopProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GotopProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gps056FrameDecoderTest.java (renamed from test/org/traccar/protocol/Gps056FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gps056ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gps056ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gps103ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gps103ProtocolEncoderTest.java (renamed from test/org/traccar/protocol/Gps103ProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GpsGateProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GpsGateProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GpsmtaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GranitFrameDecoderTest.java (renamed from test/org/traccar/protocol/GranitFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/GranitProtocolDecoderTest.java (renamed from test/org/traccar/protocol/GranitProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gt02ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gt06FrameDecoderTest.java (renamed from test/org/traccar/protocol/Gt06FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gt06ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gt06ProtocolEncoderTest.java (renamed from test/org/traccar/protocol/Gt06ProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Gt30ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Gt30ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/H02FrameDecoderTest.java (renamed from test/org/traccar/protocol/H02FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/H02ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java (renamed from test/org/traccar/protocol/H02ProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HaicomProtocolDecoderTest.java (renamed from test/org/traccar/protocol/HaicomProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HomtecsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/HomtecsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HuaShengFrameDecoderTest.java (renamed from test/org/traccar/protocol/HuaShengFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java (renamed from test/org/traccar/protocol/HuaShengProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HuabaoFrameDecoderTest.java (renamed from test/org/traccar/protocol/HuabaoFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java (renamed from test/org/traccar/protocol/HuabaoProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HuabaoProtocolEncoderTest.java (renamed from test/org/traccar/protocol/HuabaoProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/HunterProProtocolDecoderTest.java (renamed from test/org/traccar/protocol/HunterProProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/IdplProtocolDecoderTest.java (renamed from test/org/traccar/protocol/IdplProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/IntellitracProtocolDecoderTest.java (renamed from test/org/traccar/protocol/IntellitracProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ItsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Ivt401ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Ivt401ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/JpKorjarProtocolDecoderTest.java (renamed from test/org/traccar/protocol/JpKorjarProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java (renamed from test/org/traccar/protocol/Jt600FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Jt600ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java (renamed from test/org/traccar/protocol/Jt600ProtocolEncoderTest.java)0
-rwxr-xr-xsrc/test/java/org/traccar/protocol/KenjiProtocolDecoderTest.java (renamed from test/org/traccar/protocol/KenjiProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/KhdProtocolDecoderTest.java (renamed from test/org/traccar/protocol/KhdProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/KhdProtocolEncoderTest.java (renamed from test/org/traccar/protocol/KhdProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/L100FrameDecoderTest.java (renamed from test/org/traccar/protocol/L100FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/L100ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/L100ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/LaipacProtocolDecoderTest.java (renamed from test/org/traccar/protocol/LaipacProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/M2cProtocolDecoderTest.java (renamed from test/org/traccar/protocol/M2cProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/M2mProtocolDecoderTest.java (renamed from test/org/traccar/protocol/M2mProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MaestroProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MaestroProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ManPowerProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ManPowerProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MegastekFrameDecoderTest.java (renamed from test/org/traccar/protocol/MegastekFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MegastekProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MeiligaoFrameDecoderTest.java (renamed from test/org/traccar/protocol/MeiligaoFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java (renamed from test/org/traccar/protocol/MeiligaoProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MeitrackFrameDecoderTest.java (renamed from test/org/traccar/protocol/MeitrackFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MeitrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MeitrackProtocolEncoderTest.java (renamed from test/org/traccar/protocol/MeitrackProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MilesmateProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MilesmateProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MiniFinderProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MiniFinderProtocolEncoderTest.java (renamed from test/org/traccar/protocol/MiniFinderProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MtxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MtxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java (renamed from test/org/traccar/protocol/MxtProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NavigilProtocolDecoderTest.java (renamed from test/org/traccar/protocol/NavigilProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NavisFrameDecoderTest.java (renamed from test/org/traccar/protocol/NavisFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java (renamed from test/org/traccar/protocol/NavisProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NeosProtocolDecoderTest.java (renamed from test/org/traccar/protocol/NeosProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NoranProtocolDecoderTest.java (renamed from test/org/traccar/protocol/NoranProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NoranProtocolEncoderTest.java (renamed from test/org/traccar/protocol/NoranProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NvsFrameDecoderTest.java (renamed from test/org/traccar/protocol/NvsFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NvsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/NvsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/NyitechProtocolDecoderTest.java (renamed from test/org/traccar/protocol/NyitechProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ObdDongleProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ObdDongleProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/OigoProtocolDecoderTest.java (renamed from test/org/traccar/protocol/OigoProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/OkoProtocolDecoderTest.java (renamed from test/org/traccar/protocol/OkoProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/OpenGtsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/OrionProtocolDecoderTest.java (renamed from test/org/traccar/protocol/OrionProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/OsmAndProtocolDecoderTest.java (renamed from test/org/traccar/protocol/OsmAndProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/OwnTracksProtocolDecoderTest.java (renamed from test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/PathAwayProtocolDecoderTest.java (renamed from test/org/traccar/protocol/PathAwayProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java (renamed from test/org/traccar/protocol/PiligrimProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/PretraceProtocolDecoderTest.java (renamed from test/org/traccar/protocol/PretraceProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/PretraceProtocolEncoderTest.java (renamed from test/org/traccar/protocol/PretraceProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/PricolProtocolDecoderTest.java (renamed from test/org/traccar/protocol/PricolProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ProgressProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Pt3000ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Pt502FrameDecoderTest.java (renamed from test/org/traccar/protocol/Pt502FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Pt502ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Pt502ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Pt502ProtocolEncoderTest.java (renamed from test/org/traccar/protocol/Pt502ProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Pt60ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Pt60ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RaveonProtocolDecoderTest.java (renamed from test/org/traccar/protocol/RaveonProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RecodaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/RecodaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RetranslatorProtocolDecoderTest.java (renamed from test/org/traccar/protocol/RetranslatorProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RitiProtocolDecoderTest.java (renamed from test/org/traccar/protocol/RitiProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RoboTrackFrameDecoderTest.java (renamed from test/org/traccar/protocol/RoboTrackFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RoboTrackProtocolDecoderTest.java (renamed from test/org/traccar/protocol/RoboTrackProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RuptelaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/RuptelaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/RuptelaProtocolEncoderTest.java (renamed from test/org/traccar/protocol/RuptelaProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SabertekFrameDecoderTest.java (renamed from test/org/traccar/protocol/SabertekFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SabertekProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SabertekProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SanavProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SatsolProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SatsolProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SigfoxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SiwiProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SiwiProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SkypatrolProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SkypatrolProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SmartSoleProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SmokeyProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SmokeyProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SpotProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SpotProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java (renamed from test/org/traccar/protocol/StarLinkProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Stl060ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Stl060ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SuntechProtocolDecoderTest.java)0
-rwxr-xr-xsrc/test/java/org/traccar/protocol/SupermateProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SupermateProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/SviasProtocolDecoderTest.java (renamed from test/org/traccar/protocol/SviasProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/T55ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/T57FrameDecoderTest.java (renamed from test/org/traccar/protocol/T57FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/T57ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/T57ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java (renamed from test/org/traccar/protocol/T800xProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java (renamed from test/org/traccar/protocol/T800xProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TaipProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TekFrameDecoderTest.java (renamed from test/org/traccar/protocol/TekFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TekProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TekProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TelemaxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TelemaxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TelicFrameDecoderTest.java (renamed from test/org/traccar/protocol/TelicFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TelicProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TelicProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TeltonikaProtocolEncoderTest.java (renamed from test/org/traccar/protocol/TeltonikaProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/ThinkRaceProtocolDecoderTest.java (renamed from test/org/traccar/protocol/ThinkRaceProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tk102ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Tk102ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tk103FrameDecoderTest.java (renamed from test/org/traccar/protocol/Tk103FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Tk103ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java (renamed from test/org/traccar/protocol/Tk103ProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TlvProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TlvProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TmgFrameDecoderTest.java (renamed from test/org/traccar/protocol/TmgFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TmgProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TmgProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TopflytechProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TopflytechProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TotemFrameDecoderTest.java (renamed from test/org/traccar/protocol/TotemFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TotemProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TotemProtocolEncoderTest.java (renamed from test/org/traccar/protocol/TotemProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tr20ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Tr20ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tr900ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Tr900ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TrackboxProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TrackboxProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TrakMateProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TrakMateProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TramigoFrameDecoderTest.java (renamed from test/org/traccar/protocol/TramigoFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TramigoProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TrvProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TrvProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Tt8850ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TytanProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TytanProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java (renamed from test/org/traccar/protocol/TzoneProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/UlbotechFrameDecoderTest.java (renamed from test/org/traccar/protocol/UlbotechFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/UlbotechProtocolDecoderTest.java (renamed from test/org/traccar/protocol/UlbotechProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java (renamed from test/org/traccar/protocol/UproProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/V680ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/V680ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/VisiontekProtocolDecoderTest.java (renamed from test/org/traccar/protocol/VisiontekProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Vt200FrameDecoderTest.java (renamed from test/org/traccar/protocol/Vt200FrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Vt200ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Vt200ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/VtfmsFrameDecoderTest.java (renamed from test/org/traccar/protocol/VtfmsFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/VtfmsProtocolDecoderTest.java (renamed from test/org/traccar/protocol/VtfmsProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/WatchFrameDecoderTest.java (renamed from test/org/traccar/protocol/WatchFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java (renamed from test/org/traccar/protocol/WatchProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/WatchProtocolEncoderTest.java (renamed from test/org/traccar/protocol/WatchProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java (renamed from test/org/traccar/protocol/WialonProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/WondexFrameDecoderTest.java (renamed from test/org/traccar/protocol/WondexFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/WondexProtocolDecoderTest.java (renamed from test/org/traccar/protocol/WondexProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/WondexProtocolEncoderTest.java (renamed from test/org/traccar/protocol/WondexProtocolEncoderTest.java)48
-rw-r--r--src/test/java/org/traccar/protocol/WristbandProtocolDecoderTest.java (renamed from test/org/traccar/protocol/WristbandProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/XexunFrameDecoderTest.java (renamed from test/org/traccar/protocol/XexunFrameDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/XexunProtocolDecoderTest.java (renamed from test/org/traccar/protocol/XexunProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java (renamed from test/org/traccar/protocol/XirgoProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/XirgoProtocolEncoderTest.java (renamed from test/org/traccar/protocol/XirgoProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java (renamed from test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Xt013ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Xt013ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/Xt2400ProtocolDecoderTest.java (renamed from test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java (renamed from test/org/traccar/protocol/YwtProtocolDecoderTest.java)0
-rw-r--r--src/test/java/org/traccar/reports/ReportUtilsTest.java (renamed from test/org/traccar/reports/ReportUtilsTest.java)0
-rw-r--r--src/test/java/org/traccar/web/WebServerTest.java (renamed from test/org/traccar/web/WebServerTest.java)0
977 files changed, 1033 insertions, 663 deletions
diff --git a/.gitignore b/.gitignore
index 00818a38a..c005ef9e4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,6 @@ nbactions.xml
*.iml
.DS_Store
.checkstyle
+.gradle
+out
+build
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 000000000..155a893a5
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,83 @@
+plugins {
+ id "java"
+ id "checkstyle"
+}
+
+repositories {
+ mavenCentral()
+}
+
+sourceCompatibility = "1.8"
+compileJava.options.encoding = "UTF-8"
+
+checkstyle {
+ configFile = "gradle/checkstyle.xml" as File
+ checkstyleTest.enabled = false
+}
+
+ext {
+ jettyVersion = "9.4.14.v20181114"
+ jerseyVersion = "2.28"
+ jacksonVersion = "2.9.8"
+}
+
+dependencies {
+ implementation "commons-codec:commons-codec:1.11"
+ implementation "com.h2database:h2:1.4.197"
+ implementation "mysql:mysql-connector-java:5.1.47" // bug should be fixed in 8.0.13
+ implementation "org.postgresql:postgresql:42.2.5"
+ implementation "com.microsoft.sqlserver:mssql-jdbc:7.2.0.jre8"
+ implementation "com.zaxxer:HikariCP:3.3.0"
+ implementation "io.netty:netty-all:4.1.33.Final"
+ implementation "org.slf4j:slf4j-jdk14:1.7.25"
+ implementation "com.google.inject:guice:4.2.2"
+ implementation "com.google.inject.extensions:guice-assistedinject:4.2.2"
+ implementation "org.owasp.encoder:encoder:1.2.2"
+ implementation "org.glassfish:javax.json:1.1.4"
+ implementation "org.eclipse.jetty:jetty-server:$jettyVersion"
+ implementation "org.eclipse.jetty:jetty-servlet:$jettyVersion"
+ implementation "org.eclipse.jetty:jetty-webapp:$jettyVersion"
+ implementation "org.eclipse.jetty:jetty-jndi:$jettyVersion"
+ implementation "org.eclipse.jetty:jetty-proxy:$jettyVersion"
+ implementation "org.eclipse.jetty.websocket:websocket-server:$jettyVersion"
+ implementation "org.glassfish.jersey.containers:jersey-container-servlet:$jerseyVersion"
+ implementation "org.glassfish.jersey.media:jersey-media-json-jackson:$jerseyVersion"
+ implementation "org.glassfish.jersey.inject:jersey-hk2:$jerseyVersion"
+ implementation "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jacksonVersion"
+ implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr353:$jacksonVersion"
+ implementation "org.liquibase:liquibase-core:3.6.3"
+ implementation "com.sun.mail:javax.mail:1.6.2"
+ implementation "org.jxls:jxls:2.4.7"
+ implementation "org.jxls:jxls-poi:1.0.16"
+ implementation "org.apache.velocity:velocity:1.7"
+ implementation "org.apache.velocity:velocity-tools:2.0"
+ implementation "org.apache.commons:commons-collections4:4.2"
+ implementation "org.mnode.ical4j:ical4j:2.0.5" // needs upgrade
+ implementation "com.fizzed:ch-smpp:6.0.0-netty4-beta-3"
+ implementation "net.java.dev.jna:jna-platform:5.2.0"
+ implementation "com.github.jnr:jnr-posix:3.0.49"
+ implementation "javax.xml.bind:jaxb-api:2.3.1"
+ implementation "com.sun.xml.bind:jaxb-core:2.3.0.1"
+ implementation "com.sun.xml.bind:jaxb-impl:2.3.2"
+ implementation "javax.activation:activation:1.1.1"
+ testImplementation "junit:junit:4.12"
+}
+
+task copyDependencies(type: Copy) {
+ into "$projectDir/target/lib"
+ from configurations.runtimeClasspath
+}
+task copyBinary(type: Copy) {
+ into "$projectDir/target"
+ from jar
+}
+assemble.dependsOn(copyBinary, copyDependencies)
+
+jar {
+ manifest {
+ attributes(
+ "Main-Class": "org.traccar.Main",
+ "Implementation-Version": "4.3",
+ "Class-Path": configurations.runtimeClasspath.files.collect { "lib/$it.name" }.join(" "))
+ }
+}
diff --git a/checkstyle.xml b/gradle/checkstyle.xml
index d85100471..d85100471 100644
--- a/checkstyle.xml
+++ b/gradle/checkstyle.xml
diff --git a/findbugs.xml b/gradle/findbugs.xml
index a97cd3cd4..a97cd3cd4 100644
--- a/findbugs.xml
+++ b/gradle/findbugs.xml
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 000000000..5c2d1cf01
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 000000000..b8a51fe20
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.3-all.zip
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
diff --git a/gradlew b/gradlew
new file mode 100755
index 000000000..b0d6d0ab5
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,188 @@
+#!/usr/bin/env sh
+
+#
+# Copyright 2015 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=$(save "$@")
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 000000000..9991c5032
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,100 @@
+@rem
+@rem Copyright 2015 the original author or authors.
+@rem
+@rem Licensed under the Apache License, Version 2.0 (the "License");
+@rem you may not use this file except in compliance with the License.
+@rem You may obtain a copy of the License at
+@rem
+@rem http://www.apache.org/licenses/LICENSE-2.0
+@rem
+@rem Unless required by applicable law or agreed to in writing, software
+@rem distributed under the License is distributed on an "AS IS" BASIS,
+@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@rem See the License for the specific language governing permissions and
+@rem limitations under the License.
+@rem
+
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/pom.xml b/pom.xml
index 9a5abbd84..b9f5965f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -224,23 +224,13 @@
<build>
<finalName>tracker-server</finalName>
<outputDirectory>target/classes</outputDirectory>
- <sourceDirectory>src</sourceDirectory>
- <testSourceDirectory>test</testSourceDirectory>
- <resources>
- <resource>
- <directory>src</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </resource>
- </resources>
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<configuration>
- <configLocation>checkstyle.xml</configLocation>
+ <configLocation>gradle/checkstyle.xml</configLocation>
</configuration>
<executions>
<execution>
@@ -374,7 +364,7 @@
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.5</version>
<configuration>
- <excludeFilterFile>findbugs.xml</excludeFilterFile>
+ <excludeFilterFile>gradle/findbugs.xml</excludeFilterFile>
</configuration>
</plugin>
<plugin>
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 000000000..eccaa4cdb
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1 @@
+rootProject.name = "traccar"
diff --git a/src/org/traccar/BaseDataHandler.java b/src/main/java/org/traccar/BaseDataHandler.java
index 48794b0d7..48794b0d7 100644
--- a/src/org/traccar/BaseDataHandler.java
+++ b/src/main/java/org/traccar/BaseDataHandler.java
diff --git a/src/org/traccar/BaseFrameDecoder.java b/src/main/java/org/traccar/BaseFrameDecoder.java
index f90f90e4b..f90f90e4b 100644
--- a/src/org/traccar/BaseFrameDecoder.java
+++ b/src/main/java/org/traccar/BaseFrameDecoder.java
diff --git a/src/org/traccar/BaseHttpProtocolDecoder.java b/src/main/java/org/traccar/BaseHttpProtocolDecoder.java
index 57a68acac..57a68acac 100644
--- a/src/org/traccar/BaseHttpProtocolDecoder.java
+++ b/src/main/java/org/traccar/BaseHttpProtocolDecoder.java
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/main/java/org/traccar/BasePipelineFactory.java
index b3d37f689..b3d37f689 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/main/java/org/traccar/BasePipelineFactory.java
diff --git a/src/org/traccar/BaseProtocol.java b/src/main/java/org/traccar/BaseProtocol.java
index c0fd1e27f..c0fd1e27f 100644
--- a/src/org/traccar/BaseProtocol.java
+++ b/src/main/java/org/traccar/BaseProtocol.java
diff --git a/src/org/traccar/BaseProtocolDecoder.java b/src/main/java/org/traccar/BaseProtocolDecoder.java
index aa5be612e..aa5be612e 100644
--- a/src/org/traccar/BaseProtocolDecoder.java
+++ b/src/main/java/org/traccar/BaseProtocolDecoder.java
diff --git a/src/org/traccar/BaseProtocolEncoder.java b/src/main/java/org/traccar/BaseProtocolEncoder.java
index d7625e4b8..d7625e4b8 100644
--- a/src/org/traccar/BaseProtocolEncoder.java
+++ b/src/main/java/org/traccar/BaseProtocolEncoder.java
diff --git a/src/org/traccar/CharacterDelimiterFrameDecoder.java b/src/main/java/org/traccar/CharacterDelimiterFrameDecoder.java
index eeb8834dc..eeb8834dc 100644
--- a/src/org/traccar/CharacterDelimiterFrameDecoder.java
+++ b/src/main/java/org/traccar/CharacterDelimiterFrameDecoder.java
diff --git a/src/org/traccar/Context.java b/src/main/java/org/traccar/Context.java
index 9c20db9e4..9c20db9e4 100644
--- a/src/org/traccar/Context.java
+++ b/src/main/java/org/traccar/Context.java
diff --git a/src/org/traccar/DeviceSession.java b/src/main/java/org/traccar/DeviceSession.java
index 322381807..322381807 100644
--- a/src/org/traccar/DeviceSession.java
+++ b/src/main/java/org/traccar/DeviceSession.java
diff --git a/src/org/traccar/EventLoopGroupFactory.java b/src/main/java/org/traccar/EventLoopGroupFactory.java
index 482559253..482559253 100644
--- a/src/org/traccar/EventLoopGroupFactory.java
+++ b/src/main/java/org/traccar/EventLoopGroupFactory.java
diff --git a/src/org/traccar/ExtendedObjectDecoder.java b/src/main/java/org/traccar/ExtendedObjectDecoder.java
index 681924e87..681924e87 100644
--- a/src/org/traccar/ExtendedObjectDecoder.java
+++ b/src/main/java/org/traccar/ExtendedObjectDecoder.java
diff --git a/src/org/traccar/GlobalTimer.java b/src/main/java/org/traccar/GlobalTimer.java
index a97321ba2..a97321ba2 100644
--- a/src/org/traccar/GlobalTimer.java
+++ b/src/main/java/org/traccar/GlobalTimer.java
diff --git a/src/org/traccar/Main.java b/src/main/java/org/traccar/Main.java
index 6ebd1d399..6ebd1d399 100644
--- a/src/org/traccar/Main.java
+++ b/src/main/java/org/traccar/Main.java
diff --git a/src/org/traccar/MainEventHandler.java b/src/main/java/org/traccar/MainEventHandler.java
index a8b53ff60..a8b53ff60 100644
--- a/src/org/traccar/MainEventHandler.java
+++ b/src/main/java/org/traccar/MainEventHandler.java
diff --git a/src/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java
index 6fe8bad1c..6fe8bad1c 100644
--- a/src/org/traccar/MainModule.java
+++ b/src/main/java/org/traccar/MainModule.java
diff --git a/src/org/traccar/NetworkMessage.java b/src/main/java/org/traccar/NetworkMessage.java
index 14a397e69..14a397e69 100644
--- a/src/org/traccar/NetworkMessage.java
+++ b/src/main/java/org/traccar/NetworkMessage.java
diff --git a/src/org/traccar/PipelineBuilder.java b/src/main/java/org/traccar/PipelineBuilder.java
index 3334040b1..3334040b1 100644
--- a/src/org/traccar/PipelineBuilder.java
+++ b/src/main/java/org/traccar/PipelineBuilder.java
diff --git a/src/org/traccar/Protocol.java b/src/main/java/org/traccar/Protocol.java
index 3b66f2598..3b66f2598 100644
--- a/src/org/traccar/Protocol.java
+++ b/src/main/java/org/traccar/Protocol.java
diff --git a/src/org/traccar/ServerManager.java b/src/main/java/org/traccar/ServerManager.java
index 6a3273402..6a3273402 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/main/java/org/traccar/ServerManager.java
diff --git a/src/org/traccar/StringProtocolEncoder.java b/src/main/java/org/traccar/StringProtocolEncoder.java
index 1945ae174..1945ae174 100644
--- a/src/org/traccar/StringProtocolEncoder.java
+++ b/src/main/java/org/traccar/StringProtocolEncoder.java
diff --git a/src/org/traccar/TrackerServer.java b/src/main/java/org/traccar/TrackerServer.java
index 3a1e1c4e8..3a1e1c4e8 100644
--- a/src/org/traccar/TrackerServer.java
+++ b/src/main/java/org/traccar/TrackerServer.java
diff --git a/src/org/traccar/WebDataHandler.java b/src/main/java/org/traccar/WebDataHandler.java
index 64396de03..64396de03 100644
--- a/src/org/traccar/WebDataHandler.java
+++ b/src/main/java/org/traccar/WebDataHandler.java
diff --git a/src/org/traccar/WindowsService.java b/src/main/java/org/traccar/WindowsService.java
index 4a8955608..4a8955608 100644
--- a/src/org/traccar/WindowsService.java
+++ b/src/main/java/org/traccar/WindowsService.java
diff --git a/src/org/traccar/WrapperContext.java b/src/main/java/org/traccar/WrapperContext.java
index 372d3c60d..372d3c60d 100644
--- a/src/org/traccar/WrapperContext.java
+++ b/src/main/java/org/traccar/WrapperContext.java
diff --git a/src/org/traccar/WrapperInboundHandler.java b/src/main/java/org/traccar/WrapperInboundHandler.java
index ca33d021f..ca33d021f 100644
--- a/src/org/traccar/WrapperInboundHandler.java
+++ b/src/main/java/org/traccar/WrapperInboundHandler.java
diff --git a/src/org/traccar/WrapperOutboundHandler.java b/src/main/java/org/traccar/WrapperOutboundHandler.java
index 0136c5b22..0136c5b22 100644
--- a/src/org/traccar/WrapperOutboundHandler.java
+++ b/src/main/java/org/traccar/WrapperOutboundHandler.java
diff --git a/src/org/traccar/api/AsyncSocket.java b/src/main/java/org/traccar/api/AsyncSocket.java
index 906d16b5b..906d16b5b 100644
--- a/src/org/traccar/api/AsyncSocket.java
+++ b/src/main/java/org/traccar/api/AsyncSocket.java
diff --git a/src/org/traccar/api/AsyncSocketServlet.java b/src/main/java/org/traccar/api/AsyncSocketServlet.java
index 9318b6fc6..9318b6fc6 100644
--- a/src/org/traccar/api/AsyncSocketServlet.java
+++ b/src/main/java/org/traccar/api/AsyncSocketServlet.java
diff --git a/src/org/traccar/api/BaseObjectResource.java b/src/main/java/org/traccar/api/BaseObjectResource.java
index 7de6a3877..7de6a3877 100644
--- a/src/org/traccar/api/BaseObjectResource.java
+++ b/src/main/java/org/traccar/api/BaseObjectResource.java
diff --git a/src/org/traccar/api/BaseResource.java b/src/main/java/org/traccar/api/BaseResource.java
index cc272df9c..cc272df9c 100644
--- a/src/org/traccar/api/BaseResource.java
+++ b/src/main/java/org/traccar/api/BaseResource.java
diff --git a/src/org/traccar/api/CorsResponseFilter.java b/src/main/java/org/traccar/api/CorsResponseFilter.java
index 227f80609..227f80609 100644
--- a/src/org/traccar/api/CorsResponseFilter.java
+++ b/src/main/java/org/traccar/api/CorsResponseFilter.java
diff --git a/src/org/traccar/api/ExtendedObjectResource.java b/src/main/java/org/traccar/api/ExtendedObjectResource.java
index 007a7b1bd..007a7b1bd 100644
--- a/src/org/traccar/api/ExtendedObjectResource.java
+++ b/src/main/java/org/traccar/api/ExtendedObjectResource.java
diff --git a/src/org/traccar/api/MediaFilter.java b/src/main/java/org/traccar/api/MediaFilter.java
index 53539770f..53539770f 100644
--- a/src/org/traccar/api/MediaFilter.java
+++ b/src/main/java/org/traccar/api/MediaFilter.java
diff --git a/src/org/traccar/api/ObjectMapperProvider.java b/src/main/java/org/traccar/api/ObjectMapperProvider.java
index f81b20917..f81b20917 100644
--- a/src/org/traccar/api/ObjectMapperProvider.java
+++ b/src/main/java/org/traccar/api/ObjectMapperProvider.java
diff --git a/src/org/traccar/api/ResourceErrorHandler.java b/src/main/java/org/traccar/api/ResourceErrorHandler.java
index 1d618b08d..1d618b08d 100644
--- a/src/org/traccar/api/ResourceErrorHandler.java
+++ b/src/main/java/org/traccar/api/ResourceErrorHandler.java
diff --git a/src/org/traccar/api/SecurityRequestFilter.java b/src/main/java/org/traccar/api/SecurityRequestFilter.java
index 33b6b37df..33b6b37df 100644
--- a/src/org/traccar/api/SecurityRequestFilter.java
+++ b/src/main/java/org/traccar/api/SecurityRequestFilter.java
diff --git a/src/org/traccar/api/SimpleObjectResource.java b/src/main/java/org/traccar/api/SimpleObjectResource.java
index a7fcae0e7..a7fcae0e7 100644
--- a/src/org/traccar/api/SimpleObjectResource.java
+++ b/src/main/java/org/traccar/api/SimpleObjectResource.java
diff --git a/src/org/traccar/api/UserPrincipal.java b/src/main/java/org/traccar/api/UserPrincipal.java
index 80e92c2dd..80e92c2dd 100644
--- a/src/org/traccar/api/UserPrincipal.java
+++ b/src/main/java/org/traccar/api/UserPrincipal.java
diff --git a/src/org/traccar/api/UserSecurityContext.java b/src/main/java/org/traccar/api/UserSecurityContext.java
index 55c0621bc..55c0621bc 100644
--- a/src/org/traccar/api/UserSecurityContext.java
+++ b/src/main/java/org/traccar/api/UserSecurityContext.java
diff --git a/src/org/traccar/api/resource/AttributeResource.java b/src/main/java/org/traccar/api/resource/AttributeResource.java
index de69d871c..de69d871c 100644
--- a/src/org/traccar/api/resource/AttributeResource.java
+++ b/src/main/java/org/traccar/api/resource/AttributeResource.java
diff --git a/src/org/traccar/api/resource/CalendarResource.java b/src/main/java/org/traccar/api/resource/CalendarResource.java
index 9399c34a5..9399c34a5 100644
--- a/src/org/traccar/api/resource/CalendarResource.java
+++ b/src/main/java/org/traccar/api/resource/CalendarResource.java
diff --git a/src/org/traccar/api/resource/CommandResource.java b/src/main/java/org/traccar/api/resource/CommandResource.java
index 703638701..703638701 100644
--- a/src/org/traccar/api/resource/CommandResource.java
+++ b/src/main/java/org/traccar/api/resource/CommandResource.java
diff --git a/src/org/traccar/api/resource/DeviceResource.java b/src/main/java/org/traccar/api/resource/DeviceResource.java
index f9c9a139d..f9c9a139d 100644
--- a/src/org/traccar/api/resource/DeviceResource.java
+++ b/src/main/java/org/traccar/api/resource/DeviceResource.java
diff --git a/src/org/traccar/api/resource/DriverResource.java b/src/main/java/org/traccar/api/resource/DriverResource.java
index 91aa54c5e..91aa54c5e 100644
--- a/src/org/traccar/api/resource/DriverResource.java
+++ b/src/main/java/org/traccar/api/resource/DriverResource.java
diff --git a/src/org/traccar/api/resource/EventResource.java b/src/main/java/org/traccar/api/resource/EventResource.java
index e0ccf7020..e0ccf7020 100644
--- a/src/org/traccar/api/resource/EventResource.java
+++ b/src/main/java/org/traccar/api/resource/EventResource.java
diff --git a/src/org/traccar/api/resource/GeofenceResource.java b/src/main/java/org/traccar/api/resource/GeofenceResource.java
index 58f2c188c..58f2c188c 100644
--- a/src/org/traccar/api/resource/GeofenceResource.java
+++ b/src/main/java/org/traccar/api/resource/GeofenceResource.java
diff --git a/src/org/traccar/api/resource/GroupResource.java b/src/main/java/org/traccar/api/resource/GroupResource.java
index fcea15d0a..fcea15d0a 100644
--- a/src/org/traccar/api/resource/GroupResource.java
+++ b/src/main/java/org/traccar/api/resource/GroupResource.java
diff --git a/src/org/traccar/api/resource/MaintenanceResource.java b/src/main/java/org/traccar/api/resource/MaintenanceResource.java
index fa1b359ce..fa1b359ce 100644
--- a/src/org/traccar/api/resource/MaintenanceResource.java
+++ b/src/main/java/org/traccar/api/resource/MaintenanceResource.java
diff --git a/src/org/traccar/api/resource/NotificationResource.java b/src/main/java/org/traccar/api/resource/NotificationResource.java
index 9631a52b7..9631a52b7 100644
--- a/src/org/traccar/api/resource/NotificationResource.java
+++ b/src/main/java/org/traccar/api/resource/NotificationResource.java
diff --git a/src/org/traccar/api/resource/PermissionsResource.java b/src/main/java/org/traccar/api/resource/PermissionsResource.java
index b89d9d376..b89d9d376 100644
--- a/src/org/traccar/api/resource/PermissionsResource.java
+++ b/src/main/java/org/traccar/api/resource/PermissionsResource.java
diff --git a/src/org/traccar/api/resource/PositionResource.java b/src/main/java/org/traccar/api/resource/PositionResource.java
index c031b842f..c031b842f 100644
--- a/src/org/traccar/api/resource/PositionResource.java
+++ b/src/main/java/org/traccar/api/resource/PositionResource.java
diff --git a/src/org/traccar/api/resource/ReportResource.java b/src/main/java/org/traccar/api/resource/ReportResource.java
index d371cf987..d371cf987 100644
--- a/src/org/traccar/api/resource/ReportResource.java
+++ b/src/main/java/org/traccar/api/resource/ReportResource.java
diff --git a/src/org/traccar/api/resource/ServerResource.java b/src/main/java/org/traccar/api/resource/ServerResource.java
index e7cad2a0c..e7cad2a0c 100644
--- a/src/org/traccar/api/resource/ServerResource.java
+++ b/src/main/java/org/traccar/api/resource/ServerResource.java
diff --git a/src/org/traccar/api/resource/SessionResource.java b/src/main/java/org/traccar/api/resource/SessionResource.java
index fd331c766..fd331c766 100644
--- a/src/org/traccar/api/resource/SessionResource.java
+++ b/src/main/java/org/traccar/api/resource/SessionResource.java
diff --git a/src/org/traccar/api/resource/StatisticsResource.java b/src/main/java/org/traccar/api/resource/StatisticsResource.java
index e801d4ff3..e801d4ff3 100644
--- a/src/org/traccar/api/resource/StatisticsResource.java
+++ b/src/main/java/org/traccar/api/resource/StatisticsResource.java
diff --git a/src/org/traccar/api/resource/UserResource.java b/src/main/java/org/traccar/api/resource/UserResource.java
index 0b42d8d92..0b42d8d92 100644
--- a/src/org/traccar/api/resource/UserResource.java
+++ b/src/main/java/org/traccar/api/resource/UserResource.java
diff --git a/src/org/traccar/config/Config.java b/src/main/java/org/traccar/config/Config.java
index d8f2a0e99..d8f2a0e99 100644
--- a/src/org/traccar/config/Config.java
+++ b/src/main/java/org/traccar/config/Config.java
diff --git a/src/org/traccar/config/ConfigKey.java b/src/main/java/org/traccar/config/ConfigKey.java
index 2e54ad392..2e54ad392 100644
--- a/src/org/traccar/config/ConfigKey.java
+++ b/src/main/java/org/traccar/config/ConfigKey.java
diff --git a/src/org/traccar/config/ConfigSuffix.java b/src/main/java/org/traccar/config/ConfigSuffix.java
index 149b2cd00..149b2cd00 100644
--- a/src/org/traccar/config/ConfigSuffix.java
+++ b/src/main/java/org/traccar/config/ConfigSuffix.java
diff --git a/src/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java
index 48cf3e558..48cf3e558 100644
--- a/src/org/traccar/config/Keys.java
+++ b/src/main/java/org/traccar/config/Keys.java
diff --git a/src/org/traccar/database/ActiveDevice.java b/src/main/java/org/traccar/database/ActiveDevice.java
index 207fc454b..207fc454b 100644
--- a/src/org/traccar/database/ActiveDevice.java
+++ b/src/main/java/org/traccar/database/ActiveDevice.java
diff --git a/src/org/traccar/database/AttributesManager.java b/src/main/java/org/traccar/database/AttributesManager.java
index 28816645a..28816645a 100644
--- a/src/org/traccar/database/AttributesManager.java
+++ b/src/main/java/org/traccar/database/AttributesManager.java
diff --git a/src/org/traccar/database/BaseObjectManager.java b/src/main/java/org/traccar/database/BaseObjectManager.java
index 8bf9ef860..8bf9ef860 100644
--- a/src/org/traccar/database/BaseObjectManager.java
+++ b/src/main/java/org/traccar/database/BaseObjectManager.java
diff --git a/src/org/traccar/database/CalendarManager.java b/src/main/java/org/traccar/database/CalendarManager.java
index 44ced1082..44ced1082 100644
--- a/src/org/traccar/database/CalendarManager.java
+++ b/src/main/java/org/traccar/database/CalendarManager.java
diff --git a/src/org/traccar/database/CommandsManager.java b/src/main/java/org/traccar/database/CommandsManager.java
index d6fdd66ca..d6fdd66ca 100644
--- a/src/org/traccar/database/CommandsManager.java
+++ b/src/main/java/org/traccar/database/CommandsManager.java
diff --git a/src/org/traccar/database/ConnectionManager.java b/src/main/java/org/traccar/database/ConnectionManager.java
index 8bae1ea93..8bae1ea93 100644
--- a/src/org/traccar/database/ConnectionManager.java
+++ b/src/main/java/org/traccar/database/ConnectionManager.java
diff --git a/src/org/traccar/database/DataManager.java b/src/main/java/org/traccar/database/DataManager.java
index 8e9071736..8e9071736 100644
--- a/src/org/traccar/database/DataManager.java
+++ b/src/main/java/org/traccar/database/DataManager.java
diff --git a/src/org/traccar/database/DeviceManager.java b/src/main/java/org/traccar/database/DeviceManager.java
index de4607d1f..de4607d1f 100644
--- a/src/org/traccar/database/DeviceManager.java
+++ b/src/main/java/org/traccar/database/DeviceManager.java
diff --git a/src/org/traccar/database/DriversManager.java b/src/main/java/org/traccar/database/DriversManager.java
index 930951460..930951460 100644
--- a/src/org/traccar/database/DriversManager.java
+++ b/src/main/java/org/traccar/database/DriversManager.java
diff --git a/src/org/traccar/database/ExtendedObjectManager.java b/src/main/java/org/traccar/database/ExtendedObjectManager.java
index ceb85b537..ceb85b537 100644
--- a/src/org/traccar/database/ExtendedObjectManager.java
+++ b/src/main/java/org/traccar/database/ExtendedObjectManager.java
diff --git a/src/org/traccar/database/GeofenceManager.java b/src/main/java/org/traccar/database/GeofenceManager.java
index a32847cf9..a32847cf9 100644
--- a/src/org/traccar/database/GeofenceManager.java
+++ b/src/main/java/org/traccar/database/GeofenceManager.java
diff --git a/src/org/traccar/database/GroupTree.java b/src/main/java/org/traccar/database/GroupTree.java
index 8798f55bc..8798f55bc 100644
--- a/src/org/traccar/database/GroupTree.java
+++ b/src/main/java/org/traccar/database/GroupTree.java
diff --git a/src/org/traccar/database/GroupsManager.java b/src/main/java/org/traccar/database/GroupsManager.java
index d8404c614..d8404c614 100644
--- a/src/org/traccar/database/GroupsManager.java
+++ b/src/main/java/org/traccar/database/GroupsManager.java
diff --git a/src/org/traccar/database/IdentityManager.java b/src/main/java/org/traccar/database/IdentityManager.java
index 6228a0f75..6228a0f75 100644
--- a/src/org/traccar/database/IdentityManager.java
+++ b/src/main/java/org/traccar/database/IdentityManager.java
diff --git a/src/org/traccar/database/LdapProvider.java b/src/main/java/org/traccar/database/LdapProvider.java
index d8b5c9f52..d8b5c9f52 100644
--- a/src/org/traccar/database/LdapProvider.java
+++ b/src/main/java/org/traccar/database/LdapProvider.java
diff --git a/src/org/traccar/database/MailManager.java b/src/main/java/org/traccar/database/MailManager.java
index 8a2f002cd..8a2f002cd 100644
--- a/src/org/traccar/database/MailManager.java
+++ b/src/main/java/org/traccar/database/MailManager.java
diff --git a/src/org/traccar/database/MaintenancesManager.java b/src/main/java/org/traccar/database/MaintenancesManager.java
index 4e266cb78..4e266cb78 100644
--- a/src/org/traccar/database/MaintenancesManager.java
+++ b/src/main/java/org/traccar/database/MaintenancesManager.java
diff --git a/src/org/traccar/database/ManagableObjects.java b/src/main/java/org/traccar/database/ManagableObjects.java
index ec9549493..ec9549493 100644
--- a/src/org/traccar/database/ManagableObjects.java
+++ b/src/main/java/org/traccar/database/ManagableObjects.java
diff --git a/src/org/traccar/database/MediaManager.java b/src/main/java/org/traccar/database/MediaManager.java
index edade5766..edade5766 100644
--- a/src/org/traccar/database/MediaManager.java
+++ b/src/main/java/org/traccar/database/MediaManager.java
diff --git a/src/org/traccar/database/NotificationManager.java b/src/main/java/org/traccar/database/NotificationManager.java
index 09df4c571..09df4c571 100644
--- a/src/org/traccar/database/NotificationManager.java
+++ b/src/main/java/org/traccar/database/NotificationManager.java
diff --git a/src/org/traccar/database/PermissionsManager.java b/src/main/java/org/traccar/database/PermissionsManager.java
index ced0df1c0..ced0df1c0 100644
--- a/src/org/traccar/database/PermissionsManager.java
+++ b/src/main/java/org/traccar/database/PermissionsManager.java
diff --git a/src/org/traccar/database/QueryBuilder.java b/src/main/java/org/traccar/database/QueryBuilder.java
index 5528b2320..5528b2320 100644
--- a/src/org/traccar/database/QueryBuilder.java
+++ b/src/main/java/org/traccar/database/QueryBuilder.java
diff --git a/src/org/traccar/database/QueryExtended.java b/src/main/java/org/traccar/database/QueryExtended.java
index 07bc2c211..07bc2c211 100644
--- a/src/org/traccar/database/QueryExtended.java
+++ b/src/main/java/org/traccar/database/QueryExtended.java
diff --git a/src/org/traccar/database/QueryIgnore.java b/src/main/java/org/traccar/database/QueryIgnore.java
index ac835cf2f..ac835cf2f 100644
--- a/src/org/traccar/database/QueryIgnore.java
+++ b/src/main/java/org/traccar/database/QueryIgnore.java
diff --git a/src/org/traccar/database/SimpleObjectManager.java b/src/main/java/org/traccar/database/SimpleObjectManager.java
index 15dda4520..15dda4520 100644
--- a/src/org/traccar/database/SimpleObjectManager.java
+++ b/src/main/java/org/traccar/database/SimpleObjectManager.java
diff --git a/src/org/traccar/database/StatisticsManager.java b/src/main/java/org/traccar/database/StatisticsManager.java
index e59f8e767..e59f8e767 100644
--- a/src/org/traccar/database/StatisticsManager.java
+++ b/src/main/java/org/traccar/database/StatisticsManager.java
diff --git a/src/org/traccar/database/UsersManager.java b/src/main/java/org/traccar/database/UsersManager.java
index 576a9e6c7..576a9e6c7 100644
--- a/src/org/traccar/database/UsersManager.java
+++ b/src/main/java/org/traccar/database/UsersManager.java
diff --git a/src/org/traccar/geocoder/Address.java b/src/main/java/org/traccar/geocoder/Address.java
index fe39da8e1..fe39da8e1 100644
--- a/src/org/traccar/geocoder/Address.java
+++ b/src/main/java/org/traccar/geocoder/Address.java
diff --git a/src/org/traccar/geocoder/AddressFormat.java b/src/main/java/org/traccar/geocoder/AddressFormat.java
index ad19432b9..ad19432b9 100644
--- a/src/org/traccar/geocoder/AddressFormat.java
+++ b/src/main/java/org/traccar/geocoder/AddressFormat.java
diff --git a/src/org/traccar/geocoder/BanGeocoder.java b/src/main/java/org/traccar/geocoder/BanGeocoder.java
index b1f0900a4..b1f0900a4 100644
--- a/src/org/traccar/geocoder/BanGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/BanGeocoder.java
diff --git a/src/org/traccar/geocoder/BingMapsGeocoder.java b/src/main/java/org/traccar/geocoder/BingMapsGeocoder.java
index 32a26ee0c..32a26ee0c 100644
--- a/src/org/traccar/geocoder/BingMapsGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/BingMapsGeocoder.java
diff --git a/src/org/traccar/geocoder/FactualGeocoder.java b/src/main/java/org/traccar/geocoder/FactualGeocoder.java
index c7a68c293..c7a68c293 100644
--- a/src/org/traccar/geocoder/FactualGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/FactualGeocoder.java
diff --git a/src/org/traccar/geocoder/GeocodeFarmGeocoder.java b/src/main/java/org/traccar/geocoder/GeocodeFarmGeocoder.java
index 39a3300a0..39a3300a0 100644
--- a/src/org/traccar/geocoder/GeocodeFarmGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/GeocodeFarmGeocoder.java
diff --git a/src/org/traccar/geocoder/GeocodeXyzGeocoder.java b/src/main/java/org/traccar/geocoder/GeocodeXyzGeocoder.java
index aca360c3d..aca360c3d 100644
--- a/src/org/traccar/geocoder/GeocodeXyzGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/GeocodeXyzGeocoder.java
diff --git a/src/org/traccar/geocoder/Geocoder.java b/src/main/java/org/traccar/geocoder/Geocoder.java
index 587a27520..587a27520 100644
--- a/src/org/traccar/geocoder/Geocoder.java
+++ b/src/main/java/org/traccar/geocoder/Geocoder.java
diff --git a/src/org/traccar/geocoder/GeocoderException.java b/src/main/java/org/traccar/geocoder/GeocoderException.java
index 608916641..608916641 100644
--- a/src/org/traccar/geocoder/GeocoderException.java
+++ b/src/main/java/org/traccar/geocoder/GeocoderException.java
diff --git a/src/org/traccar/geocoder/GisgraphyGeocoder.java b/src/main/java/org/traccar/geocoder/GisgraphyGeocoder.java
index 3a173f985..3a173f985 100644
--- a/src/org/traccar/geocoder/GisgraphyGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/GisgraphyGeocoder.java
diff --git a/src/org/traccar/geocoder/GoogleGeocoder.java b/src/main/java/org/traccar/geocoder/GoogleGeocoder.java
index 9494cab45..9494cab45 100644
--- a/src/org/traccar/geocoder/GoogleGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/GoogleGeocoder.java
diff --git a/src/org/traccar/geocoder/HereGeocoder.java b/src/main/java/org/traccar/geocoder/HereGeocoder.java
index 756260b52..756260b52 100644
--- a/src/org/traccar/geocoder/HereGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/HereGeocoder.java
diff --git a/src/org/traccar/geocoder/JsonGeocoder.java b/src/main/java/org/traccar/geocoder/JsonGeocoder.java
index ed59a1d8d..ed59a1d8d 100644
--- a/src/org/traccar/geocoder/JsonGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/JsonGeocoder.java
diff --git a/src/org/traccar/geocoder/MapQuestGeocoder.java b/src/main/java/org/traccar/geocoder/MapQuestGeocoder.java
index 4029e3f07..4029e3f07 100644
--- a/src/org/traccar/geocoder/MapQuestGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/MapQuestGeocoder.java
diff --git a/src/org/traccar/geocoder/MapmyIndiaGeocoder.java b/src/main/java/org/traccar/geocoder/MapmyIndiaGeocoder.java
index 2b70708a1..2b70708a1 100644
--- a/src/org/traccar/geocoder/MapmyIndiaGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/MapmyIndiaGeocoder.java
diff --git a/src/org/traccar/geocoder/NominatimGeocoder.java b/src/main/java/org/traccar/geocoder/NominatimGeocoder.java
index 8db25bf15..8db25bf15 100644
--- a/src/org/traccar/geocoder/NominatimGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/NominatimGeocoder.java
diff --git a/src/org/traccar/geocoder/OpenCageGeocoder.java b/src/main/java/org/traccar/geocoder/OpenCageGeocoder.java
index 822b6e91e..822b6e91e 100644
--- a/src/org/traccar/geocoder/OpenCageGeocoder.java
+++ b/src/main/java/org/traccar/geocoder/OpenCageGeocoder.java
diff --git a/src/org/traccar/geofence/GeofenceCircle.java b/src/main/java/org/traccar/geofence/GeofenceCircle.java
index f6fca63ca..f6fca63ca 100644
--- a/src/org/traccar/geofence/GeofenceCircle.java
+++ b/src/main/java/org/traccar/geofence/GeofenceCircle.java
diff --git a/src/org/traccar/geofence/GeofenceGeometry.java b/src/main/java/org/traccar/geofence/GeofenceGeometry.java
index 857ba3414..857ba3414 100644
--- a/src/org/traccar/geofence/GeofenceGeometry.java
+++ b/src/main/java/org/traccar/geofence/GeofenceGeometry.java
diff --git a/src/org/traccar/geofence/GeofencePolygon.java b/src/main/java/org/traccar/geofence/GeofencePolygon.java
index 2048ba26d..2048ba26d 100644
--- a/src/org/traccar/geofence/GeofencePolygon.java
+++ b/src/main/java/org/traccar/geofence/GeofencePolygon.java
diff --git a/src/org/traccar/geofence/GeofencePolyline.java b/src/main/java/org/traccar/geofence/GeofencePolyline.java
index d84f512e3..d84f512e3 100644
--- a/src/org/traccar/geofence/GeofencePolyline.java
+++ b/src/main/java/org/traccar/geofence/GeofencePolyline.java
diff --git a/src/org/traccar/geolocation/GeolocationException.java b/src/main/java/org/traccar/geolocation/GeolocationException.java
index 5847cc807..5847cc807 100644
--- a/src/org/traccar/geolocation/GeolocationException.java
+++ b/src/main/java/org/traccar/geolocation/GeolocationException.java
diff --git a/src/org/traccar/geolocation/GeolocationProvider.java b/src/main/java/org/traccar/geolocation/GeolocationProvider.java
index d9dec6bbb..d9dec6bbb 100644
--- a/src/org/traccar/geolocation/GeolocationProvider.java
+++ b/src/main/java/org/traccar/geolocation/GeolocationProvider.java
diff --git a/src/org/traccar/geolocation/GoogleGeolocationProvider.java b/src/main/java/org/traccar/geolocation/GoogleGeolocationProvider.java
index 5901b47cd..5901b47cd 100644
--- a/src/org/traccar/geolocation/GoogleGeolocationProvider.java
+++ b/src/main/java/org/traccar/geolocation/GoogleGeolocationProvider.java
diff --git a/src/org/traccar/geolocation/MozillaGeolocationProvider.java b/src/main/java/org/traccar/geolocation/MozillaGeolocationProvider.java
index c6a73a52b..c6a73a52b 100644
--- a/src/org/traccar/geolocation/MozillaGeolocationProvider.java
+++ b/src/main/java/org/traccar/geolocation/MozillaGeolocationProvider.java
diff --git a/src/org/traccar/geolocation/OpenCellIdGeolocationProvider.java b/src/main/java/org/traccar/geolocation/OpenCellIdGeolocationProvider.java
index 768aaf6a2..768aaf6a2 100644
--- a/src/org/traccar/geolocation/OpenCellIdGeolocationProvider.java
+++ b/src/main/java/org/traccar/geolocation/OpenCellIdGeolocationProvider.java
diff --git a/src/org/traccar/geolocation/UniversalGeolocationProvider.java b/src/main/java/org/traccar/geolocation/UniversalGeolocationProvider.java
index f71620d8a..f71620d8a 100644
--- a/src/org/traccar/geolocation/UniversalGeolocationProvider.java
+++ b/src/main/java/org/traccar/geolocation/UniversalGeolocationProvider.java
diff --git a/src/org/traccar/geolocation/UnwiredGeolocationProvider.java b/src/main/java/org/traccar/geolocation/UnwiredGeolocationProvider.java
index 963bcb688..963bcb688 100644
--- a/src/org/traccar/geolocation/UnwiredGeolocationProvider.java
+++ b/src/main/java/org/traccar/geolocation/UnwiredGeolocationProvider.java
diff --git a/src/org/traccar/handler/ComputedAttributesHandler.java b/src/main/java/org/traccar/handler/ComputedAttributesHandler.java
index 153da29b9..153da29b9 100644
--- a/src/org/traccar/handler/ComputedAttributesHandler.java
+++ b/src/main/java/org/traccar/handler/ComputedAttributesHandler.java
diff --git a/src/org/traccar/handler/CopyAttributesHandler.java b/src/main/java/org/traccar/handler/CopyAttributesHandler.java
index 6a0966d33..6a0966d33 100644
--- a/src/org/traccar/handler/CopyAttributesHandler.java
+++ b/src/main/java/org/traccar/handler/CopyAttributesHandler.java
diff --git a/src/org/traccar/handler/DefaultDataHandler.java b/src/main/java/org/traccar/handler/DefaultDataHandler.java
index 9d8ea044d..9d8ea044d 100644
--- a/src/org/traccar/handler/DefaultDataHandler.java
+++ b/src/main/java/org/traccar/handler/DefaultDataHandler.java
diff --git a/src/org/traccar/handler/DistanceHandler.java b/src/main/java/org/traccar/handler/DistanceHandler.java
index a336a884e..a336a884e 100644
--- a/src/org/traccar/handler/DistanceHandler.java
+++ b/src/main/java/org/traccar/handler/DistanceHandler.java
diff --git a/src/org/traccar/handler/EngineHoursHandler.java b/src/main/java/org/traccar/handler/EngineHoursHandler.java
index 92da84e6b..92da84e6b 100644
--- a/src/org/traccar/handler/EngineHoursHandler.java
+++ b/src/main/java/org/traccar/handler/EngineHoursHandler.java
diff --git a/src/org/traccar/handler/FilterHandler.java b/src/main/java/org/traccar/handler/FilterHandler.java
index dceaede01..dceaede01 100644
--- a/src/org/traccar/handler/FilterHandler.java
+++ b/src/main/java/org/traccar/handler/FilterHandler.java
diff --git a/src/org/traccar/handler/GeocoderHandler.java b/src/main/java/org/traccar/handler/GeocoderHandler.java
index b96f01b3a..b96f01b3a 100644
--- a/src/org/traccar/handler/GeocoderHandler.java
+++ b/src/main/java/org/traccar/handler/GeocoderHandler.java
diff --git a/src/org/traccar/handler/GeolocationHandler.java b/src/main/java/org/traccar/handler/GeolocationHandler.java
index c7b39e491..c7b39e491 100644
--- a/src/org/traccar/handler/GeolocationHandler.java
+++ b/src/main/java/org/traccar/handler/GeolocationHandler.java
diff --git a/src/org/traccar/handler/HemisphereHandler.java b/src/main/java/org/traccar/handler/HemisphereHandler.java
index aff3d8a64..aff3d8a64 100644
--- a/src/org/traccar/handler/HemisphereHandler.java
+++ b/src/main/java/org/traccar/handler/HemisphereHandler.java
diff --git a/src/org/traccar/handler/MotionHandler.java b/src/main/java/org/traccar/handler/MotionHandler.java
index e8051dd75..e8051dd75 100644
--- a/src/org/traccar/handler/MotionHandler.java
+++ b/src/main/java/org/traccar/handler/MotionHandler.java
diff --git a/src/org/traccar/handler/NetworkMessageHandler.java b/src/main/java/org/traccar/handler/NetworkMessageHandler.java
index b1d926bfa..b1d926bfa 100644
--- a/src/org/traccar/handler/NetworkMessageHandler.java
+++ b/src/main/java/org/traccar/handler/NetworkMessageHandler.java
diff --git a/src/org/traccar/handler/OpenChannelHandler.java b/src/main/java/org/traccar/handler/OpenChannelHandler.java
index d09d617ab..d09d617ab 100644
--- a/src/org/traccar/handler/OpenChannelHandler.java
+++ b/src/main/java/org/traccar/handler/OpenChannelHandler.java
diff --git a/src/org/traccar/handler/RemoteAddressHandler.java b/src/main/java/org/traccar/handler/RemoteAddressHandler.java
index c09b8c39a..c09b8c39a 100644
--- a/src/org/traccar/handler/RemoteAddressHandler.java
+++ b/src/main/java/org/traccar/handler/RemoteAddressHandler.java
diff --git a/src/org/traccar/handler/StandardLoggingHandler.java b/src/main/java/org/traccar/handler/StandardLoggingHandler.java
index 88010458f..88010458f 100644
--- a/src/org/traccar/handler/StandardLoggingHandler.java
+++ b/src/main/java/org/traccar/handler/StandardLoggingHandler.java
diff --git a/src/org/traccar/handler/events/AlertEventHandler.java b/src/main/java/org/traccar/handler/events/AlertEventHandler.java
index 0b7c8d23e..0b7c8d23e 100644
--- a/src/org/traccar/handler/events/AlertEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/AlertEventHandler.java
diff --git a/src/org/traccar/handler/events/BaseEventHandler.java b/src/main/java/org/traccar/handler/events/BaseEventHandler.java
index 41f677f6c..41f677f6c 100644
--- a/src/org/traccar/handler/events/BaseEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/BaseEventHandler.java
diff --git a/src/org/traccar/handler/events/CommandResultEventHandler.java b/src/main/java/org/traccar/handler/events/CommandResultEventHandler.java
index cfe676653..cfe676653 100644
--- a/src/org/traccar/handler/events/CommandResultEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/CommandResultEventHandler.java
diff --git a/src/org/traccar/handler/events/DriverEventHandler.java b/src/main/java/org/traccar/handler/events/DriverEventHandler.java
index 994df93fa..994df93fa 100644
--- a/src/org/traccar/handler/events/DriverEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/DriverEventHandler.java
diff --git a/src/org/traccar/handler/events/FuelDropEventHandler.java b/src/main/java/org/traccar/handler/events/FuelDropEventHandler.java
index 59de61bba..59de61bba 100644
--- a/src/org/traccar/handler/events/FuelDropEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/FuelDropEventHandler.java
diff --git a/src/org/traccar/handler/events/GeofenceEventHandler.java b/src/main/java/org/traccar/handler/events/GeofenceEventHandler.java
index 067c97957..067c97957 100644
--- a/src/org/traccar/handler/events/GeofenceEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/GeofenceEventHandler.java
diff --git a/src/org/traccar/handler/events/IgnitionEventHandler.java b/src/main/java/org/traccar/handler/events/IgnitionEventHandler.java
index ec133bafc..ec133bafc 100644
--- a/src/org/traccar/handler/events/IgnitionEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/IgnitionEventHandler.java
diff --git a/src/org/traccar/handler/events/MaintenanceEventHandler.java b/src/main/java/org/traccar/handler/events/MaintenanceEventHandler.java
index 93ae74142..93ae74142 100644
--- a/src/org/traccar/handler/events/MaintenanceEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/MaintenanceEventHandler.java
diff --git a/src/org/traccar/handler/events/MotionEventHandler.java b/src/main/java/org/traccar/handler/events/MotionEventHandler.java
index 9ec02ccfb..9ec02ccfb 100644
--- a/src/org/traccar/handler/events/MotionEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/MotionEventHandler.java
diff --git a/src/org/traccar/handler/events/OverspeedEventHandler.java b/src/main/java/org/traccar/handler/events/OverspeedEventHandler.java
index 157bb64e0..157bb64e0 100644
--- a/src/org/traccar/handler/events/OverspeedEventHandler.java
+++ b/src/main/java/org/traccar/handler/events/OverspeedEventHandler.java
diff --git a/src/org/traccar/helper/BcdUtil.java b/src/main/java/org/traccar/helper/BcdUtil.java
index c87529e32..c87529e32 100644
--- a/src/org/traccar/helper/BcdUtil.java
+++ b/src/main/java/org/traccar/helper/BcdUtil.java
diff --git a/src/org/traccar/helper/BitBuffer.java b/src/main/java/org/traccar/helper/BitBuffer.java
index f30a4557b..f30a4557b 100644
--- a/src/org/traccar/helper/BitBuffer.java
+++ b/src/main/java/org/traccar/helper/BitBuffer.java
diff --git a/src/org/traccar/helper/BitUtil.java b/src/main/java/org/traccar/helper/BitUtil.java
index b6108edff..b6108edff 100644
--- a/src/org/traccar/helper/BitUtil.java
+++ b/src/main/java/org/traccar/helper/BitUtil.java
diff --git a/src/org/traccar/helper/BufferUtil.java b/src/main/java/org/traccar/helper/BufferUtil.java
index 15c619ec5..15c619ec5 100644
--- a/src/org/traccar/helper/BufferUtil.java
+++ b/src/main/java/org/traccar/helper/BufferUtil.java
diff --git a/src/org/traccar/helper/Checksum.java b/src/main/java/org/traccar/helper/Checksum.java
index adfa697c5..adfa697c5 100644
--- a/src/org/traccar/helper/Checksum.java
+++ b/src/main/java/org/traccar/helper/Checksum.java
diff --git a/src/org/traccar/helper/DataConverter.java b/src/main/java/org/traccar/helper/DataConverter.java
index 7abd4ae93..7abd4ae93 100644
--- a/src/org/traccar/helper/DataConverter.java
+++ b/src/main/java/org/traccar/helper/DataConverter.java
diff --git a/src/org/traccar/helper/DateBuilder.java b/src/main/java/org/traccar/helper/DateBuilder.java
index 6e1b779f0..6e1b779f0 100644
--- a/src/org/traccar/helper/DateBuilder.java
+++ b/src/main/java/org/traccar/helper/DateBuilder.java
diff --git a/src/org/traccar/helper/DateUtil.java b/src/main/java/org/traccar/helper/DateUtil.java
index 20a483e3c..20a483e3c 100644
--- a/src/org/traccar/helper/DateUtil.java
+++ b/src/main/java/org/traccar/helper/DateUtil.java
diff --git a/src/org/traccar/helper/DistanceCalculator.java b/src/main/java/org/traccar/helper/DistanceCalculator.java
index 88d4ef8a4..88d4ef8a4 100644
--- a/src/org/traccar/helper/DistanceCalculator.java
+++ b/src/main/java/org/traccar/helper/DistanceCalculator.java
diff --git a/src/org/traccar/helper/Hashing.java b/src/main/java/org/traccar/helper/Hashing.java
index e91310eda..e91310eda 100644
--- a/src/org/traccar/helper/Hashing.java
+++ b/src/main/java/org/traccar/helper/Hashing.java
diff --git a/src/org/traccar/helper/LocationTree.java b/src/main/java/org/traccar/helper/LocationTree.java
index 3aff3ce33..3aff3ce33 100644
--- a/src/org/traccar/helper/LocationTree.java
+++ b/src/main/java/org/traccar/helper/LocationTree.java
diff --git a/src/org/traccar/helper/Log.java b/src/main/java/org/traccar/helper/Log.java
index f328e8ce9..f328e8ce9 100644
--- a/src/org/traccar/helper/Log.java
+++ b/src/main/java/org/traccar/helper/Log.java
diff --git a/src/org/traccar/helper/LogAction.java b/src/main/java/org/traccar/helper/LogAction.java
index db13337b8..db13337b8 100644
--- a/src/org/traccar/helper/LogAction.java
+++ b/src/main/java/org/traccar/helper/LogAction.java
diff --git a/src/org/traccar/helper/ObdDecoder.java b/src/main/java/org/traccar/helper/ObdDecoder.java
index 1bdcce352..1bdcce352 100644
--- a/src/org/traccar/helper/ObdDecoder.java
+++ b/src/main/java/org/traccar/helper/ObdDecoder.java
diff --git a/src/org/traccar/helper/Parser.java b/src/main/java/org/traccar/helper/Parser.java
index 1471ec237..1471ec237 100644
--- a/src/org/traccar/helper/Parser.java
+++ b/src/main/java/org/traccar/helper/Parser.java
diff --git a/src/org/traccar/helper/PatternBuilder.java b/src/main/java/org/traccar/helper/PatternBuilder.java
index 5c4638189..5c4638189 100644
--- a/src/org/traccar/helper/PatternBuilder.java
+++ b/src/main/java/org/traccar/helper/PatternBuilder.java
diff --git a/src/org/traccar/helper/PatternUtil.java b/src/main/java/org/traccar/helper/PatternUtil.java
index 74813e1d9..74813e1d9 100644
--- a/src/org/traccar/helper/PatternUtil.java
+++ b/src/main/java/org/traccar/helper/PatternUtil.java
diff --git a/src/org/traccar/helper/SanitizerModule.java b/src/main/java/org/traccar/helper/SanitizerModule.java
index af9ac5c2b..af9ac5c2b 100644
--- a/src/org/traccar/helper/SanitizerModule.java
+++ b/src/main/java/org/traccar/helper/SanitizerModule.java
diff --git a/src/org/traccar/helper/UnitsConverter.java b/src/main/java/org/traccar/helper/UnitsConverter.java
index 3dd435df4..3dd435df4 100644
--- a/src/org/traccar/helper/UnitsConverter.java
+++ b/src/main/java/org/traccar/helper/UnitsConverter.java
diff --git a/src/org/traccar/model/Attribute.java b/src/main/java/org/traccar/model/Attribute.java
index 45d40b3ec..45d40b3ec 100644
--- a/src/org/traccar/model/Attribute.java
+++ b/src/main/java/org/traccar/model/Attribute.java
diff --git a/src/org/traccar/model/BaseModel.java b/src/main/java/org/traccar/model/BaseModel.java
index 8bdb916e8..8bdb916e8 100644
--- a/src/org/traccar/model/BaseModel.java
+++ b/src/main/java/org/traccar/model/BaseModel.java
diff --git a/src/org/traccar/model/Calendar.java b/src/main/java/org/traccar/model/Calendar.java
index 56d3eb74c..56d3eb74c 100644
--- a/src/org/traccar/model/Calendar.java
+++ b/src/main/java/org/traccar/model/Calendar.java
diff --git a/src/org/traccar/model/CellTower.java b/src/main/java/org/traccar/model/CellTower.java
index 6d1dfbd7f..6d1dfbd7f 100644
--- a/src/org/traccar/model/CellTower.java
+++ b/src/main/java/org/traccar/model/CellTower.java
diff --git a/src/org/traccar/model/Command.java b/src/main/java/org/traccar/model/Command.java
index 336fc61f4..336fc61f4 100644
--- a/src/org/traccar/model/Command.java
+++ b/src/main/java/org/traccar/model/Command.java
diff --git a/src/org/traccar/model/Device.java b/src/main/java/org/traccar/model/Device.java
index 0c9be932d..0c9be932d 100644
--- a/src/org/traccar/model/Device.java
+++ b/src/main/java/org/traccar/model/Device.java
diff --git a/src/org/traccar/model/DeviceAccumulators.java b/src/main/java/org/traccar/model/DeviceAccumulators.java
index 8a90826c4..8a90826c4 100644
--- a/src/org/traccar/model/DeviceAccumulators.java
+++ b/src/main/java/org/traccar/model/DeviceAccumulators.java
diff --git a/src/org/traccar/model/DeviceState.java b/src/main/java/org/traccar/model/DeviceState.java
index 75d6726ee..75d6726ee 100644
--- a/src/org/traccar/model/DeviceState.java
+++ b/src/main/java/org/traccar/model/DeviceState.java
diff --git a/src/org/traccar/model/Driver.java b/src/main/java/org/traccar/model/Driver.java
index 05f52fd4d..05f52fd4d 100644
--- a/src/org/traccar/model/Driver.java
+++ b/src/main/java/org/traccar/model/Driver.java
diff --git a/src/org/traccar/model/Event.java b/src/main/java/org/traccar/model/Event.java
index ee7fcc679..ee7fcc679 100644
--- a/src/org/traccar/model/Event.java
+++ b/src/main/java/org/traccar/model/Event.java
diff --git a/src/org/traccar/model/ExtendedModel.java b/src/main/java/org/traccar/model/ExtendedModel.java
index 8353d0e66..8353d0e66 100644
--- a/src/org/traccar/model/ExtendedModel.java
+++ b/src/main/java/org/traccar/model/ExtendedModel.java
diff --git a/src/org/traccar/model/Geofence.java b/src/main/java/org/traccar/model/Geofence.java
index 8560d22e9..8560d22e9 100644
--- a/src/org/traccar/model/Geofence.java
+++ b/src/main/java/org/traccar/model/Geofence.java
diff --git a/src/org/traccar/model/Group.java b/src/main/java/org/traccar/model/Group.java
index 91ea2319d..91ea2319d 100644
--- a/src/org/traccar/model/Group.java
+++ b/src/main/java/org/traccar/model/Group.java
diff --git a/src/org/traccar/model/GroupedModel.java b/src/main/java/org/traccar/model/GroupedModel.java
index 6b1aa75b1..6b1aa75b1 100644
--- a/src/org/traccar/model/GroupedModel.java
+++ b/src/main/java/org/traccar/model/GroupedModel.java
diff --git a/src/org/traccar/model/Maintenance.java b/src/main/java/org/traccar/model/Maintenance.java
index 73f67ea96..73f67ea96 100644
--- a/src/org/traccar/model/Maintenance.java
+++ b/src/main/java/org/traccar/model/Maintenance.java
diff --git a/src/org/traccar/model/ManagedUser.java b/src/main/java/org/traccar/model/ManagedUser.java
index 03c5ef48d..03c5ef48d 100644
--- a/src/org/traccar/model/ManagedUser.java
+++ b/src/main/java/org/traccar/model/ManagedUser.java
diff --git a/src/org/traccar/model/Message.java b/src/main/java/org/traccar/model/Message.java
index dad9c20f0..dad9c20f0 100644
--- a/src/org/traccar/model/Message.java
+++ b/src/main/java/org/traccar/model/Message.java
diff --git a/src/org/traccar/model/MiscFormatter.java b/src/main/java/org/traccar/model/MiscFormatter.java
index c6511f063..c6511f063 100644
--- a/src/org/traccar/model/MiscFormatter.java
+++ b/src/main/java/org/traccar/model/MiscFormatter.java
diff --git a/src/org/traccar/model/Network.java b/src/main/java/org/traccar/model/Network.java
index 2d56950f1..2d56950f1 100644
--- a/src/org/traccar/model/Network.java
+++ b/src/main/java/org/traccar/model/Network.java
diff --git a/src/org/traccar/model/Notification.java b/src/main/java/org/traccar/model/Notification.java
index f1983a03a..f1983a03a 100644
--- a/src/org/traccar/model/Notification.java
+++ b/src/main/java/org/traccar/model/Notification.java
diff --git a/src/org/traccar/model/Permission.java b/src/main/java/org/traccar/model/Permission.java
index 1006b1c47..1006b1c47 100644
--- a/src/org/traccar/model/Permission.java
+++ b/src/main/java/org/traccar/model/Permission.java
diff --git a/src/org/traccar/model/Position.java b/src/main/java/org/traccar/model/Position.java
index 4b327cbd2..4b327cbd2 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/main/java/org/traccar/model/Position.java
diff --git a/src/org/traccar/model/ScheduledModel.java b/src/main/java/org/traccar/model/ScheduledModel.java
index 9e6a4b9a6..9e6a4b9a6 100644
--- a/src/org/traccar/model/ScheduledModel.java
+++ b/src/main/java/org/traccar/model/ScheduledModel.java
diff --git a/src/org/traccar/model/Server.java b/src/main/java/org/traccar/model/Server.java
index ad37e7078..ad37e7078 100644
--- a/src/org/traccar/model/Server.java
+++ b/src/main/java/org/traccar/model/Server.java
diff --git a/src/org/traccar/model/Statistics.java b/src/main/java/org/traccar/model/Statistics.java
index cb72c91dd..cb72c91dd 100644
--- a/src/org/traccar/model/Statistics.java
+++ b/src/main/java/org/traccar/model/Statistics.java
diff --git a/src/org/traccar/model/Typed.java b/src/main/java/org/traccar/model/Typed.java
index 313ec7bcd..313ec7bcd 100644
--- a/src/org/traccar/model/Typed.java
+++ b/src/main/java/org/traccar/model/Typed.java
diff --git a/src/org/traccar/model/User.java b/src/main/java/org/traccar/model/User.java
index 976b6aac0..976b6aac0 100644
--- a/src/org/traccar/model/User.java
+++ b/src/main/java/org/traccar/model/User.java
diff --git a/src/org/traccar/model/WifiAccessPoint.java b/src/main/java/org/traccar/model/WifiAccessPoint.java
index 87a77f3c0..87a77f3c0 100644
--- a/src/org/traccar/model/WifiAccessPoint.java
+++ b/src/main/java/org/traccar/model/WifiAccessPoint.java
diff --git a/src/org/traccar/notification/EventForwarder.java b/src/main/java/org/traccar/notification/EventForwarder.java
index c0010ebbd..c0010ebbd 100644
--- a/src/org/traccar/notification/EventForwarder.java
+++ b/src/main/java/org/traccar/notification/EventForwarder.java
diff --git a/src/org/traccar/notification/FullMessage.java b/src/main/java/org/traccar/notification/FullMessage.java
index f66537c6e..f66537c6e 100644
--- a/src/org/traccar/notification/FullMessage.java
+++ b/src/main/java/org/traccar/notification/FullMessage.java
diff --git a/src/org/traccar/notification/JsonTypeEventForwarder.java b/src/main/java/org/traccar/notification/JsonTypeEventForwarder.java
index fcafb964a..55d926fc8 100644
--- a/src/org/traccar/notification/JsonTypeEventForwarder.java
+++ b/src/main/java/org/traccar/notification/JsonTypeEventForwarder.java
@@ -1,18 +1,18 @@
-package org.traccar.notification;
-
-import java.util.Set;
-
-import org.traccar.model.Event;
-import org.traccar.model.Position;
-
-import javax.ws.rs.client.AsyncInvoker;
-import javax.ws.rs.client.Entity;
-
-public class JsonTypeEventForwarder extends EventForwarder {
-
- @Override
- protected void executeRequest(Event event, Position position, Set<Long> users, AsyncInvoker invoker) {
- invoker.post(Entity.json(preparePayload(event, position, users)));
- }
-
-}
+package org.traccar.notification;
+
+import java.util.Set;
+
+import org.traccar.model.Event;
+import org.traccar.model.Position;
+
+import javax.ws.rs.client.AsyncInvoker;
+import javax.ws.rs.client.Entity;
+
+public class JsonTypeEventForwarder extends EventForwarder {
+
+ @Override
+ protected void executeRequest(Event event, Position position, Set<Long> users, AsyncInvoker invoker) {
+ invoker.post(Entity.json(preparePayload(event, position, users)));
+ }
+
+}
diff --git a/src/org/traccar/notification/MessageException.java b/src/main/java/org/traccar/notification/MessageException.java
index 710b927b0..710b927b0 100644
--- a/src/org/traccar/notification/MessageException.java
+++ b/src/main/java/org/traccar/notification/MessageException.java
diff --git a/src/org/traccar/notification/NotificationFormatter.java b/src/main/java/org/traccar/notification/NotificationFormatter.java
index 2f8100226..2f8100226 100644
--- a/src/org/traccar/notification/NotificationFormatter.java
+++ b/src/main/java/org/traccar/notification/NotificationFormatter.java
diff --git a/src/org/traccar/notification/NotificatorManager.java b/src/main/java/org/traccar/notification/NotificatorManager.java
index a4080a38d..a4080a38d 100644
--- a/src/org/traccar/notification/NotificatorManager.java
+++ b/src/main/java/org/traccar/notification/NotificatorManager.java
diff --git a/src/org/traccar/notification/PropertiesProvider.java b/src/main/java/org/traccar/notification/PropertiesProvider.java
index f0078feef..f0078feef 100644
--- a/src/org/traccar/notification/PropertiesProvider.java
+++ b/src/main/java/org/traccar/notification/PropertiesProvider.java
diff --git a/src/org/traccar/notificators/Notificator.java b/src/main/java/org/traccar/notificators/Notificator.java
index 5e40971c6..5e40971c6 100644
--- a/src/org/traccar/notificators/Notificator.java
+++ b/src/main/java/org/traccar/notificators/Notificator.java
diff --git a/src/org/traccar/notificators/NotificatorFirebase.java b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
index 75d325de2..75d325de2 100644
--- a/src/org/traccar/notificators/NotificatorFirebase.java
+++ b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
diff --git a/src/org/traccar/notificators/NotificatorMail.java b/src/main/java/org/traccar/notificators/NotificatorMail.java
index 6b9774c58..6b9774c58 100644
--- a/src/org/traccar/notificators/NotificatorMail.java
+++ b/src/main/java/org/traccar/notificators/NotificatorMail.java
diff --git a/src/org/traccar/notificators/NotificatorNull.java b/src/main/java/org/traccar/notificators/NotificatorNull.java
index 9364336be..9364336be 100644
--- a/src/org/traccar/notificators/NotificatorNull.java
+++ b/src/main/java/org/traccar/notificators/NotificatorNull.java
diff --git a/src/org/traccar/notificators/NotificatorSms.java b/src/main/java/org/traccar/notificators/NotificatorSms.java
index d5c791eae..d5c791eae 100644
--- a/src/org/traccar/notificators/NotificatorSms.java
+++ b/src/main/java/org/traccar/notificators/NotificatorSms.java
diff --git a/src/org/traccar/notificators/NotificatorWeb.java b/src/main/java/org/traccar/notificators/NotificatorWeb.java
index 1d11c0b46..1d11c0b46 100644
--- a/src/org/traccar/notificators/NotificatorWeb.java
+++ b/src/main/java/org/traccar/notificators/NotificatorWeb.java
diff --git a/src/org/traccar/protocol/AdmProtocol.java b/src/main/java/org/traccar/protocol/AdmProtocol.java
index 08f932ceb..08f932ceb 100644
--- a/src/org/traccar/protocol/AdmProtocol.java
+++ b/src/main/java/org/traccar/protocol/AdmProtocol.java
diff --git a/src/org/traccar/protocol/AdmProtocolDecoder.java b/src/main/java/org/traccar/protocol/AdmProtocolDecoder.java
index 52d1439ed..52d1439ed 100644
--- a/src/org/traccar/protocol/AdmProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AdmProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AdmProtocolEncoder.java b/src/main/java/org/traccar/protocol/AdmProtocolEncoder.java
index e76bc2ddc..e76bc2ddc 100644
--- a/src/org/traccar/protocol/AdmProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/AdmProtocolEncoder.java
diff --git a/src/org/traccar/protocol/AisProtocol.java b/src/main/java/org/traccar/protocol/AisProtocol.java
index 3b9cad7c8..3b9cad7c8 100644
--- a/src/org/traccar/protocol/AisProtocol.java
+++ b/src/main/java/org/traccar/protocol/AisProtocol.java
diff --git a/src/org/traccar/protocol/AisProtocolDecoder.java b/src/main/java/org/traccar/protocol/AisProtocolDecoder.java
index 8970f3d4a..8970f3d4a 100644
--- a/src/org/traccar/protocol/AisProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AisProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AlematicsFrameDecoder.java b/src/main/java/org/traccar/protocol/AlematicsFrameDecoder.java
index be7666657..be7666657 100644
--- a/src/org/traccar/protocol/AlematicsFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/AlematicsFrameDecoder.java
diff --git a/src/org/traccar/protocol/AlematicsProtocol.java b/src/main/java/org/traccar/protocol/AlematicsProtocol.java
index 8da2356b9..8da2356b9 100644
--- a/src/org/traccar/protocol/AlematicsProtocol.java
+++ b/src/main/java/org/traccar/protocol/AlematicsProtocol.java
diff --git a/src/org/traccar/protocol/AlematicsProtocolDecoder.java b/src/main/java/org/traccar/protocol/AlematicsProtocolDecoder.java
index 25ccf6856..25ccf6856 100644
--- a/src/org/traccar/protocol/AlematicsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AlematicsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AnytrekProtocol.java b/src/main/java/org/traccar/protocol/AnytrekProtocol.java
index 4ab5833f7..4ab5833f7 100644
--- a/src/org/traccar/protocol/AnytrekProtocol.java
+++ b/src/main/java/org/traccar/protocol/AnytrekProtocol.java
diff --git a/src/org/traccar/protocol/AnytrekProtocolDecoder.java b/src/main/java/org/traccar/protocol/AnytrekProtocolDecoder.java
index c48f59c90..c48f59c90 100644
--- a/src/org/traccar/protocol/AnytrekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AnytrekProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ApelProtocol.java b/src/main/java/org/traccar/protocol/ApelProtocol.java
index 382aa16af..382aa16af 100644
--- a/src/org/traccar/protocol/ApelProtocol.java
+++ b/src/main/java/org/traccar/protocol/ApelProtocol.java
diff --git a/src/org/traccar/protocol/ApelProtocolDecoder.java b/src/main/java/org/traccar/protocol/ApelProtocolDecoder.java
index c95a0366a..c95a0366a 100644
--- a/src/org/traccar/protocol/ApelProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ApelProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AplicomFrameDecoder.java b/src/main/java/org/traccar/protocol/AplicomFrameDecoder.java
index 6e81e8202..56fca27c7 100644
--- a/src/org/traccar/protocol/AplicomFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/AplicomFrameDecoder.java
@@ -1,62 +1,62 @@
-/*
- * Copyright 2013 Anton Tananaev (anton@traccar.org)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.traccar.protocol;
-
-import io.netty.buffer.ByteBuf;
-import io.netty.channel.Channel;
-import io.netty.channel.ChannelHandlerContext;
-import org.traccar.BaseFrameDecoder;
-
-public class AplicomFrameDecoder extends BaseFrameDecoder {
-
- @Override
- protected Object decode(
- ChannelHandlerContext ctx, Channel channel, ByteBuf buf) throws Exception {
-
- // Skip Alive message
- while (buf.isReadable() && Character.isDigit(buf.getByte(buf.readerIndex()))) {
- buf.readByte();
- }
-
- // Check minimum length
- if (buf.readableBytes() < 11) {
- return null;
- }
-
- // Read flags
- int version = buf.getUnsignedByte(buf.readerIndex() + 1);
- int offset = 1 + 1 + 3;
- if ((version & 0x80) != 0) {
- offset += 4;
- }
-
- // Get data length
- int length = buf.getUnsignedShort(buf.readerIndex() + offset);
- offset += 2;
- if ((version & 0x40) != 0) {
- offset += 3;
- }
- length += offset; // add header
-
- // Return buffer
- if (buf.readableBytes() >= length) {
- return buf.readRetainedSlice(length);
- }
-
- return null;
- }
-
-}
+/*
+ * Copyright 2013 Anton Tananaev (anton@traccar.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.protocol;
+
+import io.netty.buffer.ByteBuf;
+import io.netty.channel.Channel;
+import io.netty.channel.ChannelHandlerContext;
+import org.traccar.BaseFrameDecoder;
+
+public class AplicomFrameDecoder extends BaseFrameDecoder {
+
+ @Override
+ protected Object decode(
+ ChannelHandlerContext ctx, Channel channel, ByteBuf buf) throws Exception {
+
+ // Skip Alive message
+ while (buf.isReadable() && Character.isDigit(buf.getByte(buf.readerIndex()))) {
+ buf.readByte();
+ }
+
+ // Check minimum length
+ if (buf.readableBytes() < 11) {
+ return null;
+ }
+
+ // Read flags
+ int version = buf.getUnsignedByte(buf.readerIndex() + 1);
+ int offset = 1 + 1 + 3;
+ if ((version & 0x80) != 0) {
+ offset += 4;
+ }
+
+ // Get data length
+ int length = buf.getUnsignedShort(buf.readerIndex() + offset);
+ offset += 2;
+ if ((version & 0x40) != 0) {
+ offset += 3;
+ }
+ length += offset; // add header
+
+ // Return buffer
+ if (buf.readableBytes() >= length) {
+ return buf.readRetainedSlice(length);
+ }
+
+ return null;
+ }
+
+}
diff --git a/src/org/traccar/protocol/AplicomProtocol.java b/src/main/java/org/traccar/protocol/AplicomProtocol.java
index 2b9dbf97c..2b9dbf97c 100644
--- a/src/org/traccar/protocol/AplicomProtocol.java
+++ b/src/main/java/org/traccar/protocol/AplicomProtocol.java
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/main/java/org/traccar/protocol/AplicomProtocolDecoder.java
index 215aa0211..215aa0211 100644
--- a/src/org/traccar/protocol/AplicomProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AplicomProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AppelloProtocol.java b/src/main/java/org/traccar/protocol/AppelloProtocol.java
index 1ca4168e4..1ca4168e4 100644
--- a/src/org/traccar/protocol/AppelloProtocol.java
+++ b/src/main/java/org/traccar/protocol/AppelloProtocol.java
diff --git a/src/org/traccar/protocol/AppelloProtocolDecoder.java b/src/main/java/org/traccar/protocol/AppelloProtocolDecoder.java
index 47e329234..47e329234 100644
--- a/src/org/traccar/protocol/AppelloProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AppelloProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AppletProtocol.java b/src/main/java/org/traccar/protocol/AppletProtocol.java
index 2297dca03..2297dca03 100644
--- a/src/org/traccar/protocol/AppletProtocol.java
+++ b/src/main/java/org/traccar/protocol/AppletProtocol.java
diff --git a/src/org/traccar/protocol/AppletProtocolDecoder.java b/src/main/java/org/traccar/protocol/AppletProtocolDecoder.java
index 7a995cc24..7a995cc24 100644
--- a/src/org/traccar/protocol/AppletProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AppletProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AquilaProtocol.java b/src/main/java/org/traccar/protocol/AquilaProtocol.java
index 5ca1ec091..5ca1ec091 100644
--- a/src/org/traccar/protocol/AquilaProtocol.java
+++ b/src/main/java/org/traccar/protocol/AquilaProtocol.java
diff --git a/src/org/traccar/protocol/AquilaProtocolDecoder.java b/src/main/java/org/traccar/protocol/AquilaProtocolDecoder.java
index 57af5e366..57af5e366 100644
--- a/src/org/traccar/protocol/AquilaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AquilaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Ardi01Protocol.java b/src/main/java/org/traccar/protocol/Ardi01Protocol.java
index f7826430f..f7826430f 100644
--- a/src/org/traccar/protocol/Ardi01Protocol.java
+++ b/src/main/java/org/traccar/protocol/Ardi01Protocol.java
diff --git a/src/org/traccar/protocol/Ardi01ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Ardi01ProtocolDecoder.java
index 85e9ecfde..85e9ecfde 100644
--- a/src/org/traccar/protocol/Ardi01ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Ardi01ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ArknavProtocol.java b/src/main/java/org/traccar/protocol/ArknavProtocol.java
index 3b485e4a5..3b485e4a5 100644
--- a/src/org/traccar/protocol/ArknavProtocol.java
+++ b/src/main/java/org/traccar/protocol/ArknavProtocol.java
diff --git a/src/org/traccar/protocol/ArknavProtocolDecoder.java b/src/main/java/org/traccar/protocol/ArknavProtocolDecoder.java
index 4982e02fc..4982e02fc 100644
--- a/src/org/traccar/protocol/ArknavProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ArknavProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ArknavX8Protocol.java b/src/main/java/org/traccar/protocol/ArknavX8Protocol.java
index a29bc1ad3..a29bc1ad3 100644
--- a/src/org/traccar/protocol/ArknavX8Protocol.java
+++ b/src/main/java/org/traccar/protocol/ArknavX8Protocol.java
diff --git a/src/org/traccar/protocol/ArknavX8ProtocolDecoder.java b/src/main/java/org/traccar/protocol/ArknavX8ProtocolDecoder.java
index b570f5423..b570f5423 100644
--- a/src/org/traccar/protocol/ArknavX8ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ArknavX8ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ArnaviProtocol.java b/src/main/java/org/traccar/protocol/ArnaviProtocol.java
index afe491865..afe491865 100644
--- a/src/org/traccar/protocol/ArnaviProtocol.java
+++ b/src/main/java/org/traccar/protocol/ArnaviProtocol.java
diff --git a/src/org/traccar/protocol/ArnaviProtocolDecoder.java b/src/main/java/org/traccar/protocol/ArnaviProtocolDecoder.java
index 7996cf429..7996cf429 100644
--- a/src/org/traccar/protocol/ArnaviProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ArnaviProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AstraProtocol.java b/src/main/java/org/traccar/protocol/AstraProtocol.java
index 12b0dfb68..12b0dfb68 100644
--- a/src/org/traccar/protocol/AstraProtocol.java
+++ b/src/main/java/org/traccar/protocol/AstraProtocol.java
diff --git a/src/org/traccar/protocol/AstraProtocolDecoder.java b/src/main/java/org/traccar/protocol/AstraProtocolDecoder.java
index e6f546b9f..e6f546b9f 100644
--- a/src/org/traccar/protocol/AstraProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AstraProtocolDecoder.java
diff --git a/src/org/traccar/protocol/At2000FrameDecoder.java b/src/main/java/org/traccar/protocol/At2000FrameDecoder.java
index 5fa82a5f7..5fa82a5f7 100644
--- a/src/org/traccar/protocol/At2000FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/At2000FrameDecoder.java
diff --git a/src/org/traccar/protocol/At2000Protocol.java b/src/main/java/org/traccar/protocol/At2000Protocol.java
index 5894f3eab..5894f3eab 100644
--- a/src/org/traccar/protocol/At2000Protocol.java
+++ b/src/main/java/org/traccar/protocol/At2000Protocol.java
diff --git a/src/org/traccar/protocol/At2000ProtocolDecoder.java b/src/main/java/org/traccar/protocol/At2000ProtocolDecoder.java
index 43798eb67..43798eb67 100644
--- a/src/org/traccar/protocol/At2000ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/At2000ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AtrackFrameDecoder.java b/src/main/java/org/traccar/protocol/AtrackFrameDecoder.java
index f071e2d97..f071e2d97 100644
--- a/src/org/traccar/protocol/AtrackFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/AtrackFrameDecoder.java
diff --git a/src/org/traccar/protocol/AtrackProtocol.java b/src/main/java/org/traccar/protocol/AtrackProtocol.java
index 8e5cfe9ff..8e5cfe9ff 100644
--- a/src/org/traccar/protocol/AtrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/AtrackProtocol.java
diff --git a/src/org/traccar/protocol/AtrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/AtrackProtocolDecoder.java
index 71bb6791c..71bb6791c 100644
--- a/src/org/traccar/protocol/AtrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AtrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AtrackProtocolEncoder.java b/src/main/java/org/traccar/protocol/AtrackProtocolEncoder.java
index 1e085cb26..1e085cb26 100644
--- a/src/org/traccar/protocol/AtrackProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/AtrackProtocolEncoder.java
diff --git a/src/org/traccar/protocol/AuroProtocol.java b/src/main/java/org/traccar/protocol/AuroProtocol.java
index b8ebdaa75..b8ebdaa75 100644
--- a/src/org/traccar/protocol/AuroProtocol.java
+++ b/src/main/java/org/traccar/protocol/AuroProtocol.java
diff --git a/src/org/traccar/protocol/AuroProtocolDecoder.java b/src/main/java/org/traccar/protocol/AuroProtocolDecoder.java
index d7916147b..d7916147b 100644
--- a/src/org/traccar/protocol/AuroProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AuroProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AustinNbProtocol.java b/src/main/java/org/traccar/protocol/AustinNbProtocol.java
index 32bfc0aae..32bfc0aae 100644
--- a/src/org/traccar/protocol/AustinNbProtocol.java
+++ b/src/main/java/org/traccar/protocol/AustinNbProtocol.java
diff --git a/src/org/traccar/protocol/AustinNbProtocolDecoder.java b/src/main/java/org/traccar/protocol/AustinNbProtocolDecoder.java
index dc6f3d280..dc6f3d280 100644
--- a/src/org/traccar/protocol/AustinNbProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AustinNbProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AutoFonFrameDecoder.java b/src/main/java/org/traccar/protocol/AutoFonFrameDecoder.java
index 69f28133f..69f28133f 100644
--- a/src/org/traccar/protocol/AutoFonFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/AutoFonFrameDecoder.java
diff --git a/src/org/traccar/protocol/AutoFonProtocol.java b/src/main/java/org/traccar/protocol/AutoFonProtocol.java
index 08b5edc7d..08b5edc7d 100644
--- a/src/org/traccar/protocol/AutoFonProtocol.java
+++ b/src/main/java/org/traccar/protocol/AutoFonProtocol.java
diff --git a/src/org/traccar/protocol/AutoFonProtocolDecoder.java b/src/main/java/org/traccar/protocol/AutoFonProtocolDecoder.java
index aa05ca2d7..aa05ca2d7 100644
--- a/src/org/traccar/protocol/AutoFonProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AutoFonProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AutoGradeProtocol.java b/src/main/java/org/traccar/protocol/AutoGradeProtocol.java
index c6dbb681e..c6dbb681e 100644
--- a/src/org/traccar/protocol/AutoGradeProtocol.java
+++ b/src/main/java/org/traccar/protocol/AutoGradeProtocol.java
diff --git a/src/org/traccar/protocol/AutoGradeProtocolDecoder.java b/src/main/java/org/traccar/protocol/AutoGradeProtocolDecoder.java
index 5052450b5..5052450b5 100644
--- a/src/org/traccar/protocol/AutoGradeProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AutoGradeProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AutoTrackProtocol.java b/src/main/java/org/traccar/protocol/AutoTrackProtocol.java
index 6aa7558bf..6aa7558bf 100644
--- a/src/org/traccar/protocol/AutoTrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/AutoTrackProtocol.java
diff --git a/src/org/traccar/protocol/AutoTrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java
index 3c1fd256b..3c1fd256b 100644
--- a/src/org/traccar/protocol/AutoTrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AutoTrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/AvemaProtocol.java b/src/main/java/org/traccar/protocol/AvemaProtocol.java
index dbfab4dea..dbfab4dea 100644
--- a/src/org/traccar/protocol/AvemaProtocol.java
+++ b/src/main/java/org/traccar/protocol/AvemaProtocol.java
diff --git a/src/org/traccar/protocol/AvemaProtocolDecoder.java b/src/main/java/org/traccar/protocol/AvemaProtocolDecoder.java
index 16a31162a..16a31162a 100644
--- a/src/org/traccar/protocol/AvemaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/AvemaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Avl301Protocol.java b/src/main/java/org/traccar/protocol/Avl301Protocol.java
index 71fc7cb26..71fc7cb26 100644
--- a/src/org/traccar/protocol/Avl301Protocol.java
+++ b/src/main/java/org/traccar/protocol/Avl301Protocol.java
diff --git a/src/org/traccar/protocol/Avl301ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Avl301ProtocolDecoder.java
index f6b7db2d6..f6b7db2d6 100644
--- a/src/org/traccar/protocol/Avl301ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Avl301ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/BceFrameDecoder.java b/src/main/java/org/traccar/protocol/BceFrameDecoder.java
index 381a97696..381a97696 100644
--- a/src/org/traccar/protocol/BceFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/BceFrameDecoder.java
diff --git a/src/org/traccar/protocol/BceProtocol.java b/src/main/java/org/traccar/protocol/BceProtocol.java
index 6453a05a9..6453a05a9 100644
--- a/src/org/traccar/protocol/BceProtocol.java
+++ b/src/main/java/org/traccar/protocol/BceProtocol.java
diff --git a/src/org/traccar/protocol/BceProtocolDecoder.java b/src/main/java/org/traccar/protocol/BceProtocolDecoder.java
index ed810bebb..ed810bebb 100644
--- a/src/org/traccar/protocol/BceProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/BceProtocolDecoder.java
diff --git a/src/org/traccar/protocol/BceProtocolEncoder.java b/src/main/java/org/traccar/protocol/BceProtocolEncoder.java
index 1bbf3db12..1bbf3db12 100644
--- a/src/org/traccar/protocol/BceProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/BceProtocolEncoder.java
diff --git a/src/org/traccar/protocol/BlackKiteProtocol.java b/src/main/java/org/traccar/protocol/BlackKiteProtocol.java
index 617a24d7a..617a24d7a 100644
--- a/src/org/traccar/protocol/BlackKiteProtocol.java
+++ b/src/main/java/org/traccar/protocol/BlackKiteProtocol.java
diff --git a/src/org/traccar/protocol/BlackKiteProtocolDecoder.java b/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
index dca4b908a..dca4b908a 100644
--- a/src/org/traccar/protocol/BlackKiteProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/BlackKiteProtocolDecoder.java
diff --git a/src/org/traccar/protocol/BoxProtocol.java b/src/main/java/org/traccar/protocol/BoxProtocol.java
index dfea15938..dfea15938 100644
--- a/src/org/traccar/protocol/BoxProtocol.java
+++ b/src/main/java/org/traccar/protocol/BoxProtocol.java
diff --git a/src/org/traccar/protocol/BoxProtocolDecoder.java b/src/main/java/org/traccar/protocol/BoxProtocolDecoder.java
index 3635c29e5..3635c29e5 100644
--- a/src/org/traccar/protocol/BoxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/BoxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/C2stekProtocol.java b/src/main/java/org/traccar/protocol/C2stekProtocol.java
index 804621fd3..804621fd3 100644
--- a/src/org/traccar/protocol/C2stekProtocol.java
+++ b/src/main/java/org/traccar/protocol/C2stekProtocol.java
diff --git a/src/org/traccar/protocol/C2stekProtocolDecoder.java b/src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java
index 6a31cb2f4..6a31cb2f4 100644
--- a/src/org/traccar/protocol/C2stekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/C2stekProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CalAmpProtocol.java b/src/main/java/org/traccar/protocol/CalAmpProtocol.java
index 232e72a8c..232e72a8c 100644
--- a/src/org/traccar/protocol/CalAmpProtocol.java
+++ b/src/main/java/org/traccar/protocol/CalAmpProtocol.java
diff --git a/src/org/traccar/protocol/CalAmpProtocolDecoder.java b/src/main/java/org/traccar/protocol/CalAmpProtocolDecoder.java
index 31416d7f1..31416d7f1 100644
--- a/src/org/traccar/protocol/CalAmpProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CalAmpProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CarTrackProtocol.java b/src/main/java/org/traccar/protocol/CarTrackProtocol.java
index e340fba25..e340fba25 100644
--- a/src/org/traccar/protocol/CarTrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/CarTrackProtocol.java
diff --git a/src/org/traccar/protocol/CarTrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/CarTrackProtocolDecoder.java
index ce3345826..ce3345826 100644
--- a/src/org/traccar/protocol/CarTrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CarTrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CarcellProtocol.java b/src/main/java/org/traccar/protocol/CarcellProtocol.java
index 0c305efcb..0c305efcb 100644
--- a/src/org/traccar/protocol/CarcellProtocol.java
+++ b/src/main/java/org/traccar/protocol/CarcellProtocol.java
diff --git a/src/org/traccar/protocol/CarcellProtocolDecoder.java b/src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java
index 344b2f1ea..344b2f1ea 100644
--- a/src/org/traccar/protocol/CarcellProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CarcellProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CarcellProtocolEncoder.java b/src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java
index e8f0081a0..e8f0081a0 100644
--- a/src/org/traccar/protocol/CarcellProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/CarcellProtocolEncoder.java
diff --git a/src/org/traccar/protocol/CarscopProtocol.java b/src/main/java/org/traccar/protocol/CarscopProtocol.java
index 2c754a97f..2c754a97f 100644
--- a/src/org/traccar/protocol/CarscopProtocol.java
+++ b/src/main/java/org/traccar/protocol/CarscopProtocol.java
diff --git a/src/org/traccar/protocol/CarscopProtocolDecoder.java b/src/main/java/org/traccar/protocol/CarscopProtocolDecoder.java
index 161666adc..161666adc 100644
--- a/src/org/traccar/protocol/CarscopProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CarscopProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CastelProtocol.java b/src/main/java/org/traccar/protocol/CastelProtocol.java
index 9b854afc3..9b854afc3 100644
--- a/src/org/traccar/protocol/CastelProtocol.java
+++ b/src/main/java/org/traccar/protocol/CastelProtocol.java
diff --git a/src/org/traccar/protocol/CastelProtocolDecoder.java b/src/main/java/org/traccar/protocol/CastelProtocolDecoder.java
index 0541adf6f..0541adf6f 100644
--- a/src/org/traccar/protocol/CastelProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CastelProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CastelProtocolEncoder.java b/src/main/java/org/traccar/protocol/CastelProtocolEncoder.java
index e1f78e7c1..e1f78e7c1 100644
--- a/src/org/traccar/protocol/CastelProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/CastelProtocolEncoder.java
diff --git a/src/org/traccar/protocol/CautelaProtocol.java b/src/main/java/org/traccar/protocol/CautelaProtocol.java
index 452bdf8d4..452bdf8d4 100644
--- a/src/org/traccar/protocol/CautelaProtocol.java
+++ b/src/main/java/org/traccar/protocol/CautelaProtocol.java
diff --git a/src/org/traccar/protocol/CautelaProtocolDecoder.java b/src/main/java/org/traccar/protocol/CautelaProtocolDecoder.java
index bddf19b41..bddf19b41 100644
--- a/src/org/traccar/protocol/CautelaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CautelaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CellocatorFrameDecoder.java b/src/main/java/org/traccar/protocol/CellocatorFrameDecoder.java
index 7d5499d92..7d5499d92 100644
--- a/src/org/traccar/protocol/CellocatorFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/CellocatorFrameDecoder.java
diff --git a/src/org/traccar/protocol/CellocatorProtocol.java b/src/main/java/org/traccar/protocol/CellocatorProtocol.java
index a52170dc9..a52170dc9 100644
--- a/src/org/traccar/protocol/CellocatorProtocol.java
+++ b/src/main/java/org/traccar/protocol/CellocatorProtocol.java
diff --git a/src/org/traccar/protocol/CellocatorProtocolDecoder.java b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
index d23f76a93..d23f76a93 100644
--- a/src/org/traccar/protocol/CellocatorProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CellocatorProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CellocatorProtocolEncoder.java b/src/main/java/org/traccar/protocol/CellocatorProtocolEncoder.java
index 0382dbbc7..0382dbbc7 100644
--- a/src/org/traccar/protocol/CellocatorProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/CellocatorProtocolEncoder.java
diff --git a/src/org/traccar/protocol/CguardProtocol.java b/src/main/java/org/traccar/protocol/CguardProtocol.java
index 9157ca35c..9157ca35c 100644
--- a/src/org/traccar/protocol/CguardProtocol.java
+++ b/src/main/java/org/traccar/protocol/CguardProtocol.java
diff --git a/src/org/traccar/protocol/CguardProtocolDecoder.java b/src/main/java/org/traccar/protocol/CguardProtocolDecoder.java
index d934921f1..d934921f1 100644
--- a/src/org/traccar/protocol/CguardProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CguardProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CityeasyProtocol.java b/src/main/java/org/traccar/protocol/CityeasyProtocol.java
index f4b49c9ff..f4b49c9ff 100644
--- a/src/org/traccar/protocol/CityeasyProtocol.java
+++ b/src/main/java/org/traccar/protocol/CityeasyProtocol.java
diff --git a/src/org/traccar/protocol/CityeasyProtocolDecoder.java b/src/main/java/org/traccar/protocol/CityeasyProtocolDecoder.java
index 9c4c7e11d..9c4c7e11d 100644
--- a/src/org/traccar/protocol/CityeasyProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CityeasyProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CityeasyProtocolEncoder.java b/src/main/java/org/traccar/protocol/CityeasyProtocolEncoder.java
index 350fdf0ab..350fdf0ab 100644
--- a/src/org/traccar/protocol/CityeasyProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/CityeasyProtocolEncoder.java
diff --git a/src/org/traccar/protocol/ContinentalProtocol.java b/src/main/java/org/traccar/protocol/ContinentalProtocol.java
index bc7928fba..bc7928fba 100644
--- a/src/org/traccar/protocol/ContinentalProtocol.java
+++ b/src/main/java/org/traccar/protocol/ContinentalProtocol.java
diff --git a/src/org/traccar/protocol/ContinentalProtocolDecoder.java b/src/main/java/org/traccar/protocol/ContinentalProtocolDecoder.java
index 471afa0d6..471afa0d6 100644
--- a/src/org/traccar/protocol/ContinentalProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ContinentalProtocolDecoder.java
diff --git a/src/org/traccar/protocol/CradlepointProtocol.java b/src/main/java/org/traccar/protocol/CradlepointProtocol.java
index 4a09e0311..4a09e0311 100644
--- a/src/org/traccar/protocol/CradlepointProtocol.java
+++ b/src/main/java/org/traccar/protocol/CradlepointProtocol.java
diff --git a/src/org/traccar/protocol/CradlepointProtocolDecoder.java b/src/main/java/org/traccar/protocol/CradlepointProtocolDecoder.java
index a282131ce..a282131ce 100644
--- a/src/org/traccar/protocol/CradlepointProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/CradlepointProtocolDecoder.java
diff --git a/src/org/traccar/protocol/DishaProtocol.java b/src/main/java/org/traccar/protocol/DishaProtocol.java
index 38f49cc05..38f49cc05 100644
--- a/src/org/traccar/protocol/DishaProtocol.java
+++ b/src/main/java/org/traccar/protocol/DishaProtocol.java
diff --git a/src/org/traccar/protocol/DishaProtocolDecoder.java b/src/main/java/org/traccar/protocol/DishaProtocolDecoder.java
index 3223988ab..3223988ab 100644
--- a/src/org/traccar/protocol/DishaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DishaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/DmtHttpProtocol.java b/src/main/java/org/traccar/protocol/DmtHttpProtocol.java
index 34568128f..34568128f 100644
--- a/src/org/traccar/protocol/DmtHttpProtocol.java
+++ b/src/main/java/org/traccar/protocol/DmtHttpProtocol.java
diff --git a/src/org/traccar/protocol/DmtHttpProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtHttpProtocolDecoder.java
index 987361baf..987361baf 100644
--- a/src/org/traccar/protocol/DmtHttpProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DmtHttpProtocolDecoder.java
diff --git a/src/org/traccar/protocol/DmtProtocol.java b/src/main/java/org/traccar/protocol/DmtProtocol.java
index 78a5243c0..78a5243c0 100644
--- a/src/org/traccar/protocol/DmtProtocol.java
+++ b/src/main/java/org/traccar/protocol/DmtProtocol.java
diff --git a/src/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
index c04e90f1d..c04e90f1d 100644
--- a/src/org/traccar/protocol/DmtProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
diff --git a/src/org/traccar/protocol/DwayProtocol.java b/src/main/java/org/traccar/protocol/DwayProtocol.java
index 05fd8b6e7..05fd8b6e7 100644
--- a/src/org/traccar/protocol/DwayProtocol.java
+++ b/src/main/java/org/traccar/protocol/DwayProtocol.java
diff --git a/src/org/traccar/protocol/DwayProtocolDecoder.java b/src/main/java/org/traccar/protocol/DwayProtocolDecoder.java
index 9b02c898e..9b02c898e 100644
--- a/src/org/traccar/protocol/DwayProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DwayProtocolDecoder.java
diff --git a/src/org/traccar/protocol/EasyTrackProtocol.java b/src/main/java/org/traccar/protocol/EasyTrackProtocol.java
index 74c636d06..74c636d06 100644
--- a/src/org/traccar/protocol/EasyTrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/EasyTrackProtocol.java
diff --git a/src/org/traccar/protocol/EasyTrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java
index 2ddb24f5c..2ddb24f5c 100644
--- a/src/org/traccar/protocol/EasyTrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/EasyTrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/EelinkProtocol.java b/src/main/java/org/traccar/protocol/EelinkProtocol.java
index de4ea971b..de4ea971b 100644
--- a/src/org/traccar/protocol/EelinkProtocol.java
+++ b/src/main/java/org/traccar/protocol/EelinkProtocol.java
diff --git a/src/org/traccar/protocol/EelinkProtocolDecoder.java b/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java
index 2a1db2e32..2a1db2e32 100644
--- a/src/org/traccar/protocol/EelinkProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/EelinkProtocolDecoder.java
diff --git a/src/org/traccar/protocol/EelinkProtocolEncoder.java b/src/main/java/org/traccar/protocol/EelinkProtocolEncoder.java
index 8f33441fb..8f33441fb 100644
--- a/src/org/traccar/protocol/EelinkProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/EelinkProtocolEncoder.java
diff --git a/src/org/traccar/protocol/EgtsFrameDecoder.java b/src/main/java/org/traccar/protocol/EgtsFrameDecoder.java
index 84f1f11a7..84f1f11a7 100644
--- a/src/org/traccar/protocol/EgtsFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/EgtsFrameDecoder.java
diff --git a/src/org/traccar/protocol/EgtsProtocol.java b/src/main/java/org/traccar/protocol/EgtsProtocol.java
index 5d4638f37..5d4638f37 100644
--- a/src/org/traccar/protocol/EgtsProtocol.java
+++ b/src/main/java/org/traccar/protocol/EgtsProtocol.java
diff --git a/src/org/traccar/protocol/EgtsProtocolDecoder.java b/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java
index b9fcb2f44..b9fcb2f44 100644
--- a/src/org/traccar/protocol/EgtsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/EgtsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/EnforaProtocol.java b/src/main/java/org/traccar/protocol/EnforaProtocol.java
index f78e4b377..f78e4b377 100644
--- a/src/org/traccar/protocol/EnforaProtocol.java
+++ b/src/main/java/org/traccar/protocol/EnforaProtocol.java
diff --git a/src/org/traccar/protocol/EnforaProtocolDecoder.java b/src/main/java/org/traccar/protocol/EnforaProtocolDecoder.java
index bfa7a116b..bfa7a116b 100644
--- a/src/org/traccar/protocol/EnforaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/EnforaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/EnforaProtocolEncoder.java b/src/main/java/org/traccar/protocol/EnforaProtocolEncoder.java
index a46e6367d..a46e6367d 100644
--- a/src/org/traccar/protocol/EnforaProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/EnforaProtocolEncoder.java
diff --git a/src/org/traccar/protocol/EsealProtocol.java b/src/main/java/org/traccar/protocol/EsealProtocol.java
index 7a27c617d..7a27c617d 100644
--- a/src/org/traccar/protocol/EsealProtocol.java
+++ b/src/main/java/org/traccar/protocol/EsealProtocol.java
diff --git a/src/org/traccar/protocol/EsealProtocolDecoder.java b/src/main/java/org/traccar/protocol/EsealProtocolDecoder.java
index 7a1fd7022..7a1fd7022 100644
--- a/src/org/traccar/protocol/EsealProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/EsealProtocolDecoder.java
diff --git a/src/org/traccar/protocol/EsealProtocolEncoder.java b/src/main/java/org/traccar/protocol/EsealProtocolEncoder.java
index b9bcc5b0a..b9bcc5b0a 100644
--- a/src/org/traccar/protocol/EsealProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/EsealProtocolEncoder.java
diff --git a/src/org/traccar/protocol/EskyFrameDecoder.java b/src/main/java/org/traccar/protocol/EskyFrameDecoder.java
index da24c1273..da24c1273 100644
--- a/src/org/traccar/protocol/EskyFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/EskyFrameDecoder.java
diff --git a/src/org/traccar/protocol/EskyProtocol.java b/src/main/java/org/traccar/protocol/EskyProtocol.java
index aaa92da58..aaa92da58 100644
--- a/src/org/traccar/protocol/EskyProtocol.java
+++ b/src/main/java/org/traccar/protocol/EskyProtocol.java
diff --git a/src/org/traccar/protocol/EskyProtocolDecoder.java b/src/main/java/org/traccar/protocol/EskyProtocolDecoder.java
index 641b2e28f..641b2e28f 100644
--- a/src/org/traccar/protocol/EskyProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/EskyProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ExtremTracProtocol.java b/src/main/java/org/traccar/protocol/ExtremTracProtocol.java
index 692fd4e99..692fd4e99 100644
--- a/src/org/traccar/protocol/ExtremTracProtocol.java
+++ b/src/main/java/org/traccar/protocol/ExtremTracProtocol.java
diff --git a/src/org/traccar/protocol/ExtremTracProtocolDecoder.java b/src/main/java/org/traccar/protocol/ExtremTracProtocolDecoder.java
index 9fde6f0a0..9fde6f0a0 100644
--- a/src/org/traccar/protocol/ExtremTracProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ExtremTracProtocolDecoder.java
diff --git a/src/org/traccar/protocol/FifotrackProtocol.java b/src/main/java/org/traccar/protocol/FifotrackProtocol.java
index 371e01e55..371e01e55 100644
--- a/src/org/traccar/protocol/FifotrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/FifotrackProtocol.java
diff --git a/src/org/traccar/protocol/FifotrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java
index beaa34125..beaa34125 100644
--- a/src/org/traccar/protocol/FifotrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FifotrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/FlespiProtocol.java b/src/main/java/org/traccar/protocol/FlespiProtocol.java
index 2c0729b76..2c0729b76 100644
--- a/src/org/traccar/protocol/FlespiProtocol.java
+++ b/src/main/java/org/traccar/protocol/FlespiProtocol.java
diff --git a/src/org/traccar/protocol/FlespiProtocolDecoder.java b/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
index 86da3943e..86da3943e 100644
--- a/src/org/traccar/protocol/FlespiProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FlespiProtocolDecoder.java
diff --git a/src/org/traccar/protocol/FlexCommProtocol.java b/src/main/java/org/traccar/protocol/FlexCommProtocol.java
index 9343ebeb8..9343ebeb8 100644
--- a/src/org/traccar/protocol/FlexCommProtocol.java
+++ b/src/main/java/org/traccar/protocol/FlexCommProtocol.java
diff --git a/src/org/traccar/protocol/FlexCommProtocolDecoder.java b/src/main/java/org/traccar/protocol/FlexCommProtocolDecoder.java
index 068c0a05c..068c0a05c 100644
--- a/src/org/traccar/protocol/FlexCommProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FlexCommProtocolDecoder.java
diff --git a/src/org/traccar/protocol/FlextrackProtocol.java b/src/main/java/org/traccar/protocol/FlextrackProtocol.java
index ddd1d58f0..ddd1d58f0 100644
--- a/src/org/traccar/protocol/FlextrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/FlextrackProtocol.java
diff --git a/src/org/traccar/protocol/FlextrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/FlextrackProtocolDecoder.java
index 9dce22ede..9dce22ede 100644
--- a/src/org/traccar/protocol/FlextrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FlextrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/FoxProtocol.java b/src/main/java/org/traccar/protocol/FoxProtocol.java
index 9bac773b5..9bac773b5 100644
--- a/src/org/traccar/protocol/FoxProtocol.java
+++ b/src/main/java/org/traccar/protocol/FoxProtocol.java
diff --git a/src/org/traccar/protocol/FoxProtocolDecoder.java b/src/main/java/org/traccar/protocol/FoxProtocolDecoder.java
index 449f00022..449f00022 100644
--- a/src/org/traccar/protocol/FoxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FoxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/FreedomProtocol.java b/src/main/java/org/traccar/protocol/FreedomProtocol.java
index bc6b92d5f..bc6b92d5f 100644
--- a/src/org/traccar/protocol/FreedomProtocol.java
+++ b/src/main/java/org/traccar/protocol/FreedomProtocol.java
diff --git a/src/org/traccar/protocol/FreedomProtocolDecoder.java b/src/main/java/org/traccar/protocol/FreedomProtocolDecoder.java
index 1d2dd3133..1d2dd3133 100644
--- a/src/org/traccar/protocol/FreedomProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FreedomProtocolDecoder.java
diff --git a/src/org/traccar/protocol/FreematicsProtocol.java b/src/main/java/org/traccar/protocol/FreematicsProtocol.java
index 999b075a1..999b075a1 100644
--- a/src/org/traccar/protocol/FreematicsProtocol.java
+++ b/src/main/java/org/traccar/protocol/FreematicsProtocol.java
diff --git a/src/org/traccar/protocol/FreematicsProtocolDecoder.java b/src/main/java/org/traccar/protocol/FreematicsProtocolDecoder.java
index ba47699c3..ba47699c3 100644
--- a/src/org/traccar/protocol/FreematicsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/FreematicsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GalileoFrameDecoder.java b/src/main/java/org/traccar/protocol/GalileoFrameDecoder.java
index c23d26c83..c23d26c83 100644
--- a/src/org/traccar/protocol/GalileoFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/GalileoFrameDecoder.java
diff --git a/src/org/traccar/protocol/GalileoProtocol.java b/src/main/java/org/traccar/protocol/GalileoProtocol.java
index 9b7fe1a4b..9b7fe1a4b 100644
--- a/src/org/traccar/protocol/GalileoProtocol.java
+++ b/src/main/java/org/traccar/protocol/GalileoProtocol.java
diff --git a/src/org/traccar/protocol/GalileoProtocolDecoder.java b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java
index 01c55a9ae..01c55a9ae 100644
--- a/src/org/traccar/protocol/GalileoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GalileoProtocolEncoder.java b/src/main/java/org/traccar/protocol/GalileoProtocolEncoder.java
index 3b2145e74..3b2145e74 100644
--- a/src/org/traccar/protocol/GalileoProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/GalileoProtocolEncoder.java
diff --git a/src/org/traccar/protocol/GatorProtocol.java b/src/main/java/org/traccar/protocol/GatorProtocol.java
index ca81caefb..ca81caefb 100644
--- a/src/org/traccar/protocol/GatorProtocol.java
+++ b/src/main/java/org/traccar/protocol/GatorProtocol.java
diff --git a/src/org/traccar/protocol/GatorProtocolDecoder.java b/src/main/java/org/traccar/protocol/GatorProtocolDecoder.java
index 31500bae6..31500bae6 100644
--- a/src/org/traccar/protocol/GatorProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GatorProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GenxProtocol.java b/src/main/java/org/traccar/protocol/GenxProtocol.java
index c87ba946a..c87ba946a 100644
--- a/src/org/traccar/protocol/GenxProtocol.java
+++ b/src/main/java/org/traccar/protocol/GenxProtocol.java
diff --git a/src/org/traccar/protocol/GenxProtocolDecoder.java b/src/main/java/org/traccar/protocol/GenxProtocolDecoder.java
index 2ae9de7a0..2ae9de7a0 100644
--- a/src/org/traccar/protocol/GenxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GenxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gl100Protocol.java b/src/main/java/org/traccar/protocol/Gl100Protocol.java
index 063e606db..063e606db 100644
--- a/src/org/traccar/protocol/Gl100Protocol.java
+++ b/src/main/java/org/traccar/protocol/Gl100Protocol.java
diff --git a/src/org/traccar/protocol/Gl100ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl100ProtocolDecoder.java
index ae0383e5c..ae0383e5c 100644
--- a/src/org/traccar/protocol/Gl100ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl100ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gl200BinaryProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200BinaryProtocolDecoder.java
index c3339bea5..c3339bea5 100644
--- a/src/org/traccar/protocol/Gl200BinaryProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200BinaryProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gl200FrameDecoder.java b/src/main/java/org/traccar/protocol/Gl200FrameDecoder.java
index c192cc28d..c192cc28d 100644
--- a/src/org/traccar/protocol/Gl200FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200FrameDecoder.java
diff --git a/src/org/traccar/protocol/Gl200Protocol.java b/src/main/java/org/traccar/protocol/Gl200Protocol.java
index c5343dae0..c5343dae0 100644
--- a/src/org/traccar/protocol/Gl200Protocol.java
+++ b/src/main/java/org/traccar/protocol/Gl200Protocol.java
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200ProtocolDecoder.java
index ca1df7a13..ca1df7a13 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gl200ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Gl200ProtocolEncoder.java
index 285106c67..285106c67 100644
--- a/src/org/traccar/protocol/Gl200ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
index aeb57a116..aeb57a116 100644
--- a/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gl200TextProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GlobalSatProtocol.java b/src/main/java/org/traccar/protocol/GlobalSatProtocol.java
index 5612515c9..5612515c9 100644
--- a/src/org/traccar/protocol/GlobalSatProtocol.java
+++ b/src/main/java/org/traccar/protocol/GlobalSatProtocol.java
diff --git a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java b/src/main/java/org/traccar/protocol/GlobalSatProtocolDecoder.java
index 3d4ab5760..3d4ab5760 100644
--- a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GlobalSatProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GnxProtocol.java b/src/main/java/org/traccar/protocol/GnxProtocol.java
index 3576bf805..3576bf805 100644
--- a/src/org/traccar/protocol/GnxProtocol.java
+++ b/src/main/java/org/traccar/protocol/GnxProtocol.java
diff --git a/src/org/traccar/protocol/GnxProtocolDecoder.java b/src/main/java/org/traccar/protocol/GnxProtocolDecoder.java
index c9c221a69..c9c221a69 100644
--- a/src/org/traccar/protocol/GnxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GnxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GoSafeProtocol.java b/src/main/java/org/traccar/protocol/GoSafeProtocol.java
index 853b78a16..853b78a16 100644
--- a/src/org/traccar/protocol/GoSafeProtocol.java
+++ b/src/main/java/org/traccar/protocol/GoSafeProtocol.java
diff --git a/src/org/traccar/protocol/GoSafeProtocolDecoder.java b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
index 95ef18f20..95ef18f20 100644
--- a/src/org/traccar/protocol/GoSafeProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GoSafeProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GotopProtocol.java b/src/main/java/org/traccar/protocol/GotopProtocol.java
index 07fe02248..07fe02248 100644
--- a/src/org/traccar/protocol/GotopProtocol.java
+++ b/src/main/java/org/traccar/protocol/GotopProtocol.java
diff --git a/src/org/traccar/protocol/GotopProtocolDecoder.java b/src/main/java/org/traccar/protocol/GotopProtocolDecoder.java
index 2ef975fe5..2ef975fe5 100644
--- a/src/org/traccar/protocol/GotopProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GotopProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gps056FrameDecoder.java b/src/main/java/org/traccar/protocol/Gps056FrameDecoder.java
index 0d84bf231..0d84bf231 100644
--- a/src/org/traccar/protocol/Gps056FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gps056FrameDecoder.java
diff --git a/src/org/traccar/protocol/Gps056Protocol.java b/src/main/java/org/traccar/protocol/Gps056Protocol.java
index b6ab10a19..b6ab10a19 100644
--- a/src/org/traccar/protocol/Gps056Protocol.java
+++ b/src/main/java/org/traccar/protocol/Gps056Protocol.java
diff --git a/src/org/traccar/protocol/Gps056ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gps056ProtocolDecoder.java
index 0ba79bb51..0ba79bb51 100644
--- a/src/org/traccar/protocol/Gps056ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gps056ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gps103Protocol.java b/src/main/java/org/traccar/protocol/Gps103Protocol.java
index 6272a3fd1..6272a3fd1 100644
--- a/src/org/traccar/protocol/Gps103Protocol.java
+++ b/src/main/java/org/traccar/protocol/Gps103Protocol.java
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
index aa02e8ad4..aa02e8ad4 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gps103ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gps103ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java
index 47ef2f333..47ef2f333 100644
--- a/src/org/traccar/protocol/Gps103ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Gps103ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/GpsGateProtocol.java b/src/main/java/org/traccar/protocol/GpsGateProtocol.java
index a131b6f48..a131b6f48 100644
--- a/src/org/traccar/protocol/GpsGateProtocol.java
+++ b/src/main/java/org/traccar/protocol/GpsGateProtocol.java
diff --git a/src/org/traccar/protocol/GpsGateProtocolDecoder.java b/src/main/java/org/traccar/protocol/GpsGateProtocolDecoder.java
index cc187225b..cc187225b 100644
--- a/src/org/traccar/protocol/GpsGateProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GpsGateProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GpsMarkerProtocol.java b/src/main/java/org/traccar/protocol/GpsMarkerProtocol.java
index ad23ece48..ad23ece48 100644
--- a/src/org/traccar/protocol/GpsMarkerProtocol.java
+++ b/src/main/java/org/traccar/protocol/GpsMarkerProtocol.java
diff --git a/src/org/traccar/protocol/GpsMarkerProtocolDecoder.java b/src/main/java/org/traccar/protocol/GpsMarkerProtocolDecoder.java
index bbb2c31e2..bbb2c31e2 100644
--- a/src/org/traccar/protocol/GpsMarkerProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GpsMarkerProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GpsmtaProtocol.java b/src/main/java/org/traccar/protocol/GpsmtaProtocol.java
index ce6cc5929..ce6cc5929 100644
--- a/src/org/traccar/protocol/GpsmtaProtocol.java
+++ b/src/main/java/org/traccar/protocol/GpsmtaProtocol.java
diff --git a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java b/src/main/java/org/traccar/protocol/GpsmtaProtocolDecoder.java
index 31f9401b4..31f9401b4 100644
--- a/src/org/traccar/protocol/GpsmtaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GpsmtaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GranitFrameDecoder.java b/src/main/java/org/traccar/protocol/GranitFrameDecoder.java
index bb7f4be44..bb7f4be44 100644
--- a/src/org/traccar/protocol/GranitFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/GranitFrameDecoder.java
diff --git a/src/org/traccar/protocol/GranitProtocol.java b/src/main/java/org/traccar/protocol/GranitProtocol.java
index 6785f2a2e..6785f2a2e 100644
--- a/src/org/traccar/protocol/GranitProtocol.java
+++ b/src/main/java/org/traccar/protocol/GranitProtocol.java
diff --git a/src/org/traccar/protocol/GranitProtocolDecoder.java b/src/main/java/org/traccar/protocol/GranitProtocolDecoder.java
index 8900e5b39..8900e5b39 100644
--- a/src/org/traccar/protocol/GranitProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/GranitProtocolDecoder.java
diff --git a/src/org/traccar/protocol/GranitProtocolEncoder.java b/src/main/java/org/traccar/protocol/GranitProtocolEncoder.java
index 6345ff971..6345ff971 100644
--- a/src/org/traccar/protocol/GranitProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/GranitProtocolEncoder.java
diff --git a/src/org/traccar/protocol/GranitProtocolSmsEncoder.java b/src/main/java/org/traccar/protocol/GranitProtocolSmsEncoder.java
index 7d5518c17..7d5518c17 100644
--- a/src/org/traccar/protocol/GranitProtocolSmsEncoder.java
+++ b/src/main/java/org/traccar/protocol/GranitProtocolSmsEncoder.java
diff --git a/src/org/traccar/protocol/Gt02Protocol.java b/src/main/java/org/traccar/protocol/Gt02Protocol.java
index f412ee720..f412ee720 100644
--- a/src/org/traccar/protocol/Gt02Protocol.java
+++ b/src/main/java/org/traccar/protocol/Gt02Protocol.java
diff --git a/src/org/traccar/protocol/Gt02ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt02ProtocolDecoder.java
index 78a3fd3ee..78a3fd3ee 100644
--- a/src/org/traccar/protocol/Gt02ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt02ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gt06FrameDecoder.java b/src/main/java/org/traccar/protocol/Gt06FrameDecoder.java
index cc934be42..cc934be42 100644
--- a/src/org/traccar/protocol/Gt06FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06FrameDecoder.java
diff --git a/src/org/traccar/protocol/Gt06Protocol.java b/src/main/java/org/traccar/protocol/Gt06Protocol.java
index 6e5435cd4..6e5435cd4 100644
--- a/src/org/traccar/protocol/Gt06Protocol.java
+++ b/src/main/java/org/traccar/protocol/Gt06Protocol.java
diff --git a/src/org/traccar/protocol/Gt06ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
index 1f8fb66dd..1f8fb66dd 100644
--- a/src/org/traccar/protocol/Gt06ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Gt06ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Gt06ProtocolEncoder.java
index 05560229f..05560229f 100644
--- a/src/org/traccar/protocol/Gt06ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Gt06ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Gt30Protocol.java b/src/main/java/org/traccar/protocol/Gt30Protocol.java
index aa4ad20b1..aa4ad20b1 100644
--- a/src/org/traccar/protocol/Gt30Protocol.java
+++ b/src/main/java/org/traccar/protocol/Gt30Protocol.java
diff --git a/src/org/traccar/protocol/Gt30ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Gt30ProtocolDecoder.java
index abf208a46..abf208a46 100644
--- a/src/org/traccar/protocol/Gt30ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Gt30ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/H02FrameDecoder.java b/src/main/java/org/traccar/protocol/H02FrameDecoder.java
index 583ad599f..583ad599f 100644
--- a/src/org/traccar/protocol/H02FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/H02FrameDecoder.java
diff --git a/src/org/traccar/protocol/H02Protocol.java b/src/main/java/org/traccar/protocol/H02Protocol.java
index 251beac5e..251beac5e 100644
--- a/src/org/traccar/protocol/H02Protocol.java
+++ b/src/main/java/org/traccar/protocol/H02Protocol.java
diff --git a/src/org/traccar/protocol/H02ProtocolDecoder.java b/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java
index c4443a00b..c4443a00b 100644
--- a/src/org/traccar/protocol/H02ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/H02ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/H02ProtocolEncoder.java b/src/main/java/org/traccar/protocol/H02ProtocolEncoder.java
index 614a07dd1..614a07dd1 100644
--- a/src/org/traccar/protocol/H02ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/H02ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/HaicomProtocol.java b/src/main/java/org/traccar/protocol/HaicomProtocol.java
index 6e5760bd4..6e5760bd4 100644
--- a/src/org/traccar/protocol/HaicomProtocol.java
+++ b/src/main/java/org/traccar/protocol/HaicomProtocol.java
diff --git a/src/org/traccar/protocol/HaicomProtocolDecoder.java b/src/main/java/org/traccar/protocol/HaicomProtocolDecoder.java
index dd20f2aeb..dd20f2aeb 100644
--- a/src/org/traccar/protocol/HaicomProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HaicomProtocolDecoder.java
diff --git a/src/org/traccar/protocol/HomtecsProtocol.java b/src/main/java/org/traccar/protocol/HomtecsProtocol.java
index 34dbf0f51..34dbf0f51 100644
--- a/src/org/traccar/protocol/HomtecsProtocol.java
+++ b/src/main/java/org/traccar/protocol/HomtecsProtocol.java
diff --git a/src/org/traccar/protocol/HomtecsProtocolDecoder.java b/src/main/java/org/traccar/protocol/HomtecsProtocolDecoder.java
index a93572b5c..a93572b5c 100644
--- a/src/org/traccar/protocol/HomtecsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HomtecsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/HuaShengFrameDecoder.java b/src/main/java/org/traccar/protocol/HuaShengFrameDecoder.java
index bd52aa9e7..bd52aa9e7 100644
--- a/src/org/traccar/protocol/HuaShengFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuaShengFrameDecoder.java
diff --git a/src/org/traccar/protocol/HuaShengProtocol.java b/src/main/java/org/traccar/protocol/HuaShengProtocol.java
index 103f2d501..103f2d501 100644
--- a/src/org/traccar/protocol/HuaShengProtocol.java
+++ b/src/main/java/org/traccar/protocol/HuaShengProtocol.java
diff --git a/src/org/traccar/protocol/HuaShengProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
index 8a937a194..8a937a194 100644
--- a/src/org/traccar/protocol/HuaShengProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuaShengProtocolDecoder.java
diff --git a/src/org/traccar/protocol/HuabaoFrameDecoder.java b/src/main/java/org/traccar/protocol/HuabaoFrameDecoder.java
index b520f6be9..b520f6be9 100644
--- a/src/org/traccar/protocol/HuabaoFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuabaoFrameDecoder.java
diff --git a/src/org/traccar/protocol/HuabaoProtocol.java b/src/main/java/org/traccar/protocol/HuabaoProtocol.java
index 44c9f7ac7..44c9f7ac7 100644
--- a/src/org/traccar/protocol/HuabaoProtocol.java
+++ b/src/main/java/org/traccar/protocol/HuabaoProtocol.java
diff --git a/src/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
index 6e2e1377b..6e2e1377b 100644
--- a/src/org/traccar/protocol/HuabaoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
diff --git a/src/org/traccar/protocol/HuabaoProtocolEncoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolEncoder.java
index 7759790c4..7759790c4 100644
--- a/src/org/traccar/protocol/HuabaoProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/HuabaoProtocolEncoder.java
diff --git a/src/org/traccar/protocol/HunterProProtocol.java b/src/main/java/org/traccar/protocol/HunterProProtocol.java
index 9f6424a57..9f6424a57 100644
--- a/src/org/traccar/protocol/HunterProProtocol.java
+++ b/src/main/java/org/traccar/protocol/HunterProProtocol.java
diff --git a/src/org/traccar/protocol/HunterProProtocolDecoder.java b/src/main/java/org/traccar/protocol/HunterProProtocolDecoder.java
index 06bc12d59..06bc12d59 100644
--- a/src/org/traccar/protocol/HunterProProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HunterProProtocolDecoder.java
diff --git a/src/org/traccar/protocol/IdplProtocol.java b/src/main/java/org/traccar/protocol/IdplProtocol.java
index 418178756..418178756 100644
--- a/src/org/traccar/protocol/IdplProtocol.java
+++ b/src/main/java/org/traccar/protocol/IdplProtocol.java
diff --git a/src/org/traccar/protocol/IdplProtocolDecoder.java b/src/main/java/org/traccar/protocol/IdplProtocolDecoder.java
index cf3c03d7f..cf3c03d7f 100644
--- a/src/org/traccar/protocol/IdplProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/IdplProtocolDecoder.java
diff --git a/src/org/traccar/protocol/IntellitracFrameDecoder.java b/src/main/java/org/traccar/protocol/IntellitracFrameDecoder.java
index 8322e65ba..8322e65ba 100644
--- a/src/org/traccar/protocol/IntellitracFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/IntellitracFrameDecoder.java
diff --git a/src/org/traccar/protocol/IntellitracProtocol.java b/src/main/java/org/traccar/protocol/IntellitracProtocol.java
index 3abf40da7..3abf40da7 100644
--- a/src/org/traccar/protocol/IntellitracProtocol.java
+++ b/src/main/java/org/traccar/protocol/IntellitracProtocol.java
diff --git a/src/org/traccar/protocol/IntellitracProtocolDecoder.java b/src/main/java/org/traccar/protocol/IntellitracProtocolDecoder.java
index 897606270..897606270 100644
--- a/src/org/traccar/protocol/IntellitracProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/IntellitracProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ItsProtocol.java b/src/main/java/org/traccar/protocol/ItsProtocol.java
index f53600dc9..f53600dc9 100644
--- a/src/org/traccar/protocol/ItsProtocol.java
+++ b/src/main/java/org/traccar/protocol/ItsProtocol.java
diff --git a/src/org/traccar/protocol/ItsProtocolDecoder.java b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
index 482f34e65..482f34e65 100644
--- a/src/org/traccar/protocol/ItsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ItsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Ivt401Protocol.java b/src/main/java/org/traccar/protocol/Ivt401Protocol.java
index fb44e4fe9..fb44e4fe9 100644
--- a/src/org/traccar/protocol/Ivt401Protocol.java
+++ b/src/main/java/org/traccar/protocol/Ivt401Protocol.java
diff --git a/src/org/traccar/protocol/Ivt401ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Ivt401ProtocolDecoder.java
index 63556e7a9..63556e7a9 100644
--- a/src/org/traccar/protocol/Ivt401ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Ivt401ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/JpKorjarFrameDecoder.java b/src/main/java/org/traccar/protocol/JpKorjarFrameDecoder.java
index 0eb65c8ef..0eb65c8ef 100644
--- a/src/org/traccar/protocol/JpKorjarFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/JpKorjarFrameDecoder.java
diff --git a/src/org/traccar/protocol/JpKorjarProtocol.java b/src/main/java/org/traccar/protocol/JpKorjarProtocol.java
index fe5b2480d..fe5b2480d 100644
--- a/src/org/traccar/protocol/JpKorjarProtocol.java
+++ b/src/main/java/org/traccar/protocol/JpKorjarProtocol.java
diff --git a/src/org/traccar/protocol/JpKorjarProtocolDecoder.java b/src/main/java/org/traccar/protocol/JpKorjarProtocolDecoder.java
index a8389d1b1..33026918a 100644
--- a/src/org/traccar/protocol/JpKorjarProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/JpKorjarProtocolDecoder.java
@@ -1,89 +1,89 @@
-/*
- * Copyright 2016 Nyash (nyashh@gmail.com)
- * Copyright 2016 - 2018 Anton Tananaev (anton@traccar.org)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.traccar.protocol;
-
-import io.netty.channel.Channel;
-import org.traccar.BaseProtocolDecoder;
-import org.traccar.DeviceSession;
-import org.traccar.Protocol;
-import org.traccar.helper.Parser;
-import org.traccar.helper.PatternBuilder;
-import org.traccar.model.CellTower;
-import org.traccar.model.Network;
-import org.traccar.model.Position;
-
-import java.net.SocketAddress;
-import java.util.regex.Pattern;
-
-public class JpKorjarProtocolDecoder extends BaseProtocolDecoder {
-
- public JpKorjarProtocolDecoder(Protocol protocol) {
- super(protocol);
- }
-
- private static final Pattern PATTERN = new PatternBuilder()
- .text("KORJAR.PL,")
- .number("(d+),") // imei
- .number("(dd)(dd)(dd)") // date (yymmdd)
- .number("(dd)(dd)(dd),") // time (hhmmss)
- .number("(d+.d+)([NS]),") // latitude
- .number("(d+.d+)([EW]),") // longitude
- .number("(d+.d+),") // speed
- .number("(d+),") // course
- .number("[FL]:(d+.d+)V,") // battery
- .number("([01]) ") // valid
- .number("(d+) ") // mcc
- .number("(d+) ") // mnc
- .number("(x+) ") // lac
- .number("(x+),") // cid
- .compile();
-
- @Override
- protected Object decode(
- Channel channel, SocketAddress remoteAddress, Object msg) throws Exception {
-
- Parser parser = new Parser(PATTERN, (String) msg);
- if (!parser.matches()) {
- return null;
- }
-
- Position position = new Position(getProtocolName());
-
- DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next());
- if (deviceSession == null) {
- return null;
- }
- position.setDeviceId(deviceSession.getDeviceId());
-
- position.setTime(parser.nextDateTime());
-
- position.setLatitude(parser.nextCoordinate(Parser.CoordinateFormat.DEG_HEM));
- position.setLongitude(parser.nextCoordinate(Parser.CoordinateFormat.DEG_HEM));
- position.setSpeed(parser.nextDouble(0));
- position.setCourse(parser.nextDouble(0));
-
- position.set(Position.KEY_BATTERY, parser.nextDouble(0));
-
- position.setValid(parser.nextInt(0) == 1);
-
- position.setNetwork(new Network(CellTower.from(
- parser.nextInt(0), parser.nextInt(0), parser.nextHexInt(0), parser.nextHexInt(0))));
-
- return position;
- }
-
-}
+/*
+ * Copyright 2016 Nyash (nyashh@gmail.com)
+ * Copyright 2016 - 2018 Anton Tananaev (anton@traccar.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.protocol;
+
+import io.netty.channel.Channel;
+import org.traccar.BaseProtocolDecoder;
+import org.traccar.DeviceSession;
+import org.traccar.Protocol;
+import org.traccar.helper.Parser;
+import org.traccar.helper.PatternBuilder;
+import org.traccar.model.CellTower;
+import org.traccar.model.Network;
+import org.traccar.model.Position;
+
+import java.net.SocketAddress;
+import java.util.regex.Pattern;
+
+public class JpKorjarProtocolDecoder extends BaseProtocolDecoder {
+
+ public JpKorjarProtocolDecoder(Protocol protocol) {
+ super(protocol);
+ }
+
+ private static final Pattern PATTERN = new PatternBuilder()
+ .text("KORJAR.PL,")
+ .number("(d+),") // imei
+ .number("(dd)(dd)(dd)") // date (yymmdd)
+ .number("(dd)(dd)(dd),") // time (hhmmss)
+ .number("(d+.d+)([NS]),") // latitude
+ .number("(d+.d+)([EW]),") // longitude
+ .number("(d+.d+),") // speed
+ .number("(d+),") // course
+ .number("[FL]:(d+.d+)V,") // battery
+ .number("([01]) ") // valid
+ .number("(d+) ") // mcc
+ .number("(d+) ") // mnc
+ .number("(x+) ") // lac
+ .number("(x+),") // cid
+ .compile();
+
+ @Override
+ protected Object decode(
+ Channel channel, SocketAddress remoteAddress, Object msg) throws Exception {
+
+ Parser parser = new Parser(PATTERN, (String) msg);
+ if (!parser.matches()) {
+ return null;
+ }
+
+ Position position = new Position(getProtocolName());
+
+ DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next());
+ if (deviceSession == null) {
+ return null;
+ }
+ position.setDeviceId(deviceSession.getDeviceId());
+
+ position.setTime(parser.nextDateTime());
+
+ position.setLatitude(parser.nextCoordinate(Parser.CoordinateFormat.DEG_HEM));
+ position.setLongitude(parser.nextCoordinate(Parser.CoordinateFormat.DEG_HEM));
+ position.setSpeed(parser.nextDouble(0));
+ position.setCourse(parser.nextDouble(0));
+
+ position.set(Position.KEY_BATTERY, parser.nextDouble(0));
+
+ position.setValid(parser.nextInt(0) == 1);
+
+ position.setNetwork(new Network(CellTower.from(
+ parser.nextInt(0), parser.nextInt(0), parser.nextHexInt(0), parser.nextHexInt(0))));
+
+ return position;
+ }
+
+}
diff --git a/src/org/traccar/protocol/Jt600FrameDecoder.java b/src/main/java/org/traccar/protocol/Jt600FrameDecoder.java
index b5d060ecc..b5d060ecc 100644
--- a/src/org/traccar/protocol/Jt600FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Jt600FrameDecoder.java
diff --git a/src/org/traccar/protocol/Jt600Protocol.java b/src/main/java/org/traccar/protocol/Jt600Protocol.java
index 97c5fa6ce..97c5fa6ce 100644
--- a/src/org/traccar/protocol/Jt600Protocol.java
+++ b/src/main/java/org/traccar/protocol/Jt600Protocol.java
diff --git a/src/org/traccar/protocol/Jt600ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Jt600ProtocolDecoder.java
index 1351706e2..1351706e2 100644
--- a/src/org/traccar/protocol/Jt600ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Jt600ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Jt600ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Jt600ProtocolEncoder.java
index fe5c63c32..fe5c63c32 100644
--- a/src/org/traccar/protocol/Jt600ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Jt600ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/KenjiProtocol.java b/src/main/java/org/traccar/protocol/KenjiProtocol.java
index 90c0c511c..90c0c511c 100644
--- a/src/org/traccar/protocol/KenjiProtocol.java
+++ b/src/main/java/org/traccar/protocol/KenjiProtocol.java
diff --git a/src/org/traccar/protocol/KenjiProtocolDecoder.java b/src/main/java/org/traccar/protocol/KenjiProtocolDecoder.java
index 63812242a..63812242a 100644
--- a/src/org/traccar/protocol/KenjiProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/KenjiProtocolDecoder.java
diff --git a/src/org/traccar/protocol/KhdProtocol.java b/src/main/java/org/traccar/protocol/KhdProtocol.java
index cec7158ed..cec7158ed 100644
--- a/src/org/traccar/protocol/KhdProtocol.java
+++ b/src/main/java/org/traccar/protocol/KhdProtocol.java
diff --git a/src/org/traccar/protocol/KhdProtocolDecoder.java b/src/main/java/org/traccar/protocol/KhdProtocolDecoder.java
index 0dd5b085a..0dd5b085a 100644
--- a/src/org/traccar/protocol/KhdProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/KhdProtocolDecoder.java
diff --git a/src/org/traccar/protocol/KhdProtocolEncoder.java b/src/main/java/org/traccar/protocol/KhdProtocolEncoder.java
index c66129283..c66129283 100644
--- a/src/org/traccar/protocol/KhdProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/KhdProtocolEncoder.java
diff --git a/src/org/traccar/protocol/L100FrameDecoder.java b/src/main/java/org/traccar/protocol/L100FrameDecoder.java
index 158461895..158461895 100644
--- a/src/org/traccar/protocol/L100FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/L100FrameDecoder.java
diff --git a/src/org/traccar/protocol/L100Protocol.java b/src/main/java/org/traccar/protocol/L100Protocol.java
index 942029307..942029307 100644
--- a/src/org/traccar/protocol/L100Protocol.java
+++ b/src/main/java/org/traccar/protocol/L100Protocol.java
diff --git a/src/org/traccar/protocol/L100ProtocolDecoder.java b/src/main/java/org/traccar/protocol/L100ProtocolDecoder.java
index 9868de435..9868de435 100644
--- a/src/org/traccar/protocol/L100ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/L100ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/LaipacProtocol.java b/src/main/java/org/traccar/protocol/LaipacProtocol.java
index 923b08a16..923b08a16 100644
--- a/src/org/traccar/protocol/LaipacProtocol.java
+++ b/src/main/java/org/traccar/protocol/LaipacProtocol.java
diff --git a/src/org/traccar/protocol/LaipacProtocolDecoder.java b/src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java
index 2f3cbb1b9..2f3cbb1b9 100644
--- a/src/org/traccar/protocol/LaipacProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/LaipacProtocolDecoder.java
diff --git a/src/org/traccar/protocol/M2cProtocol.java b/src/main/java/org/traccar/protocol/M2cProtocol.java
index 9de8526c3..9de8526c3 100644
--- a/src/org/traccar/protocol/M2cProtocol.java
+++ b/src/main/java/org/traccar/protocol/M2cProtocol.java
diff --git a/src/org/traccar/protocol/M2cProtocolDecoder.java b/src/main/java/org/traccar/protocol/M2cProtocolDecoder.java
index 1460bb176..1460bb176 100644
--- a/src/org/traccar/protocol/M2cProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/M2cProtocolDecoder.java
diff --git a/src/org/traccar/protocol/M2mProtocol.java b/src/main/java/org/traccar/protocol/M2mProtocol.java
index dda328a59..dda328a59 100644
--- a/src/org/traccar/protocol/M2mProtocol.java
+++ b/src/main/java/org/traccar/protocol/M2mProtocol.java
diff --git a/src/org/traccar/protocol/M2mProtocolDecoder.java b/src/main/java/org/traccar/protocol/M2mProtocolDecoder.java
index 21e4a2fd0..21e4a2fd0 100644
--- a/src/org/traccar/protocol/M2mProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/M2mProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MaestroProtocol.java b/src/main/java/org/traccar/protocol/MaestroProtocol.java
index 87453ce7d..87453ce7d 100644
--- a/src/org/traccar/protocol/MaestroProtocol.java
+++ b/src/main/java/org/traccar/protocol/MaestroProtocol.java
diff --git a/src/org/traccar/protocol/MaestroProtocolDecoder.java b/src/main/java/org/traccar/protocol/MaestroProtocolDecoder.java
index 37b097414..37b097414 100644
--- a/src/org/traccar/protocol/MaestroProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MaestroProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ManPowerProtocol.java b/src/main/java/org/traccar/protocol/ManPowerProtocol.java
index 49d8b1e9f..49d8b1e9f 100644
--- a/src/org/traccar/protocol/ManPowerProtocol.java
+++ b/src/main/java/org/traccar/protocol/ManPowerProtocol.java
diff --git a/src/org/traccar/protocol/ManPowerProtocolDecoder.java b/src/main/java/org/traccar/protocol/ManPowerProtocolDecoder.java
index 2c7b7eb40..2c7b7eb40 100644
--- a/src/org/traccar/protocol/ManPowerProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ManPowerProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MegastekFrameDecoder.java b/src/main/java/org/traccar/protocol/MegastekFrameDecoder.java
index 347fa24b1..347fa24b1 100644
--- a/src/org/traccar/protocol/MegastekFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/MegastekFrameDecoder.java
diff --git a/src/org/traccar/protocol/MegastekProtocol.java b/src/main/java/org/traccar/protocol/MegastekProtocol.java
index e9f5f9fde..e9f5f9fde 100644
--- a/src/org/traccar/protocol/MegastekProtocol.java
+++ b/src/main/java/org/traccar/protocol/MegastekProtocol.java
diff --git a/src/org/traccar/protocol/MegastekProtocolDecoder.java b/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java
index d81cc0eda..d81cc0eda 100644
--- a/src/org/traccar/protocol/MegastekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MeiligaoFrameDecoder.java b/src/main/java/org/traccar/protocol/MeiligaoFrameDecoder.java
index 52f9ae26d..52f9ae26d 100644
--- a/src/org/traccar/protocol/MeiligaoFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeiligaoFrameDecoder.java
diff --git a/src/org/traccar/protocol/MeiligaoProtocol.java b/src/main/java/org/traccar/protocol/MeiligaoProtocol.java
index c307c7318..c307c7318 100644
--- a/src/org/traccar/protocol/MeiligaoProtocol.java
+++ b/src/main/java/org/traccar/protocol/MeiligaoProtocol.java
diff --git a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
index cbfc3660a..cbfc3660a 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeiligaoProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MeiligaoProtocolEncoder.java b/src/main/java/org/traccar/protocol/MeiligaoProtocolEncoder.java
index 57cbbe0fc..57cbbe0fc 100644
--- a/src/org/traccar/protocol/MeiligaoProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/MeiligaoProtocolEncoder.java
diff --git a/src/org/traccar/protocol/MeitrackFrameDecoder.java b/src/main/java/org/traccar/protocol/MeitrackFrameDecoder.java
index d122bca0c..d122bca0c 100644
--- a/src/org/traccar/protocol/MeitrackFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackFrameDecoder.java
diff --git a/src/org/traccar/protocol/MeitrackProtocol.java b/src/main/java/org/traccar/protocol/MeitrackProtocol.java
index c887cd3a0..c887cd3a0 100644
--- a/src/org/traccar/protocol/MeitrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocol.java
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
index 55260ef0c..55260ef0c 100644
--- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MeitrackProtocolEncoder.java b/src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java
index abb6ec9d4..abb6ec9d4 100644
--- a/src/org/traccar/protocol/MeitrackProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/MeitrackProtocolEncoder.java
diff --git a/src/org/traccar/protocol/MilesmateProtocol.java b/src/main/java/org/traccar/protocol/MilesmateProtocol.java
index 822711603..822711603 100644
--- a/src/org/traccar/protocol/MilesmateProtocol.java
+++ b/src/main/java/org/traccar/protocol/MilesmateProtocol.java
diff --git a/src/org/traccar/protocol/MilesmateProtocolDecoder.java b/src/main/java/org/traccar/protocol/MilesmateProtocolDecoder.java
index 901ceb8f7..901ceb8f7 100644
--- a/src/org/traccar/protocol/MilesmateProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MilesmateProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MiniFinderProtocol.java b/src/main/java/org/traccar/protocol/MiniFinderProtocol.java
index d4a154053..d4a154053 100644
--- a/src/org/traccar/protocol/MiniFinderProtocol.java
+++ b/src/main/java/org/traccar/protocol/MiniFinderProtocol.java
diff --git a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java b/src/main/java/org/traccar/protocol/MiniFinderProtocolDecoder.java
index 2b7a960c4..2b7a960c4 100644
--- a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MiniFinderProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MiniFinderProtocolEncoder.java b/src/main/java/org/traccar/protocol/MiniFinderProtocolEncoder.java
index 7a3d5b226..7a3d5b226 100644
--- a/src/org/traccar/protocol/MiniFinderProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/MiniFinderProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Mta6Protocol.java b/src/main/java/org/traccar/protocol/Mta6Protocol.java
index 632a7df80..632a7df80 100644
--- a/src/org/traccar/protocol/Mta6Protocol.java
+++ b/src/main/java/org/traccar/protocol/Mta6Protocol.java
diff --git a/src/org/traccar/protocol/Mta6ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Mta6ProtocolDecoder.java
index 88419b871..88419b871 100644
--- a/src/org/traccar/protocol/Mta6ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Mta6ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MtxProtocol.java b/src/main/java/org/traccar/protocol/MtxProtocol.java
index 44372ce83..44372ce83 100644
--- a/src/org/traccar/protocol/MtxProtocol.java
+++ b/src/main/java/org/traccar/protocol/MtxProtocol.java
diff --git a/src/org/traccar/protocol/MtxProtocolDecoder.java b/src/main/java/org/traccar/protocol/MtxProtocolDecoder.java
index d1207bedf..d1207bedf 100644
--- a/src/org/traccar/protocol/MtxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MtxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/MxtFrameDecoder.java b/src/main/java/org/traccar/protocol/MxtFrameDecoder.java
index d70e92da1..d70e92da1 100644
--- a/src/org/traccar/protocol/MxtFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/MxtFrameDecoder.java
diff --git a/src/org/traccar/protocol/MxtProtocol.java b/src/main/java/org/traccar/protocol/MxtProtocol.java
index dbe43fe45..dbe43fe45 100644
--- a/src/org/traccar/protocol/MxtProtocol.java
+++ b/src/main/java/org/traccar/protocol/MxtProtocol.java
diff --git a/src/org/traccar/protocol/MxtProtocolDecoder.java b/src/main/java/org/traccar/protocol/MxtProtocolDecoder.java
index 7bde85f87..7bde85f87 100644
--- a/src/org/traccar/protocol/MxtProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/MxtProtocolDecoder.java
diff --git a/src/org/traccar/protocol/NavigilFrameDecoder.java b/src/main/java/org/traccar/protocol/NavigilFrameDecoder.java
index e8b6bea52..e8b6bea52 100644
--- a/src/org/traccar/protocol/NavigilFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/NavigilFrameDecoder.java
diff --git a/src/org/traccar/protocol/NavigilProtocol.java b/src/main/java/org/traccar/protocol/NavigilProtocol.java
index 2c946c39f..2c946c39f 100644
--- a/src/org/traccar/protocol/NavigilProtocol.java
+++ b/src/main/java/org/traccar/protocol/NavigilProtocol.java
diff --git a/src/org/traccar/protocol/NavigilProtocolDecoder.java b/src/main/java/org/traccar/protocol/NavigilProtocolDecoder.java
index db5521201..db5521201 100644
--- a/src/org/traccar/protocol/NavigilProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NavigilProtocolDecoder.java
diff --git a/src/org/traccar/protocol/NavisFrameDecoder.java b/src/main/java/org/traccar/protocol/NavisFrameDecoder.java
index 8a0bb0b9a..8a0bb0b9a 100644
--- a/src/org/traccar/protocol/NavisFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/NavisFrameDecoder.java
diff --git a/src/org/traccar/protocol/NavisProtocol.java b/src/main/java/org/traccar/protocol/NavisProtocol.java
index d5af6838d..d5af6838d 100644
--- a/src/org/traccar/protocol/NavisProtocol.java
+++ b/src/main/java/org/traccar/protocol/NavisProtocol.java
diff --git a/src/org/traccar/protocol/NavisProtocolDecoder.java b/src/main/java/org/traccar/protocol/NavisProtocolDecoder.java
index 7ba474ae0..7ba474ae0 100644
--- a/src/org/traccar/protocol/NavisProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NavisProtocolDecoder.java
diff --git a/src/org/traccar/protocol/NeosProtocol.java b/src/main/java/org/traccar/protocol/NeosProtocol.java
index e545a9969..e545a9969 100644
--- a/src/org/traccar/protocol/NeosProtocol.java
+++ b/src/main/java/org/traccar/protocol/NeosProtocol.java
diff --git a/src/org/traccar/protocol/NeosProtocolDecoder.java b/src/main/java/org/traccar/protocol/NeosProtocolDecoder.java
index 6b5596dba..6b5596dba 100644
--- a/src/org/traccar/protocol/NeosProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NeosProtocolDecoder.java
diff --git a/src/org/traccar/protocol/NoranProtocol.java b/src/main/java/org/traccar/protocol/NoranProtocol.java
index 9f3078d6d..9f3078d6d 100644
--- a/src/org/traccar/protocol/NoranProtocol.java
+++ b/src/main/java/org/traccar/protocol/NoranProtocol.java
diff --git a/src/org/traccar/protocol/NoranProtocolDecoder.java b/src/main/java/org/traccar/protocol/NoranProtocolDecoder.java
index 53dae7fd6..53dae7fd6 100644
--- a/src/org/traccar/protocol/NoranProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NoranProtocolDecoder.java
diff --git a/src/org/traccar/protocol/NoranProtocolEncoder.java b/src/main/java/org/traccar/protocol/NoranProtocolEncoder.java
index 92826c8b2..92826c8b2 100644
--- a/src/org/traccar/protocol/NoranProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/NoranProtocolEncoder.java
diff --git a/src/org/traccar/protocol/NvsFrameDecoder.java b/src/main/java/org/traccar/protocol/NvsFrameDecoder.java
index e93a58cf6..e93a58cf6 100644
--- a/src/org/traccar/protocol/NvsFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/NvsFrameDecoder.java
diff --git a/src/org/traccar/protocol/NvsProtocol.java b/src/main/java/org/traccar/protocol/NvsProtocol.java
index d319b22f3..d319b22f3 100644
--- a/src/org/traccar/protocol/NvsProtocol.java
+++ b/src/main/java/org/traccar/protocol/NvsProtocol.java
diff --git a/src/org/traccar/protocol/NvsProtocolDecoder.java b/src/main/java/org/traccar/protocol/NvsProtocolDecoder.java
index 5d1159f7d..5d1159f7d 100644
--- a/src/org/traccar/protocol/NvsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NvsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/NyitechProtocol.java b/src/main/java/org/traccar/protocol/NyitechProtocol.java
index 58974be5c..58974be5c 100644
--- a/src/org/traccar/protocol/NyitechProtocol.java
+++ b/src/main/java/org/traccar/protocol/NyitechProtocol.java
diff --git a/src/org/traccar/protocol/NyitechProtocolDecoder.java b/src/main/java/org/traccar/protocol/NyitechProtocolDecoder.java
index e145205f7..e145205f7 100644
--- a/src/org/traccar/protocol/NyitechProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NyitechProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ObdDongleProtocol.java b/src/main/java/org/traccar/protocol/ObdDongleProtocol.java
index 10a55759b..10a55759b 100644
--- a/src/org/traccar/protocol/ObdDongleProtocol.java
+++ b/src/main/java/org/traccar/protocol/ObdDongleProtocol.java
diff --git a/src/org/traccar/protocol/ObdDongleProtocolDecoder.java b/src/main/java/org/traccar/protocol/ObdDongleProtocolDecoder.java
index 1c9771ce9..1c9771ce9 100644
--- a/src/org/traccar/protocol/ObdDongleProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ObdDongleProtocolDecoder.java
diff --git a/src/org/traccar/protocol/OigoProtocol.java b/src/main/java/org/traccar/protocol/OigoProtocol.java
index 5056f68aa..5056f68aa 100644
--- a/src/org/traccar/protocol/OigoProtocol.java
+++ b/src/main/java/org/traccar/protocol/OigoProtocol.java
diff --git a/src/org/traccar/protocol/OigoProtocolDecoder.java b/src/main/java/org/traccar/protocol/OigoProtocolDecoder.java
index b9cc71e8c..b9cc71e8c 100644
--- a/src/org/traccar/protocol/OigoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/OigoProtocolDecoder.java
diff --git a/src/org/traccar/protocol/OkoProtocol.java b/src/main/java/org/traccar/protocol/OkoProtocol.java
index 9571ccc48..9571ccc48 100644
--- a/src/org/traccar/protocol/OkoProtocol.java
+++ b/src/main/java/org/traccar/protocol/OkoProtocol.java
diff --git a/src/org/traccar/protocol/OkoProtocolDecoder.java b/src/main/java/org/traccar/protocol/OkoProtocolDecoder.java
index 5adf61494..5adf61494 100644
--- a/src/org/traccar/protocol/OkoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/OkoProtocolDecoder.java
diff --git a/src/org/traccar/protocol/OpenGtsProtocol.java b/src/main/java/org/traccar/protocol/OpenGtsProtocol.java
index 5ef3260c6..5ef3260c6 100644
--- a/src/org/traccar/protocol/OpenGtsProtocol.java
+++ b/src/main/java/org/traccar/protocol/OpenGtsProtocol.java
diff --git a/src/org/traccar/protocol/OpenGtsProtocolDecoder.java b/src/main/java/org/traccar/protocol/OpenGtsProtocolDecoder.java
index b76cbfa85..b76cbfa85 100644
--- a/src/org/traccar/protocol/OpenGtsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/OpenGtsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/OrionFrameDecoder.java b/src/main/java/org/traccar/protocol/OrionFrameDecoder.java
index 948806609..948806609 100644
--- a/src/org/traccar/protocol/OrionFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/OrionFrameDecoder.java
diff --git a/src/org/traccar/protocol/OrionProtocol.java b/src/main/java/org/traccar/protocol/OrionProtocol.java
index 8485ae638..8485ae638 100644
--- a/src/org/traccar/protocol/OrionProtocol.java
+++ b/src/main/java/org/traccar/protocol/OrionProtocol.java
diff --git a/src/org/traccar/protocol/OrionProtocolDecoder.java b/src/main/java/org/traccar/protocol/OrionProtocolDecoder.java
index af819989e..af819989e 100644
--- a/src/org/traccar/protocol/OrionProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/OrionProtocolDecoder.java
diff --git a/src/org/traccar/protocol/OsmAndProtocol.java b/src/main/java/org/traccar/protocol/OsmAndProtocol.java
index d3aa2fd6f..d3aa2fd6f 100644
--- a/src/org/traccar/protocol/OsmAndProtocol.java
+++ b/src/main/java/org/traccar/protocol/OsmAndProtocol.java
diff --git a/src/org/traccar/protocol/OsmAndProtocolDecoder.java b/src/main/java/org/traccar/protocol/OsmAndProtocolDecoder.java
index 3bc71de81..3bc71de81 100644
--- a/src/org/traccar/protocol/OsmAndProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/OsmAndProtocolDecoder.java
diff --git a/src/org/traccar/protocol/OwnTracksProtocol.java b/src/main/java/org/traccar/protocol/OwnTracksProtocol.java
index 0086371d8..0086371d8 100644
--- a/src/org/traccar/protocol/OwnTracksProtocol.java
+++ b/src/main/java/org/traccar/protocol/OwnTracksProtocol.java
diff --git a/src/org/traccar/protocol/OwnTracksProtocolDecoder.java b/src/main/java/org/traccar/protocol/OwnTracksProtocolDecoder.java
index 323d97fa3..323d97fa3 100644
--- a/src/org/traccar/protocol/OwnTracksProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/OwnTracksProtocolDecoder.java
diff --git a/src/org/traccar/protocol/PathAwayProtocol.java b/src/main/java/org/traccar/protocol/PathAwayProtocol.java
index 6b5d75c5e..6b5d75c5e 100644
--- a/src/org/traccar/protocol/PathAwayProtocol.java
+++ b/src/main/java/org/traccar/protocol/PathAwayProtocol.java
diff --git a/src/org/traccar/protocol/PathAwayProtocolDecoder.java b/src/main/java/org/traccar/protocol/PathAwayProtocolDecoder.java
index 02a15e34a..02a15e34a 100644
--- a/src/org/traccar/protocol/PathAwayProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/PathAwayProtocolDecoder.java
diff --git a/src/org/traccar/protocol/PiligrimProtocol.java b/src/main/java/org/traccar/protocol/PiligrimProtocol.java
index d88c1ab72..d88c1ab72 100644
--- a/src/org/traccar/protocol/PiligrimProtocol.java
+++ b/src/main/java/org/traccar/protocol/PiligrimProtocol.java
diff --git a/src/org/traccar/protocol/PiligrimProtocolDecoder.java b/src/main/java/org/traccar/protocol/PiligrimProtocolDecoder.java
index 47aa86da7..47aa86da7 100644
--- a/src/org/traccar/protocol/PiligrimProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/PiligrimProtocolDecoder.java
diff --git a/src/org/traccar/protocol/PretraceProtocol.java b/src/main/java/org/traccar/protocol/PretraceProtocol.java
index f753cbdb4..f753cbdb4 100644
--- a/src/org/traccar/protocol/PretraceProtocol.java
+++ b/src/main/java/org/traccar/protocol/PretraceProtocol.java
diff --git a/src/org/traccar/protocol/PretraceProtocolDecoder.java b/src/main/java/org/traccar/protocol/PretraceProtocolDecoder.java
index a19384e62..a19384e62 100644
--- a/src/org/traccar/protocol/PretraceProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/PretraceProtocolDecoder.java
diff --git a/src/org/traccar/protocol/PretraceProtocolEncoder.java b/src/main/java/org/traccar/protocol/PretraceProtocolEncoder.java
index 9cf951e3b..9cf951e3b 100644
--- a/src/org/traccar/protocol/PretraceProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/PretraceProtocolEncoder.java
diff --git a/src/org/traccar/protocol/PricolProtocol.java b/src/main/java/org/traccar/protocol/PricolProtocol.java
index 6821cd949..6821cd949 100644
--- a/src/org/traccar/protocol/PricolProtocol.java
+++ b/src/main/java/org/traccar/protocol/PricolProtocol.java
diff --git a/src/org/traccar/protocol/PricolProtocolDecoder.java b/src/main/java/org/traccar/protocol/PricolProtocolDecoder.java
index 190c68258..190c68258 100644
--- a/src/org/traccar/protocol/PricolProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/PricolProtocolDecoder.java
diff --git a/src/org/traccar/protocol/ProgressProtocol.java b/src/main/java/org/traccar/protocol/ProgressProtocol.java
index aac84205d..aac84205d 100644
--- a/src/org/traccar/protocol/ProgressProtocol.java
+++ b/src/main/java/org/traccar/protocol/ProgressProtocol.java
diff --git a/src/org/traccar/protocol/ProgressProtocolDecoder.java b/src/main/java/org/traccar/protocol/ProgressProtocolDecoder.java
index 0025cd9e7..0025cd9e7 100644
--- a/src/org/traccar/protocol/ProgressProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ProgressProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Pt3000Protocol.java b/src/main/java/org/traccar/protocol/Pt3000Protocol.java
index 1ad0026a3..1ad0026a3 100644
--- a/src/org/traccar/protocol/Pt3000Protocol.java
+++ b/src/main/java/org/traccar/protocol/Pt3000Protocol.java
diff --git a/src/org/traccar/protocol/Pt3000ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Pt3000ProtocolDecoder.java
index e7f9e062a..e7f9e062a 100644
--- a/src/org/traccar/protocol/Pt3000ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Pt3000ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Pt502FrameDecoder.java b/src/main/java/org/traccar/protocol/Pt502FrameDecoder.java
index 316cd987f..316cd987f 100644
--- a/src/org/traccar/protocol/Pt502FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Pt502FrameDecoder.java
diff --git a/src/org/traccar/protocol/Pt502Protocol.java b/src/main/java/org/traccar/protocol/Pt502Protocol.java
index 5afb9451d..5afb9451d 100644
--- a/src/org/traccar/protocol/Pt502Protocol.java
+++ b/src/main/java/org/traccar/protocol/Pt502Protocol.java
diff --git a/src/org/traccar/protocol/Pt502ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Pt502ProtocolDecoder.java
index 12210652b..0afec67ad 100644
--- a/src/org/traccar/protocol/Pt502ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Pt502ProtocolDecoder.java
@@ -1,212 +1,212 @@
-/*
- * Copyright 2012 - 2018 Anton Tananaev (anton@traccar.org)
- * Copyright 2012 Luis Parada (luis.parada@gmail.com)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.traccar.protocol;
-
-import io.netty.buffer.ByteBuf;
-import io.netty.buffer.Unpooled;
-import io.netty.channel.Channel;
-import org.traccar.BaseProtocolDecoder;
-import org.traccar.Context;
-import org.traccar.DeviceSession;
-import org.traccar.NetworkMessage;
-import org.traccar.Protocol;
-import org.traccar.helper.DateBuilder;
-import org.traccar.helper.Parser;
-import org.traccar.helper.PatternBuilder;
-import org.traccar.model.Position;
-
-import java.net.SocketAddress;
-import java.nio.charset.StandardCharsets;
-import java.util.regex.Pattern;
-
-public class Pt502ProtocolDecoder extends BaseProtocolDecoder {
-
- private static final int MAX_CHUNK_SIZE = 960;
-
- private ByteBuf photo;
-
- public Pt502ProtocolDecoder(Protocol protocol) {
- super(protocol);
- }
-
- private static final Pattern PATTERN = new PatternBuilder()
- .any().text("$")
- .expression("([^,]+),") // type
- .number("(d+),") // id
- .number("(dd)(dd)(dd).(ddd),") // time (hhmmss.sss)
- .expression("([AV]),") // validity
- .number("(d+)(dd.dddd),") // latitude
- .expression("([NS]),")
- .number("(d+)(dd.dddd),") // longitude
- .expression("([EW]),")
- .number("(d+.d+)?,") // speed
- .number("(d+.d+)?,") // course
- .number("(dd)(dd)(dd),,,") // date (ddmmyy)
- .expression("./")
- .expression("([01])+,") // input
- .expression("([01])+/") // output
- .expression("([^/]+)?/") // adc
- .number("(d+)") // odometer
- .expression("/([^/]+)?/") // rfid
- .number("(xxx)").optional(2) // state
- .any()
- .compile();
-
- private String decodeAlarm(String value) {
- switch (value) {
- case "IN1":
- return Position.ALARM_SOS;
- case "GOF":
- return Position.ALARM_GEOFENCE;
- case "TOW":
- return Position.ALARM_TOW;
- case "HDA":
- return Position.ALARM_ACCELERATION;
- case "HDB":
- return Position.ALARM_BRAKING;
- case "FDA":
- return Position.ALARM_FATIGUE_DRIVING;
- case "SKA":
- return Position.ALARM_VIBRATION;
- case "PMA":
- return Position.ALARM_MOVEMENT;
- case "CPA":
- return Position.ALARM_POWER_CUT;
- default:
- return null;
- }
- }
-
- private Position decodePosition(Channel channel, SocketAddress remoteAddress, String sentence) {
-
- Parser parser = new Parser(PATTERN, sentence);
- if (!parser.matches()) {
- return null;
- }
-
- Position position = new Position(getProtocolName());
- position.set(Position.KEY_ALARM, decodeAlarm(parser.next()));
-
- DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next());
- if (deviceSession == null) {
- return null;
- }
- position.setDeviceId(deviceSession.getDeviceId());
-
- DateBuilder dateBuilder = new DateBuilder()
- .setTime(parser.nextInt(0), parser.nextInt(0), parser.nextInt(0), parser.nextInt(0));
-
- position.setValid(parser.next().equals("A"));
- position.setLatitude(parser.nextCoordinate());
- position.setLongitude(parser.nextCoordinate());
- position.setSpeed(parser.nextDouble(0));
- position.setCourse(parser.nextDouble(0));
-
- dateBuilder.setDateReverse(parser.nextInt(0), parser.nextInt(0), parser.nextInt(0));
- position.setTime(dateBuilder.getDate());
-
- position.set(Position.KEY_INPUT, parser.next());
- position.set(Position.KEY_OUTPUT, parser.next());
-
- if (parser.hasNext()) {
- String[] values = parser.next().split(",");
- for (int i = 0; i < values.length; i++) {
- position.set(Position.PREFIX_ADC + (i + 1), Integer.parseInt(values[i], 16));
- }
- }
-
- position.set(Position.KEY_ODOMETER, parser.nextInt(0));
- position.set(Position.KEY_DRIVER_UNIQUE_ID, parser.next());
-
- if (parser.hasNext()) {
- int value = parser.nextHexInt(0);
- position.set(Position.KEY_BATTERY, value >> 8);
- position.set(Position.KEY_RSSI, (value >> 4) & 0xf);
- position.set(Position.KEY_SATELLITES, value & 0xf);
- }
-
- return position;
- }
-
- private void requestPhotoFragment(Channel channel) {
- if (channel != null) {
- int offset = photo.writerIndex();
- int size = Math.min(photo.writableBytes(), MAX_CHUNK_SIZE);
- channel.writeAndFlush(new NetworkMessage("#PHD" + offset + "," + size + "\r\n", channel.remoteAddress()));
- }
- }
-
- @Override
- protected Object decode(
- Channel channel, SocketAddress remoteAddress, Object msg) throws Exception {
-
- ByteBuf buf = (ByteBuf) msg;
-
- int typeEndIndex = buf.indexOf(buf.readerIndex(), buf.writerIndex(), (byte) ',');
- String type = buf.toString(buf.readerIndex(), typeEndIndex - buf.readerIndex(), StandardCharsets.US_ASCII);
-
- if (type.startsWith("$PHD")) {
-
- int dataIndex = buf.indexOf(typeEndIndex + 1, buf.writerIndex(), (byte) ',') + 1;
- buf.readerIndex(dataIndex);
-
- if (photo != null) {
-
- photo.writeBytes(buf.readSlice(buf.readableBytes()));
-
- if (photo.writableBytes() > 0) {
-
- requestPhotoFragment(channel);
-
- } else {
-
- DeviceSession deviceSession = getDeviceSession(channel, remoteAddress);
- String uniqueId = Context.getIdentityManager().getById(deviceSession.getDeviceId()).getUniqueId();
-
- Position position = new Position(getProtocolName());
- position.setDeviceId(deviceSession.getDeviceId());
-
- getLastLocation(position, null);
-
- position.set(Position.KEY_IMAGE, Context.getMediaManager().writeFile(uniqueId, photo, "jpg"));
- photo.release();
- photo = null;
-
- return position;
-
- }
-
- }
-
- } else {
-
- if (type.startsWith("$PHO")) {
- int size = Integer.parseInt(type.split("-")[0].substring(4));
- if (size > 0) {
- photo = Unpooled.buffer(size);
- requestPhotoFragment(channel);
- }
- }
-
- return decodePosition(channel, remoteAddress, buf.toString(StandardCharsets.US_ASCII));
-
- }
-
- return null;
- }
-
-}
+/*
+ * Copyright 2012 - 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2012 Luis Parada (luis.parada@gmail.com)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.protocol;
+
+import io.netty.buffer.ByteBuf;
+import io.netty.buffer.Unpooled;
+import io.netty.channel.Channel;
+import org.traccar.BaseProtocolDecoder;
+import org.traccar.Context;
+import org.traccar.DeviceSession;
+import org.traccar.NetworkMessage;
+import org.traccar.Protocol;
+import org.traccar.helper.DateBuilder;
+import org.traccar.helper.Parser;
+import org.traccar.helper.PatternBuilder;
+import org.traccar.model.Position;
+
+import java.net.SocketAddress;
+import java.nio.charset.StandardCharsets;
+import java.util.regex.Pattern;
+
+public class Pt502ProtocolDecoder extends BaseProtocolDecoder {
+
+ private static final int MAX_CHUNK_SIZE = 960;
+
+ private ByteBuf photo;
+
+ public Pt502ProtocolDecoder(Protocol protocol) {
+ super(protocol);
+ }
+
+ private static final Pattern PATTERN = new PatternBuilder()
+ .any().text("$")
+ .expression("([^,]+),") // type
+ .number("(d+),") // id
+ .number("(dd)(dd)(dd).(ddd),") // time (hhmmss.sss)
+ .expression("([AV]),") // validity
+ .number("(d+)(dd.dddd),") // latitude
+ .expression("([NS]),")
+ .number("(d+)(dd.dddd),") // longitude
+ .expression("([EW]),")
+ .number("(d+.d+)?,") // speed
+ .number("(d+.d+)?,") // course
+ .number("(dd)(dd)(dd),,,") // date (ddmmyy)
+ .expression("./")
+ .expression("([01])+,") // input
+ .expression("([01])+/") // output
+ .expression("([^/]+)?/") // adc
+ .number("(d+)") // odometer
+ .expression("/([^/]+)?/") // rfid
+ .number("(xxx)").optional(2) // state
+ .any()
+ .compile();
+
+ private String decodeAlarm(String value) {
+ switch (value) {
+ case "IN1":
+ return Position.ALARM_SOS;
+ case "GOF":
+ return Position.ALARM_GEOFENCE;
+ case "TOW":
+ return Position.ALARM_TOW;
+ case "HDA":
+ return Position.ALARM_ACCELERATION;
+ case "HDB":
+ return Position.ALARM_BRAKING;
+ case "FDA":
+ return Position.ALARM_FATIGUE_DRIVING;
+ case "SKA":
+ return Position.ALARM_VIBRATION;
+ case "PMA":
+ return Position.ALARM_MOVEMENT;
+ case "CPA":
+ return Position.ALARM_POWER_CUT;
+ default:
+ return null;
+ }
+ }
+
+ private Position decodePosition(Channel channel, SocketAddress remoteAddress, String sentence) {
+
+ Parser parser = new Parser(PATTERN, sentence);
+ if (!parser.matches()) {
+ return null;
+ }
+
+ Position position = new Position(getProtocolName());
+ position.set(Position.KEY_ALARM, decodeAlarm(parser.next()));
+
+ DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next());
+ if (deviceSession == null) {
+ return null;
+ }
+ position.setDeviceId(deviceSession.getDeviceId());
+
+ DateBuilder dateBuilder = new DateBuilder()
+ .setTime(parser.nextInt(0), parser.nextInt(0), parser.nextInt(0), parser.nextInt(0));
+
+ position.setValid(parser.next().equals("A"));
+ position.setLatitude(parser.nextCoordinate());
+ position.setLongitude(parser.nextCoordinate());
+ position.setSpeed(parser.nextDouble(0));
+ position.setCourse(parser.nextDouble(0));
+
+ dateBuilder.setDateReverse(parser.nextInt(0), parser.nextInt(0), parser.nextInt(0));
+ position.setTime(dateBuilder.getDate());
+
+ position.set(Position.KEY_INPUT, parser.next());
+ position.set(Position.KEY_OUTPUT, parser.next());
+
+ if (parser.hasNext()) {
+ String[] values = parser.next().split(",");
+ for (int i = 0; i < values.length; i++) {
+ position.set(Position.PREFIX_ADC + (i + 1), Integer.parseInt(values[i], 16));
+ }
+ }
+
+ position.set(Position.KEY_ODOMETER, parser.nextInt(0));
+ position.set(Position.KEY_DRIVER_UNIQUE_ID, parser.next());
+
+ if (parser.hasNext()) {
+ int value = parser.nextHexInt(0);
+ position.set(Position.KEY_BATTERY, value >> 8);
+ position.set(Position.KEY_RSSI, (value >> 4) & 0xf);
+ position.set(Position.KEY_SATELLITES, value & 0xf);
+ }
+
+ return position;
+ }
+
+ private void requestPhotoFragment(Channel channel) {
+ if (channel != null) {
+ int offset = photo.writerIndex();
+ int size = Math.min(photo.writableBytes(), MAX_CHUNK_SIZE);
+ channel.writeAndFlush(new NetworkMessage("#PHD" + offset + "," + size + "\r\n", channel.remoteAddress()));
+ }
+ }
+
+ @Override
+ protected Object decode(
+ Channel channel, SocketAddress remoteAddress, Object msg) throws Exception {
+
+ ByteBuf buf = (ByteBuf) msg;
+
+ int typeEndIndex = buf.indexOf(buf.readerIndex(), buf.writerIndex(), (byte) ',');
+ String type = buf.toString(buf.readerIndex(), typeEndIndex - buf.readerIndex(), StandardCharsets.US_ASCII);
+
+ if (type.startsWith("$PHD")) {
+
+ int dataIndex = buf.indexOf(typeEndIndex + 1, buf.writerIndex(), (byte) ',') + 1;
+ buf.readerIndex(dataIndex);
+
+ if (photo != null) {
+
+ photo.writeBytes(buf.readSlice(buf.readableBytes()));
+
+ if (photo.writableBytes() > 0) {
+
+ requestPhotoFragment(channel);
+
+ } else {
+
+ DeviceSession deviceSession = getDeviceSession(channel, remoteAddress);
+ String uniqueId = Context.getIdentityManager().getById(deviceSession.getDeviceId()).getUniqueId();
+
+ Position position = new Position(getProtocolName());
+ position.setDeviceId(deviceSession.getDeviceId());
+
+ getLastLocation(position, null);
+
+ position.set(Position.KEY_IMAGE, Context.getMediaManager().writeFile(uniqueId, photo, "jpg"));
+ photo.release();
+ photo = null;
+
+ return position;
+
+ }
+
+ }
+
+ } else {
+
+ if (type.startsWith("$PHO")) {
+ int size = Integer.parseInt(type.split("-")[0].substring(4));
+ if (size > 0) {
+ photo = Unpooled.buffer(size);
+ requestPhotoFragment(channel);
+ }
+ }
+
+ return decodePosition(channel, remoteAddress, buf.toString(StandardCharsets.US_ASCII));
+
+ }
+
+ return null;
+ }
+
+}
diff --git a/src/org/traccar/protocol/Pt502ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Pt502ProtocolEncoder.java
index ed18208cc..ed18208cc 100644
--- a/src/org/traccar/protocol/Pt502ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Pt502ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Pt60Protocol.java b/src/main/java/org/traccar/protocol/Pt60Protocol.java
index c502426c5..c502426c5 100644
--- a/src/org/traccar/protocol/Pt60Protocol.java
+++ b/src/main/java/org/traccar/protocol/Pt60Protocol.java
diff --git a/src/org/traccar/protocol/Pt60ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Pt60ProtocolDecoder.java
index 6a3fe2734..6a3fe2734 100644
--- a/src/org/traccar/protocol/Pt60ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Pt60ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/RaveonProtocol.java b/src/main/java/org/traccar/protocol/RaveonProtocol.java
index 44faadb3b..44faadb3b 100644
--- a/src/org/traccar/protocol/RaveonProtocol.java
+++ b/src/main/java/org/traccar/protocol/RaveonProtocol.java
diff --git a/src/org/traccar/protocol/RaveonProtocolDecoder.java b/src/main/java/org/traccar/protocol/RaveonProtocolDecoder.java
index 50acd20a1..50acd20a1 100644
--- a/src/org/traccar/protocol/RaveonProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RaveonProtocolDecoder.java
diff --git a/src/org/traccar/protocol/RecodaProtocol.java b/src/main/java/org/traccar/protocol/RecodaProtocol.java
index 0bc9870bc..0bc9870bc 100644
--- a/src/org/traccar/protocol/RecodaProtocol.java
+++ b/src/main/java/org/traccar/protocol/RecodaProtocol.java
diff --git a/src/org/traccar/protocol/RecodaProtocolDecoder.java b/src/main/java/org/traccar/protocol/RecodaProtocolDecoder.java
index 04098225f..04098225f 100644
--- a/src/org/traccar/protocol/RecodaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RecodaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/RetranslatorFrameDecoder.java b/src/main/java/org/traccar/protocol/RetranslatorFrameDecoder.java
index 4edd09418..4edd09418 100644
--- a/src/org/traccar/protocol/RetranslatorFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/RetranslatorFrameDecoder.java
diff --git a/src/org/traccar/protocol/RetranslatorProtocol.java b/src/main/java/org/traccar/protocol/RetranslatorProtocol.java
index fae81f7d2..fae81f7d2 100644
--- a/src/org/traccar/protocol/RetranslatorProtocol.java
+++ b/src/main/java/org/traccar/protocol/RetranslatorProtocol.java
diff --git a/src/org/traccar/protocol/RetranslatorProtocolDecoder.java b/src/main/java/org/traccar/protocol/RetranslatorProtocolDecoder.java
index 0688c9b0e..0688c9b0e 100644
--- a/src/org/traccar/protocol/RetranslatorProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RetranslatorProtocolDecoder.java
diff --git a/src/org/traccar/protocol/RitiProtocol.java b/src/main/java/org/traccar/protocol/RitiProtocol.java
index de1026672..de1026672 100644
--- a/src/org/traccar/protocol/RitiProtocol.java
+++ b/src/main/java/org/traccar/protocol/RitiProtocol.java
diff --git a/src/org/traccar/protocol/RitiProtocolDecoder.java b/src/main/java/org/traccar/protocol/RitiProtocolDecoder.java
index 46267ca90..46267ca90 100644
--- a/src/org/traccar/protocol/RitiProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RitiProtocolDecoder.java
diff --git a/src/org/traccar/protocol/RoboTrackFrameDecoder.java b/src/main/java/org/traccar/protocol/RoboTrackFrameDecoder.java
index 85ed6c76f..85ed6c76f 100644
--- a/src/org/traccar/protocol/RoboTrackFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/RoboTrackFrameDecoder.java
diff --git a/src/org/traccar/protocol/RoboTrackProtocol.java b/src/main/java/org/traccar/protocol/RoboTrackProtocol.java
index c2c531293..c2c531293 100644
--- a/src/org/traccar/protocol/RoboTrackProtocol.java
+++ b/src/main/java/org/traccar/protocol/RoboTrackProtocol.java
diff --git a/src/org/traccar/protocol/RoboTrackProtocolDecoder.java b/src/main/java/org/traccar/protocol/RoboTrackProtocolDecoder.java
index b613f31d7..b613f31d7 100644
--- a/src/org/traccar/protocol/RoboTrackProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RoboTrackProtocolDecoder.java
diff --git a/src/org/traccar/protocol/RuptelaProtocol.java b/src/main/java/org/traccar/protocol/RuptelaProtocol.java
index 1ac62570a..1ac62570a 100644
--- a/src/org/traccar/protocol/RuptelaProtocol.java
+++ b/src/main/java/org/traccar/protocol/RuptelaProtocol.java
diff --git a/src/org/traccar/protocol/RuptelaProtocolDecoder.java b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
index b043b6201..b043b6201 100644
--- a/src/org/traccar/protocol/RuptelaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/RuptelaProtocolEncoder.java b/src/main/java/org/traccar/protocol/RuptelaProtocolEncoder.java
index 4242584c9..4242584c9 100644
--- a/src/org/traccar/protocol/RuptelaProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/RuptelaProtocolEncoder.java
diff --git a/src/org/traccar/protocol/SabertekFrameDecoder.java b/src/main/java/org/traccar/protocol/SabertekFrameDecoder.java
index ad5000bf8..ad5000bf8 100644
--- a/src/org/traccar/protocol/SabertekFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/SabertekFrameDecoder.java
diff --git a/src/org/traccar/protocol/SabertekProtocol.java b/src/main/java/org/traccar/protocol/SabertekProtocol.java
index 0ec847b60..0ec847b60 100644
--- a/src/org/traccar/protocol/SabertekProtocol.java
+++ b/src/main/java/org/traccar/protocol/SabertekProtocol.java
diff --git a/src/org/traccar/protocol/SabertekProtocolDecoder.java b/src/main/java/org/traccar/protocol/SabertekProtocolDecoder.java
index 3033aa2cc..3033aa2cc 100644
--- a/src/org/traccar/protocol/SabertekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SabertekProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SanavProtocol.java b/src/main/java/org/traccar/protocol/SanavProtocol.java
index 6799c57e6..6799c57e6 100644
--- a/src/org/traccar/protocol/SanavProtocol.java
+++ b/src/main/java/org/traccar/protocol/SanavProtocol.java
diff --git a/src/org/traccar/protocol/SanavProtocolDecoder.java b/src/main/java/org/traccar/protocol/SanavProtocolDecoder.java
index 7e1c158e6..7e1c158e6 100644
--- a/src/org/traccar/protocol/SanavProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SanavProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SatsolProtocol.java b/src/main/java/org/traccar/protocol/SatsolProtocol.java
index b69fdd1fe..b69fdd1fe 100644
--- a/src/org/traccar/protocol/SatsolProtocol.java
+++ b/src/main/java/org/traccar/protocol/SatsolProtocol.java
diff --git a/src/org/traccar/protocol/SatsolProtocolDecoder.java b/src/main/java/org/traccar/protocol/SatsolProtocolDecoder.java
index c457d5620..c457d5620 100644
--- a/src/org/traccar/protocol/SatsolProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SatsolProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SigfoxProtocol.java b/src/main/java/org/traccar/protocol/SigfoxProtocol.java
index e2f2cbe1f..e2f2cbe1f 100644
--- a/src/org/traccar/protocol/SigfoxProtocol.java
+++ b/src/main/java/org/traccar/protocol/SigfoxProtocol.java
diff --git a/src/org/traccar/protocol/SigfoxProtocolDecoder.java b/src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java
index d7836b35d..d7836b35d 100644
--- a/src/org/traccar/protocol/SigfoxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SigfoxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SiwiProtocol.java b/src/main/java/org/traccar/protocol/SiwiProtocol.java
index 8963721c8..8963721c8 100644
--- a/src/org/traccar/protocol/SiwiProtocol.java
+++ b/src/main/java/org/traccar/protocol/SiwiProtocol.java
diff --git a/src/org/traccar/protocol/SiwiProtocolDecoder.java b/src/main/java/org/traccar/protocol/SiwiProtocolDecoder.java
index 6b97f5fe0..6b97f5fe0 100644
--- a/src/org/traccar/protocol/SiwiProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SiwiProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SkypatrolProtocol.java b/src/main/java/org/traccar/protocol/SkypatrolProtocol.java
index 7c6203d86..7c6203d86 100644
--- a/src/org/traccar/protocol/SkypatrolProtocol.java
+++ b/src/main/java/org/traccar/protocol/SkypatrolProtocol.java
diff --git a/src/org/traccar/protocol/SkypatrolProtocolDecoder.java b/src/main/java/org/traccar/protocol/SkypatrolProtocolDecoder.java
index 3c7ca6dc5..3c7ca6dc5 100644
--- a/src/org/traccar/protocol/SkypatrolProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SkypatrolProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SmartSoleProtocol.java b/src/main/java/org/traccar/protocol/SmartSoleProtocol.java
index bcf43f68b..bcf43f68b 100644
--- a/src/org/traccar/protocol/SmartSoleProtocol.java
+++ b/src/main/java/org/traccar/protocol/SmartSoleProtocol.java
diff --git a/src/org/traccar/protocol/SmartSoleProtocolDecoder.java b/src/main/java/org/traccar/protocol/SmartSoleProtocolDecoder.java
index 04920c969..04920c969 100644
--- a/src/org/traccar/protocol/SmartSoleProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SmartSoleProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SmokeyProtocol.java b/src/main/java/org/traccar/protocol/SmokeyProtocol.java
index 482c8347c..482c8347c 100644
--- a/src/org/traccar/protocol/SmokeyProtocol.java
+++ b/src/main/java/org/traccar/protocol/SmokeyProtocol.java
diff --git a/src/org/traccar/protocol/SmokeyProtocolDecoder.java b/src/main/java/org/traccar/protocol/SmokeyProtocolDecoder.java
index 9da52e97a..9da52e97a 100644
--- a/src/org/traccar/protocol/SmokeyProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SmokeyProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SpotProtocol.java b/src/main/java/org/traccar/protocol/SpotProtocol.java
index bbf0e8d8a..bbf0e8d8a 100644
--- a/src/org/traccar/protocol/SpotProtocol.java
+++ b/src/main/java/org/traccar/protocol/SpotProtocol.java
diff --git a/src/org/traccar/protocol/SpotProtocolDecoder.java b/src/main/java/org/traccar/protocol/SpotProtocolDecoder.java
index da36c2048..da36c2048 100644
--- a/src/org/traccar/protocol/SpotProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SpotProtocolDecoder.java
diff --git a/src/org/traccar/protocol/StarLinkProtocol.java b/src/main/java/org/traccar/protocol/StarLinkProtocol.java
index 5630722ee..5630722ee 100644
--- a/src/org/traccar/protocol/StarLinkProtocol.java
+++ b/src/main/java/org/traccar/protocol/StarLinkProtocol.java
diff --git a/src/org/traccar/protocol/StarLinkProtocolDecoder.java b/src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java
index ed5f81c1c..ed5f81c1c 100644
--- a/src/org/traccar/protocol/StarLinkProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/StarLinkProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Stl060FrameDecoder.java b/src/main/java/org/traccar/protocol/Stl060FrameDecoder.java
index f72474e2b..f72474e2b 100644
--- a/src/org/traccar/protocol/Stl060FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Stl060FrameDecoder.java
diff --git a/src/org/traccar/protocol/Stl060Protocol.java b/src/main/java/org/traccar/protocol/Stl060Protocol.java
index 2711e936b..2711e936b 100644
--- a/src/org/traccar/protocol/Stl060Protocol.java
+++ b/src/main/java/org/traccar/protocol/Stl060Protocol.java
diff --git a/src/org/traccar/protocol/Stl060ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Stl060ProtocolDecoder.java
index 7b0055aa1..7b0055aa1 100644
--- a/src/org/traccar/protocol/Stl060ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Stl060ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SuntechProtocol.java b/src/main/java/org/traccar/protocol/SuntechProtocol.java
index 29ae114e7..29ae114e7 100644
--- a/src/org/traccar/protocol/SuntechProtocol.java
+++ b/src/main/java/org/traccar/protocol/SuntechProtocol.java
diff --git a/src/org/traccar/protocol/SuntechProtocolDecoder.java b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
index 922431021..922431021 100644
--- a/src/org/traccar/protocol/SuntechProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SuntechProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SuntechProtocolEncoder.java b/src/main/java/org/traccar/protocol/SuntechProtocolEncoder.java
index 90fa4aa39..90fa4aa39 100644
--- a/src/org/traccar/protocol/SuntechProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/SuntechProtocolEncoder.java
diff --git a/src/org/traccar/protocol/SupermateProtocol.java b/src/main/java/org/traccar/protocol/SupermateProtocol.java
index 46625ddc7..46625ddc7 100644
--- a/src/org/traccar/protocol/SupermateProtocol.java
+++ b/src/main/java/org/traccar/protocol/SupermateProtocol.java
diff --git a/src/org/traccar/protocol/SupermateProtocolDecoder.java b/src/main/java/org/traccar/protocol/SupermateProtocolDecoder.java
index 40a25bb91..40a25bb91 100644
--- a/src/org/traccar/protocol/SupermateProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SupermateProtocolDecoder.java
diff --git a/src/org/traccar/protocol/SviasProtocol.java b/src/main/java/org/traccar/protocol/SviasProtocol.java
index c6624b7d4..f01f28389 100644
--- a/src/org/traccar/protocol/SviasProtocol.java
+++ b/src/main/java/org/traccar/protocol/SviasProtocol.java
@@ -1,51 +1,51 @@
-/*
- * Copyright 2018 Anton Tananaev (anton@traccar.org)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.traccar.protocol;
-
-import io.netty.handler.codec.string.StringDecoder;
-import io.netty.handler.codec.string.StringEncoder;
-import org.traccar.BaseProtocol;
-import org.traccar.CharacterDelimiterFrameDecoder;
-import org.traccar.PipelineBuilder;
-import org.traccar.TrackerServer;
-
-import org.traccar.model.Command;
-
-public class SviasProtocol extends BaseProtocol {
-
- public SviasProtocol() {
- setSupportedDataCommands(
- Command.TYPE_CUSTOM,
- Command.TYPE_POSITION_SINGLE,
- Command.TYPE_SET_ODOMETER,
- Command.TYPE_ENGINE_STOP,
- Command.TYPE_ENGINE_RESUME,
- Command.TYPE_ALARM_ARM,
- Command.TYPE_ALARM_DISARM,
- Command.TYPE_ALARM_REMOVE);
- addServer(new TrackerServer(false, getName()) {
- @Override
- protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast(new CharacterDelimiterFrameDecoder(1024, "]"));
- pipeline.addLast(new StringEncoder());
- pipeline.addLast(new StringDecoder());
- pipeline.addLast(new SviasProtocolEncoder());
- pipeline.addLast(new SviasProtocolDecoder(SviasProtocol.this));
- }
- });
- }
-
-}
+/*
+ * Copyright 2018 Anton Tananaev (anton@traccar.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.protocol;
+
+import io.netty.handler.codec.string.StringDecoder;
+import io.netty.handler.codec.string.StringEncoder;
+import org.traccar.BaseProtocol;
+import org.traccar.CharacterDelimiterFrameDecoder;
+import org.traccar.PipelineBuilder;
+import org.traccar.TrackerServer;
+
+import org.traccar.model.Command;
+
+public class SviasProtocol extends BaseProtocol {
+
+ public SviasProtocol() {
+ setSupportedDataCommands(
+ Command.TYPE_CUSTOM,
+ Command.TYPE_POSITION_SINGLE,
+ Command.TYPE_SET_ODOMETER,
+ Command.TYPE_ENGINE_STOP,
+ Command.TYPE_ENGINE_RESUME,
+ Command.TYPE_ALARM_ARM,
+ Command.TYPE_ALARM_DISARM,
+ Command.TYPE_ALARM_REMOVE);
+ addServer(new TrackerServer(false, getName()) {
+ @Override
+ protected void addProtocolHandlers(PipelineBuilder pipeline) {
+ pipeline.addLast(new CharacterDelimiterFrameDecoder(1024, "]"));
+ pipeline.addLast(new StringEncoder());
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new SviasProtocolEncoder());
+ pipeline.addLast(new SviasProtocolDecoder(SviasProtocol.this));
+ }
+ });
+ }
+
+}
diff --git a/src/org/traccar/protocol/SviasProtocolDecoder.java b/src/main/java/org/traccar/protocol/SviasProtocolDecoder.java
index 978483175..7e783f6cd 100644
--- a/src/org/traccar/protocol/SviasProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/SviasProtocolDecoder.java
@@ -1,105 +1,105 @@
-/*
- * Copyright 2018 Anton Tananaev (anton@traccar.org)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.traccar.protocol;
-
-import io.netty.channel.Channel;
-import org.traccar.BaseProtocolDecoder;
-import org.traccar.NetworkMessage;
-import org.traccar.Protocol;
-import org.traccar.helper.BitUtil;
-import org.traccar.helper.PatternBuilder;
-
-import java.net.SocketAddress;
-import java.util.regex.Pattern;
-import org.traccar.DeviceSession;
-import org.traccar.helper.Parser;
-import org.traccar.helper.UnitsConverter;
-import org.traccar.model.Position;
-
-public class SviasProtocolDecoder extends BaseProtocolDecoder {
-
- public SviasProtocolDecoder(Protocol protocol) {
- super(protocol);
- }
-
- private static final Pattern PATTERN = new PatternBuilder()
- .text("[") // delimiter
- .number("d{4},") // hardware version
- .number("d{4},") // software version
- .number("d+,") // index
- .number("(d+),") // imei
- .number("d+,") // hour meter
- .number("(d+)(dd)(dd),") // date (dmmyy)
- .number("(d+)(dd)(dd),") // time (hmmss)
- .number("(-?)(d+)(dd)(d{5}),") // latitude
- .number("(-?)(d+)(dd)(d{5}),") // longitude
- .number("(d+),") // speed
- .number("(d+),") // course
- .number("(d+),") // odometer
- .number("(d+),") // input
- .number("(d+),") // output / status
- .number("(d),")
- .number("(d),")
- .number("(d+),") // power
- .number("(d+),") // battery level
- .number("(d+),") // rssi
- .any()
- .compile();
-
- @Override
- protected Object decode(Channel channel, SocketAddress remoteAddress, Object msg)
- throws Exception {
-
- if (channel != null) {
- channel.writeAndFlush(new NetworkMessage("@", remoteAddress));
- }
-
- Parser parser = new Parser(PATTERN, (String) msg);
- if (!parser.matches()) {
- return null;
- }
-
- DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next());
- if (deviceSession == null) {
- return null;
- }
-
- Position position = new Position(getProtocolName());
- position.setDeviceId(deviceSession.getDeviceId());
-
- position.setTime(parser.nextDateTime(Parser.DateTimeFormat.DMY_HMS));
- position.setLatitude(parser.nextCoordinate(Parser.CoordinateFormat.HEM_DEG_MIN_MIN));
- position.setLongitude(parser.nextCoordinate(Parser.CoordinateFormat.HEM_DEG_MIN_MIN));
- position.setSpeed(UnitsConverter.knotsFromKph(parser.nextDouble() * 0.01));
- position.setCourse(parser.nextDouble() * 0.01);
-
- position.set(Position.KEY_ODOMETER, parser.nextInt() * 100);
-
- int input = parser.nextInt();
- int output = parser.nextInt();
-
- position.set(Position.KEY_ALARM, BitUtil.check(input, 0) ? Position.ALARM_SOS : null);
- position.set(Position.KEY_IGNITION, BitUtil.check(input, 4));
- position.setValid(BitUtil.check(output, 0));
-
- position.set(Position.KEY_POWER, parser.nextInt() * 0.001);
- position.set(Position.KEY_BATTERY_LEVEL, parser.nextInt());
- position.set(Position.KEY_RSSI, parser.nextInt());
-
- return position;
- }
-
-}
+/*
+ * Copyright 2018 Anton Tananaev (anton@traccar.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.protocol;
+
+import io.netty.channel.Channel;
+import org.traccar.BaseProtocolDecoder;
+import org.traccar.NetworkMessage;
+import org.traccar.Protocol;
+import org.traccar.helper.BitUtil;
+import org.traccar.helper.PatternBuilder;
+
+import java.net.SocketAddress;
+import java.util.regex.Pattern;
+import org.traccar.DeviceSession;
+import org.traccar.helper.Parser;
+import org.traccar.helper.UnitsConverter;
+import org.traccar.model.Position;
+
+public class SviasProtocolDecoder extends BaseProtocolDecoder {
+
+ public SviasProtocolDecoder(Protocol protocol) {
+ super(protocol);
+ }
+
+ private static final Pattern PATTERN = new PatternBuilder()
+ .text("[") // delimiter
+ .number("d{4},") // hardware version
+ .number("d{4},") // software version
+ .number("d+,") // index
+ .number("(d+),") // imei
+ .number("d+,") // hour meter
+ .number("(d+)(dd)(dd),") // date (dmmyy)
+ .number("(d+)(dd)(dd),") // time (hmmss)
+ .number("(-?)(d+)(dd)(d{5}),") // latitude
+ .number("(-?)(d+)(dd)(d{5}),") // longitude
+ .number("(d+),") // speed
+ .number("(d+),") // course
+ .number("(d+),") // odometer
+ .number("(d+),") // input
+ .number("(d+),") // output / status
+ .number("(d),")
+ .number("(d),")
+ .number("(d+),") // power
+ .number("(d+),") // battery level
+ .number("(d+),") // rssi
+ .any()
+ .compile();
+
+ @Override
+ protected Object decode(Channel channel, SocketAddress remoteAddress, Object msg)
+ throws Exception {
+
+ if (channel != null) {
+ channel.writeAndFlush(new NetworkMessage("@", remoteAddress));
+ }
+
+ Parser parser = new Parser(PATTERN, (String) msg);
+ if (!parser.matches()) {
+ return null;
+ }
+
+ DeviceSession deviceSession = getDeviceSession(channel, remoteAddress, parser.next());
+ if (deviceSession == null) {
+ return null;
+ }
+
+ Position position = new Position(getProtocolName());
+ position.setDeviceId(deviceSession.getDeviceId());
+
+ position.setTime(parser.nextDateTime(Parser.DateTimeFormat.DMY_HMS));
+ position.setLatitude(parser.nextCoordinate(Parser.CoordinateFormat.HEM_DEG_MIN_MIN));
+ position.setLongitude(parser.nextCoordinate(Parser.CoordinateFormat.HEM_DEG_MIN_MIN));
+ position.setSpeed(UnitsConverter.knotsFromKph(parser.nextDouble() * 0.01));
+ position.setCourse(parser.nextDouble() * 0.01);
+
+ position.set(Position.KEY_ODOMETER, parser.nextInt() * 100);
+
+ int input = parser.nextInt();
+ int output = parser.nextInt();
+
+ position.set(Position.KEY_ALARM, BitUtil.check(input, 0) ? Position.ALARM_SOS : null);
+ position.set(Position.KEY_IGNITION, BitUtil.check(input, 4));
+ position.setValid(BitUtil.check(output, 0));
+
+ position.set(Position.KEY_POWER, parser.nextInt() * 0.001);
+ position.set(Position.KEY_BATTERY_LEVEL, parser.nextInt());
+ position.set(Position.KEY_RSSI, parser.nextInt());
+
+ return position;
+ }
+
+}
diff --git a/src/org/traccar/protocol/SviasProtocolEncoder.java b/src/main/java/org/traccar/protocol/SviasProtocolEncoder.java
index 9fce57223..8bfbef119 100644
--- a/src/org/traccar/protocol/SviasProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/SviasProtocolEncoder.java
@@ -1,48 +1,48 @@
-/*
- * Copyright 2018 Anton Tananaev (anton@traccar.org)
- * Copyright 2018 Andrey Kunitsyn (andrey@traccar.org)
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.traccar.protocol;
-
-import org.traccar.StringProtocolEncoder;
-import org.traccar.model.Command;
-
-public class SviasProtocolEncoder extends StringProtocolEncoder {
-
- @Override
- protected Object encodeCommand(Command command) {
- switch (command.getType()) {
- case Command.TYPE_CUSTOM:
- return formatCommand(command, "{%s}", Command.KEY_DATA);
- case Command.TYPE_POSITION_SINGLE:
- return formatCommand(command, "AT+STR=1*");
- case Command.TYPE_SET_ODOMETER:
- return formatCommand(command, "AT+ODT={%s}*", Command.KEY_DATA);
- case Command.TYPE_ENGINE_STOP:
- return formatCommand(command, "AT+OUT=1,1*");
- case Command.TYPE_ENGINE_RESUME:
- return formatCommand(command, "AT+OUT=1,0*");
- case Command.TYPE_ALARM_ARM:
- return formatCommand(command, "AT+OUT=2,1*");
- case Command.TYPE_ALARM_DISARM:
- return formatCommand(command, "AT+OUT=2,0*");
- case Command.TYPE_ALARM_REMOVE:
- return formatCommand(command, "AT+PNC=600*");
- default:
- return null;
- }
- }
-
-}
+/*
+ * Copyright 2018 Anton Tananaev (anton@traccar.org)
+ * Copyright 2018 Andrey Kunitsyn (andrey@traccar.org)
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.traccar.protocol;
+
+import org.traccar.StringProtocolEncoder;
+import org.traccar.model.Command;
+
+public class SviasProtocolEncoder extends StringProtocolEncoder {
+
+ @Override
+ protected Object encodeCommand(Command command) {
+ switch (command.getType()) {
+ case Command.TYPE_CUSTOM:
+ return formatCommand(command, "{%s}", Command.KEY_DATA);
+ case Command.TYPE_POSITION_SINGLE:
+ return formatCommand(command, "AT+STR=1*");
+ case Command.TYPE_SET_ODOMETER:
+ return formatCommand(command, "AT+ODT={%s}*", Command.KEY_DATA);
+ case Command.TYPE_ENGINE_STOP:
+ return formatCommand(command, "AT+OUT=1,1*");
+ case Command.TYPE_ENGINE_RESUME:
+ return formatCommand(command, "AT+OUT=1,0*");
+ case Command.TYPE_ALARM_ARM:
+ return formatCommand(command, "AT+OUT=2,1*");
+ case Command.TYPE_ALARM_DISARM:
+ return formatCommand(command, "AT+OUT=2,0*");
+ case Command.TYPE_ALARM_REMOVE:
+ return formatCommand(command, "AT+PNC=600*");
+ default:
+ return null;
+ }
+ }
+
+}
diff --git a/src/org/traccar/protocol/T55Protocol.java b/src/main/java/org/traccar/protocol/T55Protocol.java
index f5ec19094..f5ec19094 100644
--- a/src/org/traccar/protocol/T55Protocol.java
+++ b/src/main/java/org/traccar/protocol/T55Protocol.java
diff --git a/src/org/traccar/protocol/T55ProtocolDecoder.java b/src/main/java/org/traccar/protocol/T55ProtocolDecoder.java
index ba231a635..ba231a635 100644
--- a/src/org/traccar/protocol/T55ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/T55ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/T57FrameDecoder.java b/src/main/java/org/traccar/protocol/T57FrameDecoder.java
index 14ba31453..14ba31453 100644
--- a/src/org/traccar/protocol/T57FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/T57FrameDecoder.java
diff --git a/src/org/traccar/protocol/T57Protocol.java b/src/main/java/org/traccar/protocol/T57Protocol.java
index f67f82318..f67f82318 100644
--- a/src/org/traccar/protocol/T57Protocol.java
+++ b/src/main/java/org/traccar/protocol/T57Protocol.java
diff --git a/src/org/traccar/protocol/T57ProtocolDecoder.java b/src/main/java/org/traccar/protocol/T57ProtocolDecoder.java
index 2a3cca3e4..2a3cca3e4 100644
--- a/src/org/traccar/protocol/T57ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/T57ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/T800xProtocol.java b/src/main/java/org/traccar/protocol/T800xProtocol.java
index 85749d0cf..85749d0cf 100644
--- a/src/org/traccar/protocol/T800xProtocol.java
+++ b/src/main/java/org/traccar/protocol/T800xProtocol.java
diff --git a/src/org/traccar/protocol/T800xProtocolDecoder.java b/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java
index dfb286257..dfb286257 100644
--- a/src/org/traccar/protocol/T800xProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/T800xProtocolDecoder.java
diff --git a/src/org/traccar/protocol/T800xProtocolEncoder.java b/src/main/java/org/traccar/protocol/T800xProtocolEncoder.java
index 1d0f3dabe..1d0f3dabe 100644
--- a/src/org/traccar/protocol/T800xProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/T800xProtocolEncoder.java
diff --git a/src/org/traccar/protocol/TaipProtocol.java b/src/main/java/org/traccar/protocol/TaipProtocol.java
index b8f40a183..b8f40a183 100644
--- a/src/org/traccar/protocol/TaipProtocol.java
+++ b/src/main/java/org/traccar/protocol/TaipProtocol.java
diff --git a/src/org/traccar/protocol/TaipProtocolDecoder.java b/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
index 8a0cb870b..8a0cb870b 100644
--- a/src/org/traccar/protocol/TaipProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TaipProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TekFrameDecoder.java b/src/main/java/org/traccar/protocol/TekFrameDecoder.java
index 44d2c590e..44d2c590e 100644
--- a/src/org/traccar/protocol/TekFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/TekFrameDecoder.java
diff --git a/src/org/traccar/protocol/TekProtocol.java b/src/main/java/org/traccar/protocol/TekProtocol.java
index c1d78e6f5..c1d78e6f5 100644
--- a/src/org/traccar/protocol/TekProtocol.java
+++ b/src/main/java/org/traccar/protocol/TekProtocol.java
diff --git a/src/org/traccar/protocol/TekProtocolDecoder.java b/src/main/java/org/traccar/protocol/TekProtocolDecoder.java
index a9101e65f..a9101e65f 100644
--- a/src/org/traccar/protocol/TekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TekProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TelemaxProtocol.java b/src/main/java/org/traccar/protocol/TelemaxProtocol.java
index 838da9df1..838da9df1 100644
--- a/src/org/traccar/protocol/TelemaxProtocol.java
+++ b/src/main/java/org/traccar/protocol/TelemaxProtocol.java
diff --git a/src/org/traccar/protocol/TelemaxProtocolDecoder.java b/src/main/java/org/traccar/protocol/TelemaxProtocolDecoder.java
index 9369ab101..9369ab101 100644
--- a/src/org/traccar/protocol/TelemaxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TelemaxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TelicFrameDecoder.java b/src/main/java/org/traccar/protocol/TelicFrameDecoder.java
index d1fef1b5b..d1fef1b5b 100644
--- a/src/org/traccar/protocol/TelicFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/TelicFrameDecoder.java
diff --git a/src/org/traccar/protocol/TelicProtocol.java b/src/main/java/org/traccar/protocol/TelicProtocol.java
index 991befa19..991befa19 100644
--- a/src/org/traccar/protocol/TelicProtocol.java
+++ b/src/main/java/org/traccar/protocol/TelicProtocol.java
diff --git a/src/org/traccar/protocol/TelicProtocolDecoder.java b/src/main/java/org/traccar/protocol/TelicProtocolDecoder.java
index 6d5e8f21e..6d5e8f21e 100644
--- a/src/org/traccar/protocol/TelicProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TelicProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TeltonikaFrameDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaFrameDecoder.java
index 4d4d79d8d..4d4d79d8d 100644
--- a/src/org/traccar/protocol/TeltonikaFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaFrameDecoder.java
diff --git a/src/org/traccar/protocol/TeltonikaProtocol.java b/src/main/java/org/traccar/protocol/TeltonikaProtocol.java
index eef9662d7..eef9662d7 100644
--- a/src/org/traccar/protocol/TeltonikaProtocol.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocol.java
diff --git a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 974d2c106..974d2c106 100644
--- a/src/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TeltonikaProtocolEncoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolEncoder.java
index 944cec024..944cec024 100644
--- a/src/org/traccar/protocol/TeltonikaProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolEncoder.java
diff --git a/src/org/traccar/protocol/ThinkRaceProtocol.java b/src/main/java/org/traccar/protocol/ThinkRaceProtocol.java
index ca1237cef..ca1237cef 100644
--- a/src/org/traccar/protocol/ThinkRaceProtocol.java
+++ b/src/main/java/org/traccar/protocol/ThinkRaceProtocol.java
diff --git a/src/org/traccar/protocol/ThinkRaceProtocolDecoder.java b/src/main/java/org/traccar/protocol/ThinkRaceProtocolDecoder.java
index 0928b25e0..0928b25e0 100644
--- a/src/org/traccar/protocol/ThinkRaceProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/ThinkRaceProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Tk102Protocol.java b/src/main/java/org/traccar/protocol/Tk102Protocol.java
index 9f2463cd6..9f2463cd6 100644
--- a/src/org/traccar/protocol/Tk102Protocol.java
+++ b/src/main/java/org/traccar/protocol/Tk102Protocol.java
diff --git a/src/org/traccar/protocol/Tk102ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tk102ProtocolDecoder.java
index da0c6928b..da0c6928b 100644
--- a/src/org/traccar/protocol/Tk102ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tk102ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Tk103FrameDecoder.java b/src/main/java/org/traccar/protocol/Tk103FrameDecoder.java
index b61a42563..b61a42563 100644
--- a/src/org/traccar/protocol/Tk103FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tk103FrameDecoder.java
diff --git a/src/org/traccar/protocol/Tk103Protocol.java b/src/main/java/org/traccar/protocol/Tk103Protocol.java
index fa83133e2..fa83133e2 100644
--- a/src/org/traccar/protocol/Tk103Protocol.java
+++ b/src/main/java/org/traccar/protocol/Tk103Protocol.java
diff --git a/src/org/traccar/protocol/Tk103ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java
index 9e28b5051..9e28b5051 100644
--- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tk103ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Tk103ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Tk103ProtocolEncoder.java
index 98edc8cb5..98edc8cb5 100644
--- a/src/org/traccar/protocol/Tk103ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Tk103ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Tlt2hProtocol.java b/src/main/java/org/traccar/protocol/Tlt2hProtocol.java
index 12fd92afa..12fd92afa 100644
--- a/src/org/traccar/protocol/Tlt2hProtocol.java
+++ b/src/main/java/org/traccar/protocol/Tlt2hProtocol.java
diff --git a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
index f67ff88db..f67ff88db 100644
--- a/src/org/traccar/protocol/Tlt2hProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tlt2hProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TlvProtocol.java b/src/main/java/org/traccar/protocol/TlvProtocol.java
index 94f5da94f..94f5da94f 100644
--- a/src/org/traccar/protocol/TlvProtocol.java
+++ b/src/main/java/org/traccar/protocol/TlvProtocol.java
diff --git a/src/org/traccar/protocol/TlvProtocolDecoder.java b/src/main/java/org/traccar/protocol/TlvProtocolDecoder.java
index 36cf7859f..36cf7859f 100644
--- a/src/org/traccar/protocol/TlvProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TlvProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TmgFrameDecoder.java b/src/main/java/org/traccar/protocol/TmgFrameDecoder.java
index 205adaa51..205adaa51 100644
--- a/src/org/traccar/protocol/TmgFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/TmgFrameDecoder.java
diff --git a/src/org/traccar/protocol/TmgProtocol.java b/src/main/java/org/traccar/protocol/TmgProtocol.java
index 020332ce7..020332ce7 100644
--- a/src/org/traccar/protocol/TmgProtocol.java
+++ b/src/main/java/org/traccar/protocol/TmgProtocol.java
diff --git a/src/org/traccar/protocol/TmgProtocolDecoder.java b/src/main/java/org/traccar/protocol/TmgProtocolDecoder.java
index d27849f8c..d27849f8c 100644
--- a/src/org/traccar/protocol/TmgProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TmgProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TopflytechProtocol.java b/src/main/java/org/traccar/protocol/TopflytechProtocol.java
index 303072bdb..303072bdb 100644
--- a/src/org/traccar/protocol/TopflytechProtocol.java
+++ b/src/main/java/org/traccar/protocol/TopflytechProtocol.java
diff --git a/src/org/traccar/protocol/TopflytechProtocolDecoder.java b/src/main/java/org/traccar/protocol/TopflytechProtocolDecoder.java
index 6de053c32..6de053c32 100644
--- a/src/org/traccar/protocol/TopflytechProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TopflytechProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TotemFrameDecoder.java b/src/main/java/org/traccar/protocol/TotemFrameDecoder.java
index 3fa5abc7a..3fa5abc7a 100644
--- a/src/org/traccar/protocol/TotemFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/TotemFrameDecoder.java
diff --git a/src/org/traccar/protocol/TotemProtocol.java b/src/main/java/org/traccar/protocol/TotemProtocol.java
index 66e1ec4f1..66e1ec4f1 100644
--- a/src/org/traccar/protocol/TotemProtocol.java
+++ b/src/main/java/org/traccar/protocol/TotemProtocol.java
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/main/java/org/traccar/protocol/TotemProtocolDecoder.java
index cd7f684b8..cd7f684b8 100644
--- a/src/org/traccar/protocol/TotemProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TotemProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TotemProtocolEncoder.java b/src/main/java/org/traccar/protocol/TotemProtocolEncoder.java
index b5049859d..b5049859d 100644
--- a/src/org/traccar/protocol/TotemProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/TotemProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Tr20Protocol.java b/src/main/java/org/traccar/protocol/Tr20Protocol.java
index 3eee9d9c3..3eee9d9c3 100644
--- a/src/org/traccar/protocol/Tr20Protocol.java
+++ b/src/main/java/org/traccar/protocol/Tr20Protocol.java
diff --git a/src/org/traccar/protocol/Tr20ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tr20ProtocolDecoder.java
index c2e6c381f..c2e6c381f 100644
--- a/src/org/traccar/protocol/Tr20ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tr20ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Tr900Protocol.java b/src/main/java/org/traccar/protocol/Tr900Protocol.java
index b70521b35..b70521b35 100644
--- a/src/org/traccar/protocol/Tr900Protocol.java
+++ b/src/main/java/org/traccar/protocol/Tr900Protocol.java
diff --git a/src/org/traccar/protocol/Tr900ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tr900ProtocolDecoder.java
index 319194c21..319194c21 100644
--- a/src/org/traccar/protocol/Tr900ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tr900ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TrackboxProtocol.java b/src/main/java/org/traccar/protocol/TrackboxProtocol.java
index 5da5abd64..5da5abd64 100644
--- a/src/org/traccar/protocol/TrackboxProtocol.java
+++ b/src/main/java/org/traccar/protocol/TrackboxProtocol.java
diff --git a/src/org/traccar/protocol/TrackboxProtocolDecoder.java b/src/main/java/org/traccar/protocol/TrackboxProtocolDecoder.java
index db8022738..db8022738 100644
--- a/src/org/traccar/protocol/TrackboxProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TrackboxProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TrakMateProtocol.java b/src/main/java/org/traccar/protocol/TrakMateProtocol.java
index bda5df10f..bda5df10f 100644
--- a/src/org/traccar/protocol/TrakMateProtocol.java
+++ b/src/main/java/org/traccar/protocol/TrakMateProtocol.java
diff --git a/src/org/traccar/protocol/TrakMateProtocolDecoder.java b/src/main/java/org/traccar/protocol/TrakMateProtocolDecoder.java
index 4d5cb18f5..4d5cb18f5 100644
--- a/src/org/traccar/protocol/TrakMateProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TrakMateProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TramigoFrameDecoder.java b/src/main/java/org/traccar/protocol/TramigoFrameDecoder.java
index aaaaccb60..aaaaccb60 100644
--- a/src/org/traccar/protocol/TramigoFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/TramigoFrameDecoder.java
diff --git a/src/org/traccar/protocol/TramigoProtocol.java b/src/main/java/org/traccar/protocol/TramigoProtocol.java
index f683ccc5d..f683ccc5d 100644
--- a/src/org/traccar/protocol/TramigoProtocol.java
+++ b/src/main/java/org/traccar/protocol/TramigoProtocol.java
diff --git a/src/org/traccar/protocol/TramigoProtocolDecoder.java b/src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java
index e42e2f670..e42e2f670 100644
--- a/src/org/traccar/protocol/TramigoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TramigoProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TrvProtocol.java b/src/main/java/org/traccar/protocol/TrvProtocol.java
index 99a164cf1..99a164cf1 100644
--- a/src/org/traccar/protocol/TrvProtocol.java
+++ b/src/main/java/org/traccar/protocol/TrvProtocol.java
diff --git a/src/org/traccar/protocol/TrvProtocolDecoder.java b/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
index b63385187..b63385187 100644
--- a/src/org/traccar/protocol/TrvProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TrvProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Tt8850Protocol.java b/src/main/java/org/traccar/protocol/Tt8850Protocol.java
index 66a13da9e..66a13da9e 100644
--- a/src/org/traccar/protocol/Tt8850Protocol.java
+++ b/src/main/java/org/traccar/protocol/Tt8850Protocol.java
diff --git a/src/org/traccar/protocol/Tt8850ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Tt8850ProtocolDecoder.java
index 1010528c4..1010528c4 100644
--- a/src/org/traccar/protocol/Tt8850ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Tt8850ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TytanProtocol.java b/src/main/java/org/traccar/protocol/TytanProtocol.java
index 32e9acae1..32e9acae1 100644
--- a/src/org/traccar/protocol/TytanProtocol.java
+++ b/src/main/java/org/traccar/protocol/TytanProtocol.java
diff --git a/src/org/traccar/protocol/TytanProtocolDecoder.java b/src/main/java/org/traccar/protocol/TytanProtocolDecoder.java
index 93d3a63d2..93d3a63d2 100644
--- a/src/org/traccar/protocol/TytanProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TytanProtocolDecoder.java
diff --git a/src/org/traccar/protocol/TzoneProtocol.java b/src/main/java/org/traccar/protocol/TzoneProtocol.java
index 6e855d138..6e855d138 100644
--- a/src/org/traccar/protocol/TzoneProtocol.java
+++ b/src/main/java/org/traccar/protocol/TzoneProtocol.java
diff --git a/src/org/traccar/protocol/TzoneProtocolDecoder.java b/src/main/java/org/traccar/protocol/TzoneProtocolDecoder.java
index 87b44a4b2..87b44a4b2 100644
--- a/src/org/traccar/protocol/TzoneProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TzoneProtocolDecoder.java
diff --git a/src/org/traccar/protocol/UlbotechFrameDecoder.java b/src/main/java/org/traccar/protocol/UlbotechFrameDecoder.java
index f141dc9b7..f141dc9b7 100644
--- a/src/org/traccar/protocol/UlbotechFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/UlbotechFrameDecoder.java
diff --git a/src/org/traccar/protocol/UlbotechProtocol.java b/src/main/java/org/traccar/protocol/UlbotechProtocol.java
index b99ec1cc6..b99ec1cc6 100644
--- a/src/org/traccar/protocol/UlbotechProtocol.java
+++ b/src/main/java/org/traccar/protocol/UlbotechProtocol.java
diff --git a/src/org/traccar/protocol/UlbotechProtocolDecoder.java b/src/main/java/org/traccar/protocol/UlbotechProtocolDecoder.java
index 0a2a59e23..0a2a59e23 100644
--- a/src/org/traccar/protocol/UlbotechProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UlbotechProtocolDecoder.java
diff --git a/src/org/traccar/protocol/UproProtocol.java b/src/main/java/org/traccar/protocol/UproProtocol.java
index 4e60ffeb6..4e60ffeb6 100644
--- a/src/org/traccar/protocol/UproProtocol.java
+++ b/src/main/java/org/traccar/protocol/UproProtocol.java
diff --git a/src/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
index dc7a9200d..dc7a9200d 100644
--- a/src/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
diff --git a/src/org/traccar/protocol/V680Protocol.java b/src/main/java/org/traccar/protocol/V680Protocol.java
index dc0922cd4..dc0922cd4 100644
--- a/src/org/traccar/protocol/V680Protocol.java
+++ b/src/main/java/org/traccar/protocol/V680Protocol.java
diff --git a/src/org/traccar/protocol/V680ProtocolDecoder.java b/src/main/java/org/traccar/protocol/V680ProtocolDecoder.java
index 0342404a6..0342404a6 100644
--- a/src/org/traccar/protocol/V680ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/V680ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/VisiontekProtocol.java b/src/main/java/org/traccar/protocol/VisiontekProtocol.java
index 2c6af45a8..2c6af45a8 100644
--- a/src/org/traccar/protocol/VisiontekProtocol.java
+++ b/src/main/java/org/traccar/protocol/VisiontekProtocol.java
diff --git a/src/org/traccar/protocol/VisiontekProtocolDecoder.java b/src/main/java/org/traccar/protocol/VisiontekProtocolDecoder.java
index c4787bda2..c4787bda2 100644
--- a/src/org/traccar/protocol/VisiontekProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/VisiontekProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Vt200FrameDecoder.java b/src/main/java/org/traccar/protocol/Vt200FrameDecoder.java
index 0fd83e715..0fd83e715 100644
--- a/src/org/traccar/protocol/Vt200FrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/Vt200FrameDecoder.java
diff --git a/src/org/traccar/protocol/Vt200Protocol.java b/src/main/java/org/traccar/protocol/Vt200Protocol.java
index 2a9ef6ab5..2a9ef6ab5 100644
--- a/src/org/traccar/protocol/Vt200Protocol.java
+++ b/src/main/java/org/traccar/protocol/Vt200Protocol.java
diff --git a/src/org/traccar/protocol/Vt200ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java
index b1564abd9..b1564abd9 100644
--- a/src/org/traccar/protocol/Vt200ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Vt200ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/VtfmsFrameDecoder.java b/src/main/java/org/traccar/protocol/VtfmsFrameDecoder.java
index 62a189960..62a189960 100644
--- a/src/org/traccar/protocol/VtfmsFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/VtfmsFrameDecoder.java
diff --git a/src/org/traccar/protocol/VtfmsProtocol.java b/src/main/java/org/traccar/protocol/VtfmsProtocol.java
index 2826a86e6..2826a86e6 100644
--- a/src/org/traccar/protocol/VtfmsProtocol.java
+++ b/src/main/java/org/traccar/protocol/VtfmsProtocol.java
diff --git a/src/org/traccar/protocol/VtfmsProtocolDecoder.java b/src/main/java/org/traccar/protocol/VtfmsProtocolDecoder.java
index 17fac4311..17fac4311 100644
--- a/src/org/traccar/protocol/VtfmsProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/VtfmsProtocolDecoder.java
diff --git a/src/org/traccar/protocol/WatchFrameDecoder.java b/src/main/java/org/traccar/protocol/WatchFrameDecoder.java
index f99bd52e2..f99bd52e2 100644
--- a/src/org/traccar/protocol/WatchFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/WatchFrameDecoder.java
diff --git a/src/org/traccar/protocol/WatchProtocol.java b/src/main/java/org/traccar/protocol/WatchProtocol.java
index fe285e70d..fe285e70d 100644
--- a/src/org/traccar/protocol/WatchProtocol.java
+++ b/src/main/java/org/traccar/protocol/WatchProtocol.java
diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
index 70b207e9b..70b207e9b 100644
--- a/src/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WatchProtocolDecoder.java
diff --git a/src/org/traccar/protocol/WatchProtocolEncoder.java b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
index 264aec81f..264aec81f 100644
--- a/src/org/traccar/protocol/WatchProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/WatchProtocolEncoder.java
diff --git a/src/org/traccar/protocol/WialonProtocol.java b/src/main/java/org/traccar/protocol/WialonProtocol.java
index 06b54dceb..06b54dceb 100644
--- a/src/org/traccar/protocol/WialonProtocol.java
+++ b/src/main/java/org/traccar/protocol/WialonProtocol.java
diff --git a/src/org/traccar/protocol/WialonProtocolDecoder.java b/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
index de7073b67..de7073b67 100644
--- a/src/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WialonProtocolDecoder.java
diff --git a/src/org/traccar/protocol/WialonProtocolEncoder.java b/src/main/java/org/traccar/protocol/WialonProtocolEncoder.java
index 9ff1631eb..9ff1631eb 100644
--- a/src/org/traccar/protocol/WialonProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/WialonProtocolEncoder.java
diff --git a/src/org/traccar/protocol/WondexFrameDecoder.java b/src/main/java/org/traccar/protocol/WondexFrameDecoder.java
index 39d83d761..39d83d761 100644
--- a/src/org/traccar/protocol/WondexFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/WondexFrameDecoder.java
diff --git a/src/org/traccar/protocol/WondexProtocol.java b/src/main/java/org/traccar/protocol/WondexProtocol.java
index 8c6283d66..8c6283d66 100644
--- a/src/org/traccar/protocol/WondexProtocol.java
+++ b/src/main/java/org/traccar/protocol/WondexProtocol.java
diff --git a/src/org/traccar/protocol/WondexProtocolDecoder.java b/src/main/java/org/traccar/protocol/WondexProtocolDecoder.java
index b85ae2656..b85ae2656 100644
--- a/src/org/traccar/protocol/WondexProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WondexProtocolDecoder.java
diff --git a/src/org/traccar/protocol/WondexProtocolEncoder.java b/src/main/java/org/traccar/protocol/WondexProtocolEncoder.java
index f9e8eeb9b..f9e8eeb9b 100644
--- a/src/org/traccar/protocol/WondexProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/WondexProtocolEncoder.java
diff --git a/src/org/traccar/protocol/WristbandProtocol.java b/src/main/java/org/traccar/protocol/WristbandProtocol.java
index 1e5ef2c01..1e5ef2c01 100644
--- a/src/org/traccar/protocol/WristbandProtocol.java
+++ b/src/main/java/org/traccar/protocol/WristbandProtocol.java
diff --git a/src/org/traccar/protocol/WristbandProtocolDecoder.java b/src/main/java/org/traccar/protocol/WristbandProtocolDecoder.java
index 7f2b0af85..7f2b0af85 100644
--- a/src/org/traccar/protocol/WristbandProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/WristbandProtocolDecoder.java
diff --git a/src/org/traccar/protocol/XexunFrameDecoder.java b/src/main/java/org/traccar/protocol/XexunFrameDecoder.java
index 114e94061..114e94061 100644
--- a/src/org/traccar/protocol/XexunFrameDecoder.java
+++ b/src/main/java/org/traccar/protocol/XexunFrameDecoder.java
diff --git a/src/org/traccar/protocol/XexunProtocol.java b/src/main/java/org/traccar/protocol/XexunProtocol.java
index 0005270fb..0005270fb 100644
--- a/src/org/traccar/protocol/XexunProtocol.java
+++ b/src/main/java/org/traccar/protocol/XexunProtocol.java
diff --git a/src/org/traccar/protocol/XexunProtocolDecoder.java b/src/main/java/org/traccar/protocol/XexunProtocolDecoder.java
index 5e2d0c05e..5e2d0c05e 100644
--- a/src/org/traccar/protocol/XexunProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/XexunProtocolDecoder.java
diff --git a/src/org/traccar/protocol/XexunProtocolEncoder.java b/src/main/java/org/traccar/protocol/XexunProtocolEncoder.java
index 515cfbbd0..515cfbbd0 100644
--- a/src/org/traccar/protocol/XexunProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/XexunProtocolEncoder.java
diff --git a/src/org/traccar/protocol/XirgoProtocol.java b/src/main/java/org/traccar/protocol/XirgoProtocol.java
index 4979fda5d..4979fda5d 100644
--- a/src/org/traccar/protocol/XirgoProtocol.java
+++ b/src/main/java/org/traccar/protocol/XirgoProtocol.java
diff --git a/src/org/traccar/protocol/XirgoProtocolDecoder.java b/src/main/java/org/traccar/protocol/XirgoProtocolDecoder.java
index 6d215e672..6d215e672 100644
--- a/src/org/traccar/protocol/XirgoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/XirgoProtocolDecoder.java
diff --git a/src/org/traccar/protocol/XirgoProtocolEncoder.java b/src/main/java/org/traccar/protocol/XirgoProtocolEncoder.java
index dd5e30cca..dd5e30cca 100644
--- a/src/org/traccar/protocol/XirgoProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/XirgoProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Xrb28Protocol.java b/src/main/java/org/traccar/protocol/Xrb28Protocol.java
index b1f1c34fb..b1f1c34fb 100644
--- a/src/org/traccar/protocol/Xrb28Protocol.java
+++ b/src/main/java/org/traccar/protocol/Xrb28Protocol.java
diff --git a/src/org/traccar/protocol/Xrb28ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java
index 938394d6b..938394d6b 100644
--- a/src/org/traccar/protocol/Xrb28ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Xrb28ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Xrb28ProtocolEncoder.java b/src/main/java/org/traccar/protocol/Xrb28ProtocolEncoder.java
index 617639312..617639312 100644
--- a/src/org/traccar/protocol/Xrb28ProtocolEncoder.java
+++ b/src/main/java/org/traccar/protocol/Xrb28ProtocolEncoder.java
diff --git a/src/org/traccar/protocol/Xt013Protocol.java b/src/main/java/org/traccar/protocol/Xt013Protocol.java
index ebb3c123f..ebb3c123f 100644
--- a/src/org/traccar/protocol/Xt013Protocol.java
+++ b/src/main/java/org/traccar/protocol/Xt013Protocol.java
diff --git a/src/org/traccar/protocol/Xt013ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Xt013ProtocolDecoder.java
index f49fb9563..f49fb9563 100644
--- a/src/org/traccar/protocol/Xt013ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Xt013ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/Xt2400Protocol.java b/src/main/java/org/traccar/protocol/Xt2400Protocol.java
index 9427876c8..9427876c8 100644
--- a/src/org/traccar/protocol/Xt2400Protocol.java
+++ b/src/main/java/org/traccar/protocol/Xt2400Protocol.java
diff --git a/src/org/traccar/protocol/Xt2400ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java
index 819011a50..819011a50 100644
--- a/src/org/traccar/protocol/Xt2400ProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java
diff --git a/src/org/traccar/protocol/YwtProtocol.java b/src/main/java/org/traccar/protocol/YwtProtocol.java
index c525b75cf..c525b75cf 100644
--- a/src/org/traccar/protocol/YwtProtocol.java
+++ b/src/main/java/org/traccar/protocol/YwtProtocol.java
diff --git a/src/org/traccar/protocol/YwtProtocolDecoder.java b/src/main/java/org/traccar/protocol/YwtProtocolDecoder.java
index bf5a23fa7..bf5a23fa7 100644
--- a/src/org/traccar/protocol/YwtProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/YwtProtocolDecoder.java
diff --git a/src/org/traccar/reports/Events.java b/src/main/java/org/traccar/reports/Events.java
index 66d9e708d..66d9e708d 100644
--- a/src/org/traccar/reports/Events.java
+++ b/src/main/java/org/traccar/reports/Events.java
diff --git a/src/org/traccar/reports/ReportUtils.java b/src/main/java/org/traccar/reports/ReportUtils.java
index 3a631e0d9..3a631e0d9 100644
--- a/src/org/traccar/reports/ReportUtils.java
+++ b/src/main/java/org/traccar/reports/ReportUtils.java
diff --git a/src/org/traccar/reports/Route.java b/src/main/java/org/traccar/reports/Route.java
index 6adb00aae..6adb00aae 100644
--- a/src/org/traccar/reports/Route.java
+++ b/src/main/java/org/traccar/reports/Route.java
diff --git a/src/org/traccar/reports/Stops.java b/src/main/java/org/traccar/reports/Stops.java
index 98c9cef00..98c9cef00 100644
--- a/src/org/traccar/reports/Stops.java
+++ b/src/main/java/org/traccar/reports/Stops.java
diff --git a/src/org/traccar/reports/Summary.java b/src/main/java/org/traccar/reports/Summary.java
index 9810424d8..9810424d8 100644
--- a/src/org/traccar/reports/Summary.java
+++ b/src/main/java/org/traccar/reports/Summary.java
diff --git a/src/org/traccar/reports/Trips.java b/src/main/java/org/traccar/reports/Trips.java
index 3cda65553..3cda65553 100644
--- a/src/org/traccar/reports/Trips.java
+++ b/src/main/java/org/traccar/reports/Trips.java
diff --git a/src/org/traccar/reports/model/BaseReport.java b/src/main/java/org/traccar/reports/model/BaseReport.java
index 9f2d1188c..9f2d1188c 100644
--- a/src/org/traccar/reports/model/BaseReport.java
+++ b/src/main/java/org/traccar/reports/model/BaseReport.java
diff --git a/src/org/traccar/reports/model/DeviceReport.java b/src/main/java/org/traccar/reports/model/DeviceReport.java
index 932753d15..932753d15 100644
--- a/src/org/traccar/reports/model/DeviceReport.java
+++ b/src/main/java/org/traccar/reports/model/DeviceReport.java
diff --git a/src/org/traccar/reports/model/StopReport.java b/src/main/java/org/traccar/reports/model/StopReport.java
index 245292b63..245292b63 100644
--- a/src/org/traccar/reports/model/StopReport.java
+++ b/src/main/java/org/traccar/reports/model/StopReport.java
diff --git a/src/org/traccar/reports/model/SummaryReport.java b/src/main/java/org/traccar/reports/model/SummaryReport.java
index 6f9e9459f..6f9e9459f 100644
--- a/src/org/traccar/reports/model/SummaryReport.java
+++ b/src/main/java/org/traccar/reports/model/SummaryReport.java
diff --git a/src/org/traccar/reports/model/TripReport.java b/src/main/java/org/traccar/reports/model/TripReport.java
index 3140f3019..3140f3019 100644
--- a/src/org/traccar/reports/model/TripReport.java
+++ b/src/main/java/org/traccar/reports/model/TripReport.java
diff --git a/src/org/traccar/reports/model/TripsConfig.java b/src/main/java/org/traccar/reports/model/TripsConfig.java
index 0f0c615d3..0f0c615d3 100644
--- a/src/org/traccar/reports/model/TripsConfig.java
+++ b/src/main/java/org/traccar/reports/model/TripsConfig.java
diff --git a/src/org/traccar/sms/HttpSmsClient.java b/src/main/java/org/traccar/sms/HttpSmsClient.java
index 8e2b67bf7..8e2b67bf7 100644
--- a/src/org/traccar/sms/HttpSmsClient.java
+++ b/src/main/java/org/traccar/sms/HttpSmsClient.java
diff --git a/src/org/traccar/sms/SmsManager.java b/src/main/java/org/traccar/sms/SmsManager.java
index 1e3d40f6e..3b0cbda7f 100644
--- a/src/org/traccar/sms/SmsManager.java
+++ b/src/main/java/org/traccar/sms/SmsManager.java
@@ -24,6 +24,6 @@ public interface SmsManager {
String destAddress, String message, boolean command) throws InterruptedException, MessageException;
void sendMessageAsync(
- final String destAddress, final String message, final boolean command);
+ String destAddress, String message, boolean command);
}
diff --git a/src/org/traccar/sms/smpp/ClientSmppSessionHandler.java b/src/main/java/org/traccar/sms/smpp/ClientSmppSessionHandler.java
index 6b9de3107..6b9de3107 100644
--- a/src/org/traccar/sms/smpp/ClientSmppSessionHandler.java
+++ b/src/main/java/org/traccar/sms/smpp/ClientSmppSessionHandler.java
diff --git a/src/org/traccar/sms/smpp/EnquireLinkTask.java b/src/main/java/org/traccar/sms/smpp/EnquireLinkTask.java
index 7086709d7..7086709d7 100644
--- a/src/org/traccar/sms/smpp/EnquireLinkTask.java
+++ b/src/main/java/org/traccar/sms/smpp/EnquireLinkTask.java
diff --git a/src/org/traccar/sms/smpp/ReconnectionTask.java b/src/main/java/org/traccar/sms/smpp/ReconnectionTask.java
index c009de8e7..c009de8e7 100644
--- a/src/org/traccar/sms/smpp/ReconnectionTask.java
+++ b/src/main/java/org/traccar/sms/smpp/ReconnectionTask.java
diff --git a/src/org/traccar/sms/smpp/SmppClient.java b/src/main/java/org/traccar/sms/smpp/SmppClient.java
index 874253d36..874253d36 100644
--- a/src/org/traccar/sms/smpp/SmppClient.java
+++ b/src/main/java/org/traccar/sms/smpp/SmppClient.java
diff --git a/src/org/traccar/sms/smpp/TextMessageEventHandler.java b/src/main/java/org/traccar/sms/smpp/TextMessageEventHandler.java
index 37c29972d..37c29972d 100644
--- a/src/org/traccar/sms/smpp/TextMessageEventHandler.java
+++ b/src/main/java/org/traccar/sms/smpp/TextMessageEventHandler.java
diff --git a/src/org/traccar/web/ConsoleServlet.java b/src/main/java/org/traccar/web/ConsoleServlet.java
index 2b38a935a..2b38a935a 100644
--- a/src/org/traccar/web/ConsoleServlet.java
+++ b/src/main/java/org/traccar/web/ConsoleServlet.java
diff --git a/src/org/traccar/web/CsvBuilder.java b/src/main/java/org/traccar/web/CsvBuilder.java
index 3fe7e408f..3fe7e408f 100644
--- a/src/org/traccar/web/CsvBuilder.java
+++ b/src/main/java/org/traccar/web/CsvBuilder.java
diff --git a/src/org/traccar/web/GpxBuilder.java b/src/main/java/org/traccar/web/GpxBuilder.java
index 638d100e5..638d100e5 100644
--- a/src/org/traccar/web/GpxBuilder.java
+++ b/src/main/java/org/traccar/web/GpxBuilder.java
diff --git a/src/org/traccar/web/WebServer.java b/src/main/java/org/traccar/web/WebServer.java
index 70fef4ed3..70fef4ed3 100644
--- a/src/org/traccar/web/WebServer.java
+++ b/src/main/java/org/traccar/web/WebServer.java
diff --git a/test/org/traccar/BaseTest.java b/src/test/java/org/traccar/BaseTest.java
index 0b2c616ce..0b2c616ce 100644
--- a/test/org/traccar/BaseTest.java
+++ b/src/test/java/org/traccar/BaseTest.java
diff --git a/test/org/traccar/ProtocolTest.java b/src/test/java/org/traccar/ProtocolTest.java
index 4d48bb763..4d48bb763 100644
--- a/test/org/traccar/ProtocolTest.java
+++ b/src/test/java/org/traccar/ProtocolTest.java
diff --git a/test/org/traccar/TestIdentityManager.java b/src/test/java/org/traccar/TestIdentityManager.java
index 0f7405dbd..0f7405dbd 100644
--- a/test/org/traccar/TestIdentityManager.java
+++ b/src/test/java/org/traccar/TestIdentityManager.java
diff --git a/test/org/traccar/WebDataHandlerTest.java b/src/test/java/org/traccar/WebDataHandlerTest.java
index cfbd71f23..cfbd71f23 100644
--- a/test/org/traccar/WebDataHandlerTest.java
+++ b/src/test/java/org/traccar/WebDataHandlerTest.java
diff --git a/test/org/traccar/calendar/CalendarTest.java b/src/test/java/org/traccar/calendar/CalendarTest.java
index 56406d4b8..56406d4b8 100644
--- a/test/org/traccar/calendar/CalendarTest.java
+++ b/src/test/java/org/traccar/calendar/CalendarTest.java
diff --git a/test/org/traccar/config/ConfigTest.java b/src/test/java/org/traccar/config/ConfigTest.java
index 13d0ffb04..13d0ffb04 100644
--- a/test/org/traccar/config/ConfigTest.java
+++ b/src/test/java/org/traccar/config/ConfigTest.java
diff --git a/test/org/traccar/database/DataManagerTest.java b/src/test/java/org/traccar/database/DataManagerTest.java
index 23043e96e..23043e96e 100644
--- a/test/org/traccar/database/DataManagerTest.java
+++ b/src/test/java/org/traccar/database/DataManagerTest.java
diff --git a/test/org/traccar/database/GroupTreeTest.java b/src/test/java/org/traccar/database/GroupTreeTest.java
index b547aab60..b547aab60 100644
--- a/test/org/traccar/database/GroupTreeTest.java
+++ b/src/test/java/org/traccar/database/GroupTreeTest.java
diff --git a/test/org/traccar/geocoder/AddressFormatTest.java b/src/test/java/org/traccar/geocoder/AddressFormatTest.java
index 0cc5168ef..0cc5168ef 100644
--- a/test/org/traccar/geocoder/AddressFormatTest.java
+++ b/src/test/java/org/traccar/geocoder/AddressFormatTest.java
diff --git a/test/org/traccar/geocoder/GeocoderTest.java b/src/test/java/org/traccar/geocoder/GeocoderTest.java
index 85d9bf62f..85d9bf62f 100644
--- a/test/org/traccar/geocoder/GeocoderTest.java
+++ b/src/test/java/org/traccar/geocoder/GeocoderTest.java
diff --git a/test/org/traccar/geofence/GeofenceCircleTest.java b/src/test/java/org/traccar/geofence/GeofenceCircleTest.java
index 259a8fb77..259a8fb77 100644
--- a/test/org/traccar/geofence/GeofenceCircleTest.java
+++ b/src/test/java/org/traccar/geofence/GeofenceCircleTest.java
diff --git a/test/org/traccar/geofence/GeofencePolygonTest.java b/src/test/java/org/traccar/geofence/GeofencePolygonTest.java
index 94b73af3a..94b73af3a 100644
--- a/test/org/traccar/geofence/GeofencePolygonTest.java
+++ b/src/test/java/org/traccar/geofence/GeofencePolygonTest.java
diff --git a/test/org/traccar/geofence/GeofencePolylineTest.java b/src/test/java/org/traccar/geofence/GeofencePolylineTest.java
index 1e9dcb7c3..1e9dcb7c3 100644
--- a/test/org/traccar/geofence/GeofencePolylineTest.java
+++ b/src/test/java/org/traccar/geofence/GeofencePolylineTest.java
diff --git a/test/org/traccar/geolocation/GeolocationProviderTest.java b/src/test/java/org/traccar/geolocation/GeolocationProviderTest.java
index 2729052d6..2729052d6 100644
--- a/test/org/traccar/geolocation/GeolocationProviderTest.java
+++ b/src/test/java/org/traccar/geolocation/GeolocationProviderTest.java
diff --git a/test/org/traccar/handler/ComputedAttributesTest.java b/src/test/java/org/traccar/handler/ComputedAttributesTest.java
index a76d8169b..a76d8169b 100644
--- a/test/org/traccar/handler/ComputedAttributesTest.java
+++ b/src/test/java/org/traccar/handler/ComputedAttributesTest.java
diff --git a/test/org/traccar/handler/DistanceHandlerTest.java b/src/test/java/org/traccar/handler/DistanceHandlerTest.java
index f7c6e42cd..f7c6e42cd 100644
--- a/test/org/traccar/handler/DistanceHandlerTest.java
+++ b/src/test/java/org/traccar/handler/DistanceHandlerTest.java
diff --git a/test/org/traccar/handler/FilterHandlerTest.java b/src/test/java/org/traccar/handler/FilterHandlerTest.java
index ad8d244a6..ad8d244a6 100644
--- a/test/org/traccar/handler/FilterHandlerTest.java
+++ b/src/test/java/org/traccar/handler/FilterHandlerTest.java
diff --git a/test/org/traccar/handler/MotionHandlerTest.java b/src/test/java/org/traccar/handler/MotionHandlerTest.java
index 9e0859664..9e0859664 100644
--- a/test/org/traccar/handler/MotionHandlerTest.java
+++ b/src/test/java/org/traccar/handler/MotionHandlerTest.java
diff --git a/test/org/traccar/handler/events/AlertEventHandlerTest.java b/src/test/java/org/traccar/handler/events/AlertEventHandlerTest.java
index 3f0823245..3f0823245 100644
--- a/test/org/traccar/handler/events/AlertEventHandlerTest.java
+++ b/src/test/java/org/traccar/handler/events/AlertEventHandlerTest.java
diff --git a/test/org/traccar/handler/events/CommandResultEventHandlerTest.java b/src/test/java/org/traccar/handler/events/CommandResultEventHandlerTest.java
index 0ccf9f6b4..0ccf9f6b4 100644
--- a/test/org/traccar/handler/events/CommandResultEventHandlerTest.java
+++ b/src/test/java/org/traccar/handler/events/CommandResultEventHandlerTest.java
diff --git a/test/org/traccar/handler/events/IgnitionEventHandlerTest.java b/src/test/java/org/traccar/handler/events/IgnitionEventHandlerTest.java
index dade20fb8..dade20fb8 100644
--- a/test/org/traccar/handler/events/IgnitionEventHandlerTest.java
+++ b/src/test/java/org/traccar/handler/events/IgnitionEventHandlerTest.java
diff --git a/test/org/traccar/handler/events/MotionEventHandlerTest.java b/src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java
index f57c16635..f57c16635 100644
--- a/test/org/traccar/handler/events/MotionEventHandlerTest.java
+++ b/src/test/java/org/traccar/handler/events/MotionEventHandlerTest.java
diff --git a/test/org/traccar/handler/events/OverspeedEventHandlerTest.java b/src/test/java/org/traccar/handler/events/OverspeedEventHandlerTest.java
index 515f37b5d..515f37b5d 100644
--- a/test/org/traccar/handler/events/OverspeedEventHandlerTest.java
+++ b/src/test/java/org/traccar/handler/events/OverspeedEventHandlerTest.java
diff --git a/test/org/traccar/helper/BcdUtilTest.java b/src/test/java/org/traccar/helper/BcdUtilTest.java
index 86a32f725..86a32f725 100644
--- a/test/org/traccar/helper/BcdUtilTest.java
+++ b/src/test/java/org/traccar/helper/BcdUtilTest.java
diff --git a/test/org/traccar/helper/BitBufferTest.java b/src/test/java/org/traccar/helper/BitBufferTest.java
index c2abad36d..c2abad36d 100644
--- a/test/org/traccar/helper/BitBufferTest.java
+++ b/src/test/java/org/traccar/helper/BitBufferTest.java
diff --git a/test/org/traccar/helper/BitUtilTest.java b/src/test/java/org/traccar/helper/BitUtilTest.java
index 90431bf55..90431bf55 100644
--- a/test/org/traccar/helper/BitUtilTest.java
+++ b/src/test/java/org/traccar/helper/BitUtilTest.java
diff --git a/test/org/traccar/helper/ChecksumTest.java b/src/test/java/org/traccar/helper/ChecksumTest.java
index 5737b9ff5..5737b9ff5 100644
--- a/test/org/traccar/helper/ChecksumTest.java
+++ b/src/test/java/org/traccar/helper/ChecksumTest.java
diff --git a/test/org/traccar/helper/DateBuilderTest.java b/src/test/java/org/traccar/helper/DateBuilderTest.java
index b6323cc1d..b6323cc1d 100644
--- a/test/org/traccar/helper/DateBuilderTest.java
+++ b/src/test/java/org/traccar/helper/DateBuilderTest.java
diff --git a/test/org/traccar/helper/DateUtilTest.java b/src/test/java/org/traccar/helper/DateUtilTest.java
index ec42e71ae..ec42e71ae 100644
--- a/test/org/traccar/helper/DateUtilTest.java
+++ b/src/test/java/org/traccar/helper/DateUtilTest.java
diff --git a/test/org/traccar/helper/DistanceCalculatorTest.java b/src/test/java/org/traccar/helper/DistanceCalculatorTest.java
index a7457b6c4..a7457b6c4 100644
--- a/test/org/traccar/helper/DistanceCalculatorTest.java
+++ b/src/test/java/org/traccar/helper/DistanceCalculatorTest.java
diff --git a/test/org/traccar/helper/LocationTreeTest.java b/src/test/java/org/traccar/helper/LocationTreeTest.java
index 21604144a..21604144a 100644
--- a/test/org/traccar/helper/LocationTreeTest.java
+++ b/src/test/java/org/traccar/helper/LocationTreeTest.java
diff --git a/test/org/traccar/helper/LogTest.java b/src/test/java/org/traccar/helper/LogTest.java
index 853eb05c9..853eb05c9 100644
--- a/test/org/traccar/helper/LogTest.java
+++ b/src/test/java/org/traccar/helper/LogTest.java
diff --git a/test/org/traccar/helper/ObdDecoderTest.java b/src/test/java/org/traccar/helper/ObdDecoderTest.java
index 1ffe68c8b..1ffe68c8b 100644
--- a/test/org/traccar/helper/ObdDecoderTest.java
+++ b/src/test/java/org/traccar/helper/ObdDecoderTest.java
diff --git a/test/org/traccar/helper/PatternBuilderTest.java b/src/test/java/org/traccar/helper/PatternBuilderTest.java
index 4c76bc463..4c76bc463 100644
--- a/test/org/traccar/helper/PatternBuilderTest.java
+++ b/src/test/java/org/traccar/helper/PatternBuilderTest.java
diff --git a/test/org/traccar/helper/PatternUtilTest.java b/src/test/java/org/traccar/helper/PatternUtilTest.java
index 77660078a..77660078a 100644
--- a/test/org/traccar/helper/PatternUtilTest.java
+++ b/src/test/java/org/traccar/helper/PatternUtilTest.java
diff --git a/test/org/traccar/model/MiscFormatterTest.java b/src/test/java/org/traccar/model/MiscFormatterTest.java
index eb93d5b38..eb93d5b38 100644
--- a/test/org/traccar/model/MiscFormatterTest.java
+++ b/src/test/java/org/traccar/model/MiscFormatterTest.java
diff --git a/test/org/traccar/notification/NotificiationMailTest.java b/src/test/java/org/traccar/notification/NotificiationMailTest.java
index b82bec02e..b82bec02e 100644
--- a/test/org/traccar/notification/NotificiationMailTest.java
+++ b/src/test/java/org/traccar/notification/NotificiationMailTest.java
diff --git a/test/org/traccar/protocol/AdmProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java
index 599dd6190..599dd6190 100644
--- a/test/org/traccar/protocol/AdmProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AdmProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AdmProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/AdmProtocolEncoderTest.java
index cb0a31ceb..cb0a31ceb 100644
--- a/test/org/traccar/protocol/AdmProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/AdmProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/AisProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AisProtocolDecoderTest.java
index 9cb9f695a..9cb9f695a 100644
--- a/test/org/traccar/protocol/AisProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AisProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AlematicsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AlematicsProtocolDecoderTest.java
index 47ea8137e..47ea8137e 100644
--- a/test/org/traccar/protocol/AlematicsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AlematicsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AnytrekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AnytrekProtocolDecoderTest.java
index e3aa0550b..e3aa0550b 100644
--- a/test/org/traccar/protocol/AnytrekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AnytrekProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ApelProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ApelProtocolDecoderTest.java
index c32abe6a8..c32abe6a8 100644
--- a/test/org/traccar/protocol/ApelProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ApelProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AplicomFrameDecoderTest.java b/src/test/java/org/traccar/protocol/AplicomFrameDecoderTest.java
index 581f7696f..581f7696f 100644
--- a/test/org/traccar/protocol/AplicomFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AplicomFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AplicomProtocolDecoderTest.java
index 0b4180bd0..0b4180bd0 100644
--- a/test/org/traccar/protocol/AplicomProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AplicomProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AppelloProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AppelloProtocolDecoderTest.java
index ac0858e82..ac0858e82 100644
--- a/test/org/traccar/protocol/AppelloProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AppelloProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AppletProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AppletProtocolDecoderTest.java
index ad13c60f6..ad13c60f6 100644
--- a/test/org/traccar/protocol/AppletProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AppletProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AquilaProtocolDecoderTest.java
index 793b2c646..793b2c646 100644
--- a/test/org/traccar/protocol/AquilaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AquilaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Ardi01ProtocolDecoderTest.java
index 8498bb7f9..8498bb7f9 100644
--- a/test/org/traccar/protocol/Ardi01ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Ardi01ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ArknavProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ArknavProtocolDecoderTest.java
index 18901d9a6..18901d9a6 100644
--- a/test/org/traccar/protocol/ArknavProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ArknavProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ArknavX8ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ArknavX8ProtocolDecoderTest.java
index dfe1435d1..dfe1435d1 100644
--- a/test/org/traccar/protocol/ArknavX8ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ArknavX8ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ArnaviProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ArnaviProtocolDecoderTest.java
index 6b075facc..6b075facc 100644
--- a/test/org/traccar/protocol/ArnaviProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ArnaviProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AstraProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
index 453ec9da5..453ec9da5 100644
--- a/test/org/traccar/protocol/AstraProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AstraProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/At2000FrameDecoderTest.java b/src/test/java/org/traccar/protocol/At2000FrameDecoderTest.java
index c5829d588..c5829d588 100644
--- a/test/org/traccar/protocol/At2000FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/At2000FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/At2000ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/At2000ProtocolDecoderTest.java
index 9e2f180d2..9e2f180d2 100644
--- a/test/org/traccar/protocol/At2000ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/At2000ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AtrackFrameDecoderTest.java b/src/test/java/org/traccar/protocol/AtrackFrameDecoderTest.java
index 3a26bb7a7..3a26bb7a7 100644
--- a/test/org/traccar/protocol/AtrackFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AtrackFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java
index 3a9382086..3a9382086 100644
--- a/test/org/traccar/protocol/AtrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AtrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AuroProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AuroProtocolDecoderTest.java
index aeea48967..aeea48967 100644
--- a/test/org/traccar/protocol/AuroProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AuroProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AustinNbProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AustinNbProtocolDecoderTest.java
index fa8f3a071..fa8f3a071 100644
--- a/test/org/traccar/protocol/AustinNbProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AustinNbProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AutoFonProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AutoFonProtocolDecoderTest.java
index 4c8199a13..9e17b437f 100644
--- a/test/org/traccar/protocol/AutoFonProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AutoFonProtocolDecoderTest.java
@@ -1,41 +1,41 @@
-package org.traccar.protocol;
-
-import org.junit.Test;
-import org.traccar.ProtocolTest;
-
-
-public class AutoFonProtocolDecoderTest extends ProtocolTest {
-
- @Test
- public void testDecode() throws Exception {
-
- AutoFonProtocolDecoder decoder = new AutoFonProtocolDecoder(null);
-
- verifyNull(decoder, binary(
- "10556103592310314825728F"));
-
- verifyPosition(decoder, binary(
- "02080000251848470afa010262daa690013aa4046da83745f8812560df010001126a"));
-
- verifyPosition(decoder, binary(
- "111E00000000000000000100007101010B0C020302010B0C0005A053FFFFFFFF02010B0C00276047FFFFFFFF1F5600FA000176F218C7850C0B0B0C203A033DBD46035783EF009E00320014FFFF45"));
-
- //verifyPosition(decoder, binary(
- // "12060000007501010B0C00089CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF02007601010B0C00269CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF4A007601010B0C01089CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF04007501010B0C01269CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF80007601010B0C02089CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFFA6007501010B0C02231F5600FA000176F218C70000000000000000000000000000000000000003E7FFFF9629"));
-
- verifyNull(decoder, binary(
- "41035151305289931441139602662095148807"));
-
- verifyNull(decoder, binary(
- "41032125656985547543619173484002123481"));
-
- verifyPosition(decoder, binary(
- "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"),
- position("2010-01-27 04:00:08.000", true, 54.73838, 56.10343));
-
- verifyPosition(decoder, binary(
- "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"));
-
- }
-
-}
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+
+
+public class AutoFonProtocolDecoderTest extends ProtocolTest {
+
+ @Test
+ public void testDecode() throws Exception {
+
+ AutoFonProtocolDecoder decoder = new AutoFonProtocolDecoder(null);
+
+ verifyNull(decoder, binary(
+ "10556103592310314825728F"));
+
+ verifyPosition(decoder, binary(
+ "02080000251848470afa010262daa690013aa4046da83745f8812560df010001126a"));
+
+ verifyPosition(decoder, binary(
+ "111E00000000000000000100007101010B0C020302010B0C0005A053FFFFFFFF02010B0C00276047FFFFFFFF1F5600FA000176F218C7850C0B0B0C203A033DBD46035783EF009E00320014FFFF45"));
+
+ //verifyPosition(decoder, binary(
+ // "12060000007501010B0C00089CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF02007601010B0C00269CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF4A007601010B0C01089CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF04007501010B0C01269CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFF80007601010B0C02089CFFFFFFFFFFFFFFFFFF0000000000000000000000000000000000000003E7FFFFA6007501010B0C02231F5600FA000176F218C70000000000000000000000000000000000000003E7FFFF9629"));
+
+ verifyNull(decoder, binary(
+ "41035151305289931441139602662095148807"));
+
+ verifyNull(decoder, binary(
+ "41032125656985547543619173484002123481"));
+
+ verifyPosition(decoder, binary(
+ "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"),
+ position("2010-01-27 04:00:08.000", true, 54.73838, 56.10343));
+
+ verifyPosition(decoder, binary(
+ "023E00001E004D411EFA01772F185285009C48041F1E366C2961380F26B10B00911C"));
+
+ }
+
+}
diff --git a/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AutoGradeProtocolDecoderTest.java
index f71fcd8eb..f71fcd8eb 100644
--- a/test/org/traccar/protocol/AutoGradeProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AutoGradeProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AutoTrackProtocolDecoderTest.java
index 5daafcc40..5daafcc40 100644
--- a/test/org/traccar/protocol/AutoTrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AutoTrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/AvemaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/AvemaProtocolDecoderTest.java
index d3be0b6d6..d3be0b6d6 100644
--- a/test/org/traccar/protocol/AvemaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/AvemaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Avl301ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Avl301ProtocolDecoderTest.java
index 0972e3fd4..0972e3fd4 100644
--- a/test/org/traccar/protocol/Avl301ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Avl301ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/BceProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java
index 400ba7e12..400ba7e12 100644
--- a/test/org/traccar/protocol/BceProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/BceProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/BceProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/BceProtocolEncoderTest.java
index bdcc1f9e8..bdcc1f9e8 100644
--- a/test/org/traccar/protocol/BceProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/BceProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/BlackKiteProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/BlackKiteProtocolDecoderTest.java
index 9a24ece1f..9a24ece1f 100644
--- a/test/org/traccar/protocol/BlackKiteProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/BlackKiteProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/BoxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java
index d661a10f2..d661a10f2 100644
--- a/test/org/traccar/protocol/BoxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/BoxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/C2stekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java
index 9f841fb8c..9f841fb8c 100644
--- a/test/org/traccar/protocol/C2stekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/C2stekProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java
index 5ed3f5dc8..5ed3f5dc8 100644
--- a/test/org/traccar/protocol/CalAmpProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CalAmpProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CarTrackProtocolDecoderTest.java
index c8db07ee3..c8db07ee3 100644
--- a/test/org/traccar/protocol/CarTrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CarTrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CarscopProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CarscopProtocolDecoderTest.java
index 412901d90..412901d90 100644
--- a/test/org/traccar/protocol/CarscopProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CarscopProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CastelProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java
index 27f503b34..27f503b34 100644
--- a/test/org/traccar/protocol/CastelProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CastelProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CastelProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/CastelProtocolEncoderTest.java
index bcb93a010..bcb93a010 100644
--- a/test/org/traccar/protocol/CastelProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/CastelProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/CautelaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CautelaProtocolDecoderTest.java
index 28236c87f..28236c87f 100644
--- a/test/org/traccar/protocol/CautelaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CautelaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CellocatorProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java
index 769760fa5..769760fa5 100644
--- a/test/org/traccar/protocol/CellocatorProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CellocatorProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CellocatorProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/CellocatorProtocolEncoderTest.java
index 89850fb5f..89850fb5f 100644
--- a/test/org/traccar/protocol/CellocatorProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/CellocatorProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/CguardProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CguardProtocolDecoderTest.java
index a386b6b47..a386b6b47 100644
--- a/test/org/traccar/protocol/CguardProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CguardProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CityeasyProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CityeasyProtocolDecoderTest.java
index 146e13ae8..146e13ae8 100644
--- a/test/org/traccar/protocol/CityeasyProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CityeasyProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CityeasyProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/CityeasyProtocolEncoderTest.java
index 7c03b7d5b..7c03b7d5b 100644
--- a/test/org/traccar/protocol/CityeasyProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/CityeasyProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/ContinentalProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ContinentalProtocolDecoderTest.java
index 83722ef97..83722ef97 100644
--- a/test/org/traccar/protocol/ContinentalProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ContinentalProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/CradlepointProtocolDecoderTest.java
index 7ffad8015..7ffad8015 100644
--- a/test/org/traccar/protocol/CradlepointProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/CradlepointProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/DishaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/DishaProtocolDecoderTest.java
index ddb5aca18..ddb5aca18 100644
--- a/test/org/traccar/protocol/DishaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/DishaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/DmtHttpProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/DmtHttpProtocolDecoderTest.java
index e9d98d6d3..e9d98d6d3 100644
--- a/test/org/traccar/protocol/DmtHttpProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/DmtHttpProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/DmtProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/DmtProtocolDecoderTest.java
index ae5e9353c..ae5e9353c 100644
--- a/test/org/traccar/protocol/DmtProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/DmtProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/DwayProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/DwayProtocolDecoderTest.java
index 107a2a435..107a2a435 100644
--- a/test/org/traccar/protocol/DwayProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/DwayProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
index b26991ae7..b26991ae7 100644
--- a/test/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EasyTrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EelinkProtocolDecoderTest.java
index e3cff9525..e3cff9525 100644
--- a/test/org/traccar/protocol/EelinkProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EelinkProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/EelinkProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/EelinkProtocolEncoderTest.java
index e4502f919..e4502f919 100644
--- a/test/org/traccar/protocol/EelinkProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/EelinkProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/EgtsFrameDecoderTest.java b/src/test/java/org/traccar/protocol/EgtsFrameDecoderTest.java
index 237c849c5..237c849c5 100644
--- a/test/org/traccar/protocol/EgtsFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EgtsFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/EgtsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java
index 2210893e7..2210893e7 100644
--- a/test/org/traccar/protocol/EgtsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EgtsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/EnforaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EnforaProtocolDecoderTest.java
index 1c2f9492a..1c2f9492a 100644
--- a/test/org/traccar/protocol/EnforaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EnforaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/EsealProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EsealProtocolDecoderTest.java
index b615e5062..b615e5062 100644
--- a/test/org/traccar/protocol/EsealProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EsealProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/EsealProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/EsealProtocolEncoderTest.java
index 16f00d69b..16f00d69b 100644
--- a/test/org/traccar/protocol/EsealProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/EsealProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/EskyFrameDecoderTest.java b/src/test/java/org/traccar/protocol/EskyFrameDecoderTest.java
index ed587e4f3..ed587e4f3 100644
--- a/test/org/traccar/protocol/EskyFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EskyFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/EskyProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java
index da7df0ab2..da7df0ab2 100644
--- a/test/org/traccar/protocol/EskyProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/EskyProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ExtremTracProtocolDecoderTest.java
index c5b3364cf..c5b3364cf 100644
--- a/test/org/traccar/protocol/ExtremTracProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ExtremTracProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/FifotrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java
index 1dcfc89c4..1dcfc89c4 100644
--- a/test/org/traccar/protocol/FifotrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FifotrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/FlespiProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FlespiProtocolDecoderTest.java
index 9e5a45a83..9e5a45a83 100644
--- a/test/org/traccar/protocol/FlespiProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FlespiProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/FlexCommProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FlexCommProtocolDecoderTest.java
index 28ecaf646..28ecaf646 100644
--- a/test/org/traccar/protocol/FlexCommProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FlexCommProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FlextrackProtocolDecoderTest.java
index 3f268fde9..3f268fde9 100644
--- a/test/org/traccar/protocol/FlextrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FlextrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/FoxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FoxProtocolDecoderTest.java
index 837b36b64..837b36b64 100644
--- a/test/org/traccar/protocol/FoxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FoxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FreedomProtocolDecoderTest.java
index b2fc1fd8d..b2fc1fd8d 100644
--- a/test/org/traccar/protocol/FreedomProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FreedomProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/FreematicsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java
index a84c4e357..a84c4e357 100644
--- a/test/org/traccar/protocol/FreematicsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/FreematicsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GalileoFrameDecoderTest.java b/src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java
index 4f4972895..4f4972895 100644
--- a/test/org/traccar/protocol/GalileoFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GalileoFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/GalileoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GalileoProtocolDecoderTest.java
index 74612caab..74612caab 100644
--- a/test/org/traccar/protocol/GalileoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GalileoProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GalileoProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/GalileoProtocolEncoderTest.java
index 34423578d..34423578d 100644
--- a/test/org/traccar/protocol/GalileoProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/GalileoProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/GatorProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GatorProtocolDecoderTest.java
index e2be99cb9..e2be99cb9 100644
--- a/test/org/traccar/protocol/GatorProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GatorProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GenxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GenxProtocolDecoderTest.java
index 373c8c49e..373c8c49e 100644
--- a/test/org/traccar/protocol/GenxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GenxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java
index ffafcd7b1..ffafcd7b1 100644
--- a/test/org/traccar/protocol/Gl100ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl100ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
index e6fb98340..e6fb98340 100644
--- a/test/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200BinaryProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gl200FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200FrameDecoderTest.java
index e90c6495a..e90c6495a 100644
--- a/test/org/traccar/protocol/Gl200FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
index 2fe860573..2fe860573 100644
--- a/test/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gl200TextProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GlobalSatProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GlobalSatProtocolDecoderTest.java
index 9746845a0..9746845a0 100644
--- a/test/org/traccar/protocol/GlobalSatProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GlobalSatProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GnxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GnxProtocolDecoderTest.java
index 91aca50c8..91aca50c8 100644
--- a/test/org/traccar/protocol/GnxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GnxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GoSafeProtocolDecoderTest.java
index 70c86bb23..70c86bb23 100644
--- a/test/org/traccar/protocol/GoSafeProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GoSafeProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GotopProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GotopProtocolDecoderTest.java
index ca3ddfda8..ca3ddfda8 100644
--- a/test/org/traccar/protocol/GotopProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GotopProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gps056FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Gps056FrameDecoderTest.java
index ce21f733f..ce21f733f 100644
--- a/test/org/traccar/protocol/Gps056FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gps056FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/Gps056ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gps056ProtocolDecoderTest.java
index a6d0c024a..a6d0c024a 100644
--- a/test/org/traccar/protocol/Gps056ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gps056ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java
index da8d8ff5a..da8d8ff5a 100644
--- a/test/org/traccar/protocol/Gps103ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gps103ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gps103ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Gps103ProtocolEncoderTest.java
index f888ee252..f888ee252 100644
--- a/test/org/traccar/protocol/Gps103ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gps103ProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GpsGateProtocolDecoderTest.java
index d35666b56..d35666b56 100644
--- a/test/org/traccar/protocol/GpsGateProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GpsGateProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java
index d6ba11cb7..d6ba11cb7 100644
--- a/test/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GpsMarkerProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GpsmtaProtocolDecoderTest.java
index 438d0fb3a..438d0fb3a 100644
--- a/test/org/traccar/protocol/GpsmtaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GpsmtaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/GranitFrameDecoderTest.java b/src/test/java/org/traccar/protocol/GranitFrameDecoderTest.java
index 7c4bb06c2..7c4bb06c2 100644
--- a/test/org/traccar/protocol/GranitFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GranitFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/GranitProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/GranitProtocolDecoderTest.java
index fc75b2a53..fc75b2a53 100644
--- a/test/org/traccar/protocol/GranitProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/GranitProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java
index f9b8f6509..f9b8f6509 100644
--- a/test/org/traccar/protocol/Gt02ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt02ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gt06FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06FrameDecoderTest.java
index cf6d1cfd7..cf6d1cfd7 100644
--- a/test/org/traccar/protocol/Gt06FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
index a6008e682..a6008e682 100644
--- a/test/org/traccar/protocol/Gt06ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Gt06ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Gt06ProtocolEncoderTest.java
index aceaef434..aceaef434 100644
--- a/test/org/traccar/protocol/Gt06ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt06ProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/Gt30ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Gt30ProtocolDecoderTest.java
index cb792ba09..cb792ba09 100644
--- a/test/org/traccar/protocol/Gt30ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Gt30ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/H02FrameDecoderTest.java b/src/test/java/org/traccar/protocol/H02FrameDecoderTest.java
index bdb2ff37b..bdb2ff37b 100644
--- a/test/org/traccar/protocol/H02FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/H02FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/H02ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
index 4a5eadf52..4a5eadf52 100644
--- a/test/org/traccar/protocol/H02ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/H02ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/H02ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java
index a7ce3fc7e..a7ce3fc7e 100644
--- a/test/org/traccar/protocol/H02ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/H02ProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/HaicomProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HaicomProtocolDecoderTest.java
index 6d879daf2..6d879daf2 100644
--- a/test/org/traccar/protocol/HaicomProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HaicomProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/HomtecsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HomtecsProtocolDecoderTest.java
index 9acf2ce87..9acf2ce87 100644
--- a/test/org/traccar/protocol/HomtecsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HomtecsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/HuaShengFrameDecoderTest.java b/src/test/java/org/traccar/protocol/HuaShengFrameDecoderTest.java
index 0f24d4b5c..0f24d4b5c 100644
--- a/test/org/traccar/protocol/HuaShengFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuaShengFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java
index 319d34e4c..319d34e4c 100644
--- a/test/org/traccar/protocol/HuaShengProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuaShengProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/HuabaoFrameDecoderTest.java b/src/test/java/org/traccar/protocol/HuabaoFrameDecoderTest.java
index 2d3937903..2d3937903 100644
--- a/test/org/traccar/protocol/HuabaoFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuabaoFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
index d4ae3b50c..d4ae3b50c 100644
--- a/test/org/traccar/protocol/HuabaoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuabaoProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/HuabaoProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/HuabaoProtocolEncoderTest.java
index 771e6d28c..771e6d28c 100644
--- a/test/org/traccar/protocol/HuabaoProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/HuabaoProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/HunterProProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/HunterProProtocolDecoderTest.java
index f0697f423..f0697f423 100644
--- a/test/org/traccar/protocol/HunterProProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/HunterProProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/IdplProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/IdplProtocolDecoderTest.java
index d211d80ce..d211d80ce 100644
--- a/test/org/traccar/protocol/IdplProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/IdplProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/IntellitracProtocolDecoderTest.java
index 00b7de094..00b7de094 100644
--- a/test/org/traccar/protocol/IntellitracProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/IntellitracProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ItsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java
index 7523e29a0..7523e29a0 100644
--- a/test/org/traccar/protocol/ItsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ItsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Ivt401ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Ivt401ProtocolDecoderTest.java
index b0b416891..b0b416891 100644
--- a/test/org/traccar/protocol/Ivt401ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Ivt401ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/JpKorjarProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/JpKorjarProtocolDecoderTest.java
index 8179a2bae..8179a2bae 100644
--- a/test/org/traccar/protocol/JpKorjarProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/JpKorjarProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Jt600FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java
index ae0948987..ae0948987 100644
--- a/test/org/traccar/protocol/Jt600FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
index 2bb4b0fa3..2bb4b0fa3 100644
--- a/test/org/traccar/protocol/Jt600ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Jt600ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java
index 100d7492a..100d7492a 100644
--- a/test/org/traccar/protocol/Jt600ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Jt600ProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/KenjiProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/KenjiProtocolDecoderTest.java
index 5596913c9..5596913c9 100755
--- a/test/org/traccar/protocol/KenjiProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/KenjiProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/KhdProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/KhdProtocolDecoderTest.java
index 62b6070b6..62b6070b6 100644
--- a/test/org/traccar/protocol/KhdProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/KhdProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/KhdProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/KhdProtocolEncoderTest.java
index ab858041a..ab858041a 100644
--- a/test/org/traccar/protocol/KhdProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/KhdProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/L100FrameDecoderTest.java b/src/test/java/org/traccar/protocol/L100FrameDecoderTest.java
index 5ffa3d8d1..5ffa3d8d1 100644
--- a/test/org/traccar/protocol/L100FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/L100FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/L100ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/L100ProtocolDecoderTest.java
index 04f586f7a..04f586f7a 100644
--- a/test/org/traccar/protocol/L100ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/L100ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/LaipacProtocolDecoderTest.java
index 31a0434bc..31a0434bc 100644
--- a/test/org/traccar/protocol/LaipacProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/LaipacProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/M2cProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/M2cProtocolDecoderTest.java
index 65c9cc43b..65c9cc43b 100644
--- a/test/org/traccar/protocol/M2cProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/M2cProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/M2mProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/M2mProtocolDecoderTest.java
index 1c45c976b..1c45c976b 100644
--- a/test/org/traccar/protocol/M2mProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/M2mProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MaestroProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MaestroProtocolDecoderTest.java
index c7a7624c0..c7a7624c0 100644
--- a/test/org/traccar/protocol/MaestroProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MaestroProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ManPowerProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ManPowerProtocolDecoderTest.java
index 1d6f80ae3..1d6f80ae3 100644
--- a/test/org/traccar/protocol/ManPowerProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ManPowerProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MegastekFrameDecoderTest.java b/src/test/java/org/traccar/protocol/MegastekFrameDecoderTest.java
index 68606a98a..68606a98a 100644
--- a/test/org/traccar/protocol/MegastekFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MegastekFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
index 1bf3dbd25..1bf3dbd25 100644
--- a/test/org/traccar/protocol/MegastekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MegastekProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MeiligaoFrameDecoderTest.java b/src/test/java/org/traccar/protocol/MeiligaoFrameDecoderTest.java
index 2d09c626b..2d09c626b 100644
--- a/test/org/traccar/protocol/MeiligaoFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeiligaoFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
index da5a81144..da5a81144 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeiligaoProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MeiligaoProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java
index ee4a869f9..ee4a869f9 100644
--- a/test/org/traccar/protocol/MeiligaoProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeiligaoProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/MeitrackFrameDecoderTest.java b/src/test/java/org/traccar/protocol/MeitrackFrameDecoderTest.java
index 53749816e..53749816e 100644
--- a/test/org/traccar/protocol/MeitrackFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeitrackFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java
index 3e05d5243..3e05d5243 100644
--- a/test/org/traccar/protocol/MeitrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeitrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MeitrackProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/MeitrackProtocolEncoderTest.java
index b63ce5051..b63ce5051 100644
--- a/test/org/traccar/protocol/MeitrackProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/MeitrackProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/MilesmateProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MilesmateProtocolDecoderTest.java
index be0209975..be0209975 100644
--- a/test/org/traccar/protocol/MilesmateProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MilesmateProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MiniFinderProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java
index afa930e5b..afa930e5b 100644
--- a/test/org/traccar/protocol/MiniFinderProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MiniFinderProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MiniFinderProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/MiniFinderProtocolEncoderTest.java
index e9422da9f..e9422da9f 100644
--- a/test/org/traccar/protocol/MiniFinderProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/MiniFinderProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/MtxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MtxProtocolDecoderTest.java
index c4f15d907..c4f15d907 100644
--- a/test/org/traccar/protocol/MtxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MtxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/MxtProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java
index 834a35011..834a35011 100644
--- a/test/org/traccar/protocol/MxtProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/MxtProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/NavigilProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NavigilProtocolDecoderTest.java
index 2db4afbf2..2db4afbf2 100644
--- a/test/org/traccar/protocol/NavigilProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NavigilProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/NavisFrameDecoderTest.java b/src/test/java/org/traccar/protocol/NavisFrameDecoderTest.java
index 0ebfeacd2..0ebfeacd2 100644
--- a/test/org/traccar/protocol/NavisFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NavisFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/NavisProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java
index 33a6bab24..33a6bab24 100644
--- a/test/org/traccar/protocol/NavisProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NavisProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/NeosProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NeosProtocolDecoderTest.java
index a8db30476..a8db30476 100644
--- a/test/org/traccar/protocol/NeosProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NeosProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/NoranProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NoranProtocolDecoderTest.java
index 7c02402b1..7c02402b1 100644
--- a/test/org/traccar/protocol/NoranProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NoranProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/NoranProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/NoranProtocolEncoderTest.java
index 38599e0ba..38599e0ba 100644
--- a/test/org/traccar/protocol/NoranProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/NoranProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/NvsFrameDecoderTest.java b/src/test/java/org/traccar/protocol/NvsFrameDecoderTest.java
index 8a00207eb..8a00207eb 100644
--- a/test/org/traccar/protocol/NvsFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NvsFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/NvsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NvsProtocolDecoderTest.java
index 9a516e733..9a516e733 100644
--- a/test/org/traccar/protocol/NvsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NvsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/NyitechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/NyitechProtocolDecoderTest.java
index 4cafd7612..4cafd7612 100644
--- a/test/org/traccar/protocol/NyitechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/NyitechProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ObdDongleProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ObdDongleProtocolDecoderTest.java
index 4c33d1766..4c33d1766 100644
--- a/test/org/traccar/protocol/ObdDongleProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ObdDongleProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/OigoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/OigoProtocolDecoderTest.java
index c79978f88..c79978f88 100644
--- a/test/org/traccar/protocol/OigoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OigoProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/OkoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/OkoProtocolDecoderTest.java
index e2f72c161..e2f72c161 100644
--- a/test/org/traccar/protocol/OkoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OkoProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/OpenGtsProtocolDecoderTest.java
index a04cf4e72..a04cf4e72 100644
--- a/test/org/traccar/protocol/OpenGtsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OpenGtsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/OrionProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/OrionProtocolDecoderTest.java
index bb5f1f135..bb5f1f135 100644
--- a/test/org/traccar/protocol/OrionProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OrionProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/OsmAndProtocolDecoderTest.java
index 3c38bd831..3c38bd831 100644
--- a/test/org/traccar/protocol/OsmAndProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OsmAndProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/OwnTracksProtocolDecoderTest.java
index 248920e21..248920e21 100644
--- a/test/org/traccar/protocol/OwnTracksProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/OwnTracksProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/PathAwayProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PathAwayProtocolDecoderTest.java
index 4b9739242..4b9739242 100644
--- a/test/org/traccar/protocol/PathAwayProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PathAwayProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java
index 03d0dd7b9..03d0dd7b9 100644
--- a/test/org/traccar/protocol/PiligrimProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PiligrimProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/PretraceProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PretraceProtocolDecoderTest.java
index 61a057dd7..61a057dd7 100644
--- a/test/org/traccar/protocol/PretraceProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PretraceProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/PretraceProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/PretraceProtocolEncoderTest.java
index 1b2780325..1b2780325 100644
--- a/test/org/traccar/protocol/PretraceProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/PretraceProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/PricolProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/PricolProtocolDecoderTest.java
index dbc1665fb..dbc1665fb 100644
--- a/test/org/traccar/protocol/PricolProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/PricolProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/ProgressProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java
index 5f6f564b1..5f6f564b1 100644
--- a/test/org/traccar/protocol/ProgressProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ProgressProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Pt3000ProtocolDecoderTest.java
index e7d87d583..e7d87d583 100644
--- a/test/org/traccar/protocol/Pt3000ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Pt3000ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Pt502FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Pt502FrameDecoderTest.java
index 487a8500c..487a8500c 100644
--- a/test/org/traccar/protocol/Pt502FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Pt502FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Pt502ProtocolDecoderTest.java
index cb1c1eb0e..cb1c1eb0e 100644
--- a/test/org/traccar/protocol/Pt502ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Pt502ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Pt502ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Pt502ProtocolEncoderTest.java
index a6c8bb50f..a6c8bb50f 100644
--- a/test/org/traccar/protocol/Pt502ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Pt502ProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Pt60ProtocolDecoderTest.java
index 1ba8d25c7..1ba8d25c7 100644
--- a/test/org/traccar/protocol/Pt60ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Pt60ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/RaveonProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RaveonProtocolDecoderTest.java
index 165027351..165027351 100644
--- a/test/org/traccar/protocol/RaveonProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RaveonProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/RecodaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RecodaProtocolDecoderTest.java
index 668879787..668879787 100644
--- a/test/org/traccar/protocol/RecodaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RecodaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/RetranslatorProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RetranslatorProtocolDecoderTest.java
index 779e21823..779e21823 100644
--- a/test/org/traccar/protocol/RetranslatorProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RetranslatorProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/RitiProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RitiProtocolDecoderTest.java
index 73d07efd6..73d07efd6 100644
--- a/test/org/traccar/protocol/RitiProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RitiProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/RoboTrackFrameDecoderTest.java b/src/test/java/org/traccar/protocol/RoboTrackFrameDecoderTest.java
index 2e3853f86..2e3853f86 100644
--- a/test/org/traccar/protocol/RoboTrackFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RoboTrackFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/RoboTrackProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RoboTrackProtocolDecoderTest.java
index 0c969ab68..0c969ab68 100644
--- a/test/org/traccar/protocol/RoboTrackProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RoboTrackProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/RuptelaProtocolDecoderTest.java
index 12f63ef7d..12f63ef7d 100644
--- a/test/org/traccar/protocol/RuptelaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/RuptelaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/RuptelaProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/RuptelaProtocolEncoderTest.java
index 8a00caa09..8a00caa09 100644
--- a/test/org/traccar/protocol/RuptelaProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/RuptelaProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/SabertekFrameDecoderTest.java b/src/test/java/org/traccar/protocol/SabertekFrameDecoderTest.java
index 7a42a71a0..7a42a71a0 100644
--- a/test/org/traccar/protocol/SabertekFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SabertekFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/SabertekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SabertekProtocolDecoderTest.java
index 20b02841e..20b02841e 100644
--- a/test/org/traccar/protocol/SabertekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SabertekProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SanavProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java
index 36fd7ecba..36fd7ecba 100644
--- a/test/org/traccar/protocol/SanavProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SanavProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SatsolProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SatsolProtocolDecoderTest.java
index 45e919bbb..45e919bbb 100644
--- a/test/org/traccar/protocol/SatsolProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SatsolProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SigfoxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java
index 48adb0ccb..48adb0ccb 100644
--- a/test/org/traccar/protocol/SigfoxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SigfoxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SiwiProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SiwiProtocolDecoderTest.java
index 3a91d8482..3a91d8482 100644
--- a/test/org/traccar/protocol/SiwiProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SiwiProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SkypatrolProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SkypatrolProtocolDecoderTest.java
index bc2dac7e9..bc2dac7e9 100644
--- a/test/org/traccar/protocol/SkypatrolProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SkypatrolProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SmartSoleProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java
index 183af899b..183af899b 100644
--- a/test/org/traccar/protocol/SmartSoleProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SmartSoleProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SmokeyProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SmokeyProtocolDecoderTest.java
index c2d74b433..c2d74b433 100644
--- a/test/org/traccar/protocol/SmokeyProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SmokeyProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SpotProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SpotProtocolDecoderTest.java
index 7191f31ef..7191f31ef 100644
--- a/test/org/traccar/protocol/SpotProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SpotProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/StarLinkProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java
index 70e173284..70e173284 100644
--- a/test/org/traccar/protocol/StarLinkProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/StarLinkProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Stl060ProtocolDecoderTest.java
index e2be2028e..e2be2028e 100644
--- a/test/org/traccar/protocol/Stl060ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Stl060ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
index 355cda783..355cda783 100644
--- a/test/org/traccar/protocol/SuntechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SuntechProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SupermateProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SupermateProtocolDecoderTest.java
index 2a7ab2dee..2a7ab2dee 100755
--- a/test/org/traccar/protocol/SupermateProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SupermateProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/SviasProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/SviasProtocolDecoderTest.java
index f7b15ca2e..f7b15ca2e 100644
--- a/test/org/traccar/protocol/SviasProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/SviasProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/T55ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java
index f21acdee7..f21acdee7 100644
--- a/test/org/traccar/protocol/T55ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/T55ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/T57FrameDecoderTest.java b/src/test/java/org/traccar/protocol/T57FrameDecoderTest.java
index f74d3c350..f74d3c350 100644
--- a/test/org/traccar/protocol/T57FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/T57FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/T57ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T57ProtocolDecoderTest.java
index c457b4602..c457b4602 100644
--- a/test/org/traccar/protocol/T57ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/T57ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/T800xProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
index fe77d91b7..fe77d91b7 100644
--- a/test/org/traccar/protocol/T800xProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/T800xProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/T800xProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java
index af3700225..af3700225 100644
--- a/test/org/traccar/protocol/T800xProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/T800xProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/TaipProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java
index bdbaec8aa..bdbaec8aa 100644
--- a/test/org/traccar/protocol/TaipProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TaipProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TekFrameDecoderTest.java b/src/test/java/org/traccar/protocol/TekFrameDecoderTest.java
index 0446670d8..0446670d8 100644
--- a/test/org/traccar/protocol/TekFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TekFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/TekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TekProtocolDecoderTest.java
index f67ae9c3f..f67ae9c3f 100644
--- a/test/org/traccar/protocol/TekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TekProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TelemaxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TelemaxProtocolDecoderTest.java
index e330600e5..e330600e5 100644
--- a/test/org/traccar/protocol/TelemaxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TelemaxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TelicFrameDecoderTest.java b/src/test/java/org/traccar/protocol/TelicFrameDecoderTest.java
index 5fcbcbb57..5fcbcbb57 100644
--- a/test/org/traccar/protocol/TelicFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TelicFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/TelicProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TelicProtocolDecoderTest.java
index b743cef96..b743cef96 100644
--- a/test/org/traccar/protocol/TelicProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TelicProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
index f94cd9460..f94cd9460 100644
--- a/test/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TeltonikaProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TeltonikaProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/TeltonikaProtocolEncoderTest.java
index 83ea961b4..83ea961b4 100644
--- a/test/org/traccar/protocol/TeltonikaProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/TeltonikaProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/ThinkRaceProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/ThinkRaceProtocolDecoderTest.java
index a30d17502..a30d17502 100644
--- a/test/org/traccar/protocol/ThinkRaceProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/ThinkRaceProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Tk102ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk102ProtocolDecoderTest.java
index f1ba7c593..f1ba7c593 100644
--- a/test/org/traccar/protocol/Tk102ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk102ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Tk103FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103FrameDecoderTest.java
index 1f42e588f..1f42e588f 100644
--- a/test/org/traccar/protocol/Tk103FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk103FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
index db636893b..db636893b 100644
--- a/test/org/traccar/protocol/Tk103ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk103ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Tk103ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java
index 34b2acf86..34b2acf86 100644
--- a/test/org/traccar/protocol/Tk103ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tk103ProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
index 83caae208..83caae208 100644
--- a/test/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tlt2hProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TlvProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TlvProtocolDecoderTest.java
index 0aaf567e8..0aaf567e8 100644
--- a/test/org/traccar/protocol/TlvProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TlvProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TmgFrameDecoderTest.java b/src/test/java/org/traccar/protocol/TmgFrameDecoderTest.java
index 4f7be1b28..4f7be1b28 100644
--- a/test/org/traccar/protocol/TmgFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TmgFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/TmgProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TmgProtocolDecoderTest.java
index 5df2378d9..5df2378d9 100644
--- a/test/org/traccar/protocol/TmgProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TmgProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TopflytechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TopflytechProtocolDecoderTest.java
index 666a48bfa..666a48bfa 100644
--- a/test/org/traccar/protocol/TopflytechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TopflytechProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TotemFrameDecoderTest.java b/src/test/java/org/traccar/protocol/TotemFrameDecoderTest.java
index 8fb5f8d54..8fb5f8d54 100644
--- a/test/org/traccar/protocol/TotemFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TotemFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/TotemProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java
index 287c54968..287c54968 100644
--- a/test/org/traccar/protocol/TotemProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TotemProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TotemProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/TotemProtocolEncoderTest.java
index 5a47f74cc..5a47f74cc 100644
--- a/test/org/traccar/protocol/TotemProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/TotemProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tr20ProtocolDecoderTest.java
index 76355066b..76355066b 100644
--- a/test/org/traccar/protocol/Tr20ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tr20ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tr900ProtocolDecoderTest.java
index 92fe0da29..92fe0da29 100644
--- a/test/org/traccar/protocol/Tr900ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tr900ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TrackboxProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TrackboxProtocolDecoderTest.java
index e83824fb4..e83824fb4 100644
--- a/test/org/traccar/protocol/TrackboxProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TrackboxProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TrakMateProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TrakMateProtocolDecoderTest.java
index 4352fc935..4352fc935 100644
--- a/test/org/traccar/protocol/TrakMateProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TrakMateProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TramigoFrameDecoderTest.java b/src/test/java/org/traccar/protocol/TramigoFrameDecoderTest.java
index f482a00bb..f482a00bb 100644
--- a/test/org/traccar/protocol/TramigoFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TramigoFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/TramigoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java
index d35c5c54e..d35c5c54e 100644
--- a/test/org/traccar/protocol/TramigoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TramigoProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TrvProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TrvProtocolDecoderTest.java
index 2fdb86218..2fdb86218 100644
--- a/test/org/traccar/protocol/TrvProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TrvProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Tt8850ProtocolDecoderTest.java
index e3833bcc7..e3833bcc7 100644
--- a/test/org/traccar/protocol/Tt8850ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Tt8850ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TytanProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TytanProtocolDecoderTest.java
index ed75cee38..ed75cee38 100644
--- a/test/org/traccar/protocol/TytanProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TytanProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/TzoneProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java
index bd1fc71f4..bd1fc71f4 100644
--- a/test/org/traccar/protocol/TzoneProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/TzoneProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/UlbotechFrameDecoderTest.java b/src/test/java/org/traccar/protocol/UlbotechFrameDecoderTest.java
index d3d0429d6..d3d0429d6 100644
--- a/test/org/traccar/protocol/UlbotechFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/UlbotechFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/UlbotechProtocolDecoderTest.java
index 1c29ccd4a..1c29ccd4a 100644
--- a/test/org/traccar/protocol/UlbotechProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/UlbotechProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/UproProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
index dbbe4591f..dbbe4591f 100644
--- a/test/org/traccar/protocol/UproProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/UproProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/V680ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/V680ProtocolDecoderTest.java
index e3761c3ef..e3761c3ef 100644
--- a/test/org/traccar/protocol/V680ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/V680ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/VisiontekProtocolDecoderTest.java
index 11596945e..11596945e 100644
--- a/test/org/traccar/protocol/VisiontekProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/VisiontekProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Vt200FrameDecoderTest.java b/src/test/java/org/traccar/protocol/Vt200FrameDecoderTest.java
index 9422f6d74..9422f6d74 100644
--- a/test/org/traccar/protocol/Vt200FrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Vt200FrameDecoderTest.java
diff --git a/test/org/traccar/protocol/Vt200ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Vt200ProtocolDecoderTest.java
index 9c224bc8e..9c224bc8e 100644
--- a/test/org/traccar/protocol/Vt200ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Vt200ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/VtfmsFrameDecoderTest.java b/src/test/java/org/traccar/protocol/VtfmsFrameDecoderTest.java
index a5eb0b49b..a5eb0b49b 100644
--- a/test/org/traccar/protocol/VtfmsFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/VtfmsFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/VtfmsProtocolDecoderTest.java
index ede5dc7ac..ede5dc7ac 100644
--- a/test/org/traccar/protocol/VtfmsProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/VtfmsProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/WatchFrameDecoderTest.java b/src/test/java/org/traccar/protocol/WatchFrameDecoderTest.java
index 4e40eea86..4e40eea86 100644
--- a/test/org/traccar/protocol/WatchFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WatchFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/WatchProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
index 539e63253..539e63253 100644
--- a/test/org/traccar/protocol/WatchProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WatchProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/WatchProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/WatchProtocolEncoderTest.java
index a0631be3b..a0631be3b 100644
--- a/test/org/traccar/protocol/WatchProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/WatchProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/WialonProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java
index 40b0469ea..40b0469ea 100644
--- a/test/org/traccar/protocol/WialonProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WialonProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/WondexFrameDecoderTest.java b/src/test/java/org/traccar/protocol/WondexFrameDecoderTest.java
index 642473f2d..642473f2d 100644
--- a/test/org/traccar/protocol/WondexFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WondexFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/WondexProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WondexProtocolDecoderTest.java
index f01a763a1..f01a763a1 100644
--- a/test/org/traccar/protocol/WondexProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WondexProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/WondexProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/WondexProtocolEncoderTest.java
index 3d76cb677..8209fc412 100644
--- a/test/org/traccar/protocol/WondexProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/WondexProtocolEncoderTest.java
@@ -1,24 +1,24 @@
-package org.traccar.protocol;
-
-import org.junit.Test;
-import org.traccar.ProtocolTest;
-import org.traccar.model.Command;
-
-import static org.junit.Assert.assertEquals;
-
-public class WondexProtocolEncoderTest extends ProtocolTest {
- @Test
- public void testEncode() throws Exception {
-
- WondexProtocolEncoder encoder = new WondexProtocolEncoder();
-
- Command command = new Command();
- command.setDeviceId(2);
- command.setType(Command.TYPE_POSITION_SINGLE);
- command.set(Command.KEY_DEVICE_PASSWORD, "0000");
-
- assertEquals("$WP+GETLOCATION=0000", encoder.encodeCommand(command));
-
- }
-
-}
+package org.traccar.protocol;
+
+import org.junit.Test;
+import org.traccar.ProtocolTest;
+import org.traccar.model.Command;
+
+import static org.junit.Assert.assertEquals;
+
+public class WondexProtocolEncoderTest extends ProtocolTest {
+ @Test
+ public void testEncode() throws Exception {
+
+ WondexProtocolEncoder encoder = new WondexProtocolEncoder();
+
+ Command command = new Command();
+ command.setDeviceId(2);
+ command.setType(Command.TYPE_POSITION_SINGLE);
+ command.set(Command.KEY_DEVICE_PASSWORD, "0000");
+
+ assertEquals("$WP+GETLOCATION=0000", encoder.encodeCommand(command));
+
+ }
+
+}
diff --git a/test/org/traccar/protocol/WristbandProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/WristbandProtocolDecoderTest.java
index 5635ce3d4..5635ce3d4 100644
--- a/test/org/traccar/protocol/WristbandProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/WristbandProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/XexunFrameDecoderTest.java b/src/test/java/org/traccar/protocol/XexunFrameDecoderTest.java
index 8fc628bdb..8fc628bdb 100644
--- a/test/org/traccar/protocol/XexunFrameDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/XexunFrameDecoderTest.java
diff --git a/test/org/traccar/protocol/XexunProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/XexunProtocolDecoderTest.java
index 8b0f245a2..8b0f245a2 100644
--- a/test/org/traccar/protocol/XexunProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/XexunProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java
index f795742fd..f795742fd 100644
--- a/test/org/traccar/protocol/XirgoProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/XirgoProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/XirgoProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/XirgoProtocolEncoderTest.java
index dd2e939c9..dd2e939c9 100644
--- a/test/org/traccar/protocol/XirgoProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/XirgoProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
index 0f15f31b4..0f15f31b4 100644
--- a/test/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Xrb28ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java b/src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
index 49476d694..49476d694 100644
--- a/test/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
+++ b/src/test/java/org/traccar/protocol/Xrb28ProtocolEncoderTest.java
diff --git a/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Xt013ProtocolDecoderTest.java
index aa44929ab..aa44929ab 100644
--- a/test/org/traccar/protocol/Xt013ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Xt013ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/Xt2400ProtocolDecoderTest.java
index f4a78b5bd..f4a78b5bd 100644
--- a/test/org/traccar/protocol/Xt2400ProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/Xt2400ProtocolDecoderTest.java
diff --git a/test/org/traccar/protocol/YwtProtocolDecoderTest.java b/src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java
index 332d15fa5..332d15fa5 100644
--- a/test/org/traccar/protocol/YwtProtocolDecoderTest.java
+++ b/src/test/java/org/traccar/protocol/YwtProtocolDecoderTest.java
diff --git a/test/org/traccar/reports/ReportUtilsTest.java b/src/test/java/org/traccar/reports/ReportUtilsTest.java
index 01b9c276f..01b9c276f 100644
--- a/test/org/traccar/reports/ReportUtilsTest.java
+++ b/src/test/java/org/traccar/reports/ReportUtilsTest.java
diff --git a/test/org/traccar/web/WebServerTest.java b/src/test/java/org/traccar/web/WebServerTest.java
index 5a79fbac2..5a79fbac2 100644
--- a/test/org/traccar/web/WebServerTest.java
+++ b/src/test/java/org/traccar/web/WebServerTest.java