Traccar Client for Windows

Anton Tananaev9 years ago

I am working on a Traccar Client version for Windows Phone. Ideally I want to make it into a universal app that can be used for Desktop Windows as well. Please register your interest in this topic or just send me an email to be the first to try it.

yveslesport9 years ago

I am very interested in a version under Windows.
My e-mail: yveslesport@free.fr

Rutger9 years ago

Definitely interested. I found already a probably ported Android version to WP8(.1). It isn't working btw. I don't get any data in de server. No problem with my other devices.

igkhv9 years ago

Попробовал приложение для windows phone. Данные шлет в формате

DEBUG: [14C7BE5F: 5005 < 192.168.101.33] HEX: 244750524d432c3035323832342c412c343832382e31312c4e2c313335332e35332c452c302e30302c302e30302c3137303931352c3032302e332c452a34310d0a
DEBUG: [14C7BE5F: 5005 > 192.168.101.33] HEX: 4f4b310d0a

т.е. строчка

$GPRMC,052824,A,4828.11,N,1353.53,E,0.00,0.00,170915,020.3,E*41

Не смог подобрать совместимый протокол (устройство). По порту 5005 (как заявляет автор) не то.

Как заставить работать?

igkhv9 years ago

I tried app for windows phone. It sends data format
DEBUG: [14C7BE5F: 5005 < 192.168.101.33] HEX: 244750524d432c3035323832342c412c343832382e31312c4e2c313335332e35332c452c302e30302c302e30302c3137303931352c3032302e332c452a34310d0a
DEBUG: [14C7BE5F: 5005 > 192.168.101.33] HEX: 4f4b310d0a

ie stitch

$GPRMC,052824,A,4828.11,N,1353.53,E,0.00,0.00,170915,020.3,E*41

I could not pick up a compatible protocol (the device). In the port of 5005 (as the author), not that.

How do I get?

jaimzj9 years ago

Interested for sure jamejo@gmail.com

Anton Tananaev9 years ago

@igkhv, it looks like T55 protocol (port 5005).

igkhv9 years ago

@Anton Tananaev, possible, but no data are parsed.

Anton Tananaev9 years ago

Please provide full log.

igkhv9 years ago
2015-09-18 11:18:39  INFO: Operating System name: Windows 8.1 version: 6.3 architecture: amd64
2015-09-18 11:18:39  INFO: Java Runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.60-b23
2015-09-18 11:18:39  INFO: Memory Limit heap: 910mb non-heap: 0mb
2015-09-18 11:18:39  INFO: Version: 3.1-SNAPSHOT
2015-09-18 11:18:44  INFO: Starting server...
2015-09-18 11:19:21  INFO: [0BDEFC6B] connected
2015-09-18 11:19:23 DEBUG: [0BDEFC6B: 5005 < 192.168.13.1] HEX: 244750524d432c3031323030332c412c343832382e31332c4e2c313335332e34372c452c302e30302c302e30302c3138303931352c3032302e332c452a34300d0a24504749442c324435303438364342383936374344453732424544443646384538353130303630383442373038412a33390d0a244750524d432c3031323030362c412c343832382e31302c4e2c313335332e35322c452c302e30302c302e30302c3138303931352c3032302e332c452a34320d0a
2015-09-18 11:19:24 DEBUG: [0BDEFC6B: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 11:19:24 DEBUG: [0BDEFC6B: 5005 < 192.168.13.1] HEX: 244750524d432c3031323031322c412c343832382e31312c4e2c313335332e35312c452c302e30302c302e30302c3138303931352c3032302e332c452a34350d0a244750524d432c3031323032312c412c343832382e31312c4e2c313335332e35302c452c302e30302c302e30302c3138303931352c3032302e332c452a34340d0a244750524d432c3031323031372c412c343832382e31302c4e2c313335332e35302c452c302e34392c3237322e33302c3138303931352c3032302e332c452a34390d0a
2015-09-18 11:19:24 DEBUG: [0BDEFC6B: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 11:19:24 DEBUG: [0BDEFC6B: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 11:19:24 DEBUG: [0BDEFC6B: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 11:19:28 DEBUG: [0BDEFC6B: 5005 < 192.168.13.1] HEX: 244750524d432c3031323032362c412c343832382e31312c4e2c313335332e35302c452c302e30302c302e30302c3138303931352c3032302e332c452a34330d0a
2015-09-18 11:19:28 DEBUG: [0BDEFC6B: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 11:19:33 DEBUG: [0BDEFC6B: 5005 < 192.168.13.1] HEX: 244750524d432c3031323033312c412c343832382e31312c4e2c313335332e35302c452c302e30302c302e30302c3138303931352c3032302e332c452a34350d0a
2015-09-18 11:19:33 DEBUG: [0BDEFC6B: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 11:19:36  WARN: [0BDEFC6B] error - Удаленный хост принудительно разорвал существующее подключение - IOException (...)
2015-09-18 11:19:36  INFO: [0BDEFC6B] disconnected
Anton Tananaev9 years ago

The message format was incorrect. I have added support for it anyway. Here is a new build:

https://www.dropbox.com/s/myt68q5u7fiz49r/tracker-server-jar-with-dependencies.jar?dl=0

igkhv9 years ago

Pars earned. Coordinates issues not run correctly.

2015-09-18 19:33:05  INFO: Starting server...
2015-09-18 19:33:33  INFO: [1B5121EB] connected
2015-09-18 19:33:36 DEBUG: [1B5121EB: 5005 < 192.168.13.1] HEX: 24504749442c324435303438364342383936374344453732424544443646384538353130303630383442373038412a33390d0a244750524d432c3039333432392c412c343833332e30332c4e2c313335322e35392c452c302e30302c302e30302c3138303931352c3032302e332c452a34300d0a
2015-09-18 19:33:36 DEBUG: [1B5121EB: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 19:33:37  WARN: NullPointerException (DefaultDataHandler.java:29 < BaseDataHandler.java:29 < ... < ExtendedObjectDecoder.java:41 < ...)
2015-09-18 19:33:37  INFO: [1B5121EB] id: 7, time: Fri Sep 18 19:34:29 VLAT 2015, lat: 48.5505, lon: 13.8765, speed: 0.0, course: 0.0
2015-09-18 19:33:37 DEBUG: [1B5121EB: 5005 < 192.168.13.1] HEX: 244750524d432c3039333433312c412c343833332e30372c4e2c313335322e37312c452c302e30302c302e30302c3138303931352c3032302e332c452a34370d0a
2015-09-18 19:33:37 DEBUG: [1B5121EB: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 19:33:37  INFO: [1B5121EB] id: 7, time: Fri Sep 18 19:34:31 VLAT 2015, lat: 48.55116666666667, lon: 13.8785, speed: 0.0, course: 0.0
2015-09-18 19:33:55 DEBUG: [1B5121EB: 5005 < 192.168.13.1] HEX: 244750524d432c3039333435302c412c343833332e30372c4e2c313335322e37302c452c302e30302c302e30302c3138303931352c3032302e332c452a34310d0a
2015-09-18 19:33:55 DEBUG: [1B5121EB: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 19:33:55  INFO: [1B5121EB] id: 7, time: Fri Sep 18 19:34:50 VLAT 2015, lat: 48.55116666666667, lon: 13.878333333333334, speed: 0.0, course: 0.0
2015-09-18 19:34:30 DEBUG: [1B5121EB: 5005 < 192.168.13.1] HEX: 244750524d432c3039333532362c412c343833332e30372c4e2c313335322e37302c452c302e30302c302e30302c3138303931352c3032302e332c452a34310d0a
2015-09-18 19:34:30 DEBUG: [1B5121EB: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 19:34:31  INFO: [1B5121EB] id: 7, time: Fri Sep 18 19:35:26 VLAT 2015, lat: 48.55116666666667, lon: 13.878333333333334, speed: 0.0, course: 0.0
2015-09-18 19:34:48 DEBUG: [1B5121EB: 5005 < 192.168.13.1] HEX: 244750524d432c3039333534332c412c343833332e30372c4e2c313335322e37312c452c302e30302c302e30302c3138303931352c3032302e332c452a34330d0a
2015-09-18 19:34:48 DEBUG: [1B5121EB: 5005 > 192.168.13.1] HEX: 4f4b310d0a
2015-09-18 19:34:48  INFO: [1B5121EB] id: 7, time: Fri Sep 18 19:35:43 VLAT 2015, lat: 48.55116666666667, lon: 13.8785, speed: 0.0, course: 0.0

Correct "lon" should be - 135.0478.....

Anton Tananaev9 years ago

I guess nothing else I can do about it. Whoever created the app needs to fix it.

igkhv9 years ago

Is not it possible to move the program to the point of longitude?

Anton Tananaev9 years ago

Here is a message from device:

$GPRMC,093431,A,4833.07,N,1352.71,E,0.00,0.00,180915,020.3,E*47

As you can see it sends 1352.71 for longitude. It's an ambiguous value as it can mean either 13 degrees and 52.71 minutes, or it can mean 135 degrees and 2.71 minutes.

Another problem that it sends only 2 decimal digits of minutes. That might not be enough to get an accurate location.