aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-11 20:28:53 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-02-11 20:42:43 -0500
commit37d4bd765541a925bdf67ad134475dd1aaf92ca4 (patch)
tree675cb05f91730f6715afd5d1a12257af15b2d9e7 /src/org/traccar/model
parent90ae1911e712813351f1caec1cf6964115dfa479 (diff)
downloadtrackermap-server-37d4bd765541a925bdf67ad134475dd1aaf92ca4.tar.gz
trackermap-server-37d4bd765541a925bdf67ad134475dd1aaf92ca4.tar.bz2
trackermap-server-37d4bd765541a925bdf67ad134475dd1aaf92ca4.zip
Added new keys: KEY_SATELLITES_VISIBLE and KEY_FIX;
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Position.java5
1 files changed, 4 insertions, 1 deletions
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() {