From 37d4bd765541a925bdf67ad134475dd1aaf92ca4 Mon Sep 17 00:00:00 2001 From: jon-stumpf Date: Sat, 11 Feb 2017 20:28:53 -0500 Subject: Added new keys: KEY_SATELLITES_VISIBLE and KEY_FIX; --- src/org/traccar/model/Position.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java index 038bae8bb..2df6e35b7 100644 --- a/src/org/traccar/model/Position.java +++ b/src/org/traccar/model/Position.java @@ -22,9 +22,11 @@ public class Position extends Message { public static final String KEY_ORIGINAL = "raw"; public static final String KEY_INDEX = "index"; public static final String KEY_HDOP = "hdop"; - public static final String KEY_SATELLITES = "sat"; + public static final String KEY_SATELLITES = "sat"; // in use + public static final String KEY_SATELLITES_VISIBLE = "satVisible"; public static final String KEY_RSSI = "rssi"; public static final String KEY_GPS = "gps"; + public static final String KEY_FIX = "fix"; // GPS, GSM, none public static final String KEY_EVENT = "event"; public static final String KEY_ALARM = "alarm"; public static final String KEY_STATUS = "status"; @@ -98,6 +100,7 @@ public class Position extends Message { public static final String ALARM_FOOT_BRAKE = "footBrake"; public static final String ALARM_OIL_LEAK = "oilLeak"; + private String protocol; public String getProtocol() { -- cgit v1.2.3