diff options
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/GeolocationHandler.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/GeolocationHandler.java b/src/org/traccar/GeolocationHandler.java index 669c31654..31fed5dbd 100644 --- a/src/org/traccar/GeolocationHandler.java +++ b/src/org/traccar/GeolocationHandler.java @@ -57,6 +57,10 @@ public class GeolocationHandler implements ChannelUpstreamHandler { position.setLatitude(latitude); position.setLongitude(longitude); position.setAccuracy(accuracy); + position.setAltitude(0); + position.setSpeed(0); + position.setCourse(0); + position.set(Position.KEY_RSSI, 0); Channels.fireMessageReceived(ctx, position, event.getRemoteAddress()); } |