From 306098fbeda545babb2c48c80e7fe98e22abb801 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 16 Nov 2015 11:46:59 +1300 Subject: Update device status in the database --- debug.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debug.xml') diff --git a/debug.xml b/debug.xml index 47f17bdae..b09a73d0a 100644 --- a/debug.xml +++ b/debug.xml @@ -209,6 +209,10 @@ UPDATE device SET name = :name, uniqueId = :uniqueId WHERE id = :id; + + UPDATE device SET status = :status, lastUpdate = :lastUpdate WHERE id = :id; + + DELETE FROM device WHERE id = :id; -- cgit v1.2.3 From 3990d779545c7dba72324182058ae20730311f97 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 18 Nov 2015 15:32:05 +1300 Subject: Implement location provider channel handler --- debug.xml | 3 ++ src/org/traccar/BasePipelineFactory.java | 9 ++++ src/org/traccar/Context.java | 13 ++++++ src/org/traccar/LocationProviderHandler.java | 68 ++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+) create mode 100644 src/org/traccar/LocationProviderHandler.java (limited to 'debug.xml') diff --git a/debug.xml b/debug.xml index b09a73d0a..2e6e4e12a 100644 --- a/debug.xml +++ b/debug.xml @@ -18,6 +18,9 @@ nominatim http://nominatim.openstreetmap.org/reverse + false + fake + true