DSF22 issues

Hello,

I tried to connect dsf10 but can not get the right data. The device should use ID for connecting to the server but instead of 11688 which is the right ID use some other ID a82d, when I set it on that ID it connected but with wrong data as you can see from the log. Can not get the position

2022-01-21 21:42:44  WARN: Unknown device - a82d (188.120.96.236)
2022-01-21 21:42:44  INFO: user: 1, action: edit, object: device, id: 1
2022-01-21 21:43:06  INFO: [a54598f9] disconnected
2022-01-21 21:43:14  INFO: [c1ca0b1b] connected
2022-01-21 21:43:15  INFO: [c1ca0b1b: dsf22 < 77.243.23.209] HEX: 4642a82d0700f6aa1abf792c0c470beb61001e000080f5aa1abd7a2c0c830beb61001e0000d220ab1abc942c0cd60beb61001e00007ff6aa1ab57a2c0c100ceb61001e0000f8f5aa1a157b2c0c4c0ceb61001e000065f5aa1aec7c2c0c880ceb61001e0000b1f5aa1a6a7d2c0cc40ceb61001e0000
2022-01-21 21:43:15  WARN: Unknown device - a82d (77.243.23.209)
2022-01-21 21:43:38  INFO: [c1ca0b1b] disconnected
2022-01-21 21:43:46  INFO: user: 1, action: create, object: device, id: 2
2022-01-21 21:43:46  INFO: user: 1, action: link, owner: user, id: 1, property: device, id: 2
2022-01-21 21:43:47  INFO: [f5887c46] connected
2022-01-21 21:43:47  INFO: [f5887c46: dsf22 < 77.243.25.144] HEX: 4642a82d0700f6aa1abf792c0c470beb61001e000080f5aa1abd7a2c0c830beb61001e0000d220ab1abc942c0cd60beb61001e00007ff6aa1ab57a2c0c100ceb61001e0000f8f5aa1a157b2c0c4c0ceb61001e000065f5aa1aec7c2c0c880ceb61001e0000b1f5aa1a6a7d2c0cc40ceb61001e0000
2022-01-21 21:43:47  INFO: [f5887c46: dsf22 > 77.243.25.144] HEX: 01
2022-01-21 21:43:48  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:43:48  WARN: Geocoding failed - HTTP 429 Too Many Requests - ClientErrorException (...)
2022-01-21 21:43:48  WARN: Geocoding failed - HTTP 429 Too Many Requests - ClientErrorException (...)
2022-01-21 21:43:48  WARN: Geocoding failed - HTTP 429 Too Many Requests - ClientErrorException (...)
2022-01-21 21:43:48  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:43:48  WARN: Geocoding failed - HTTP 429 Too Many Requests - ClientErrorException (...)
2022-01-21 21:43:48  WARN: Geocoding failed - HTTP 429 Too Many Requests - ClientErrorException (...)
2022-01-21 21:43:48  INFO: [f5887c46] id: a82d, time: 2000-02-08 03:39:41, lat: -1309300198.00000, lon: 1786588172.00000, course: 0.0
2022-01-21 21:43:48  INFO: [f5887c46] id: a82d, time: 2000-01-14 21:06:03, lat: 16165402.00000, lon: -1082577908.00000, course: 0.0
2022-01-21 21:43:48  INFO: [f5887c46] id: a82d, time: 2000-01-27 12:02:28, lat: 1710598682.00000, lon: -327406580.00000, course: 0.0
2022-01-21 21:43:48  INFO: [f5887c46] id: a82d, time: 2000-01-26 12:43:16, lat: -2131383782.00000, lon: -1116066804.00000, course: 0.0
2022-01-21 21:43:48  INFO: [f5887c46] id: a82d, time: 2000-01-15 20:25:15, lat: -118117862.00000, lon: 360393740.00000, course: 0.0
2022-01-21 21:43:48  INFO: [f5887c46] id: a82d, time: 2000-02-11 15:31:45, lat: -769610982.00000, lon: -1131140084.00000, course: 0.0
2022-01-21 21:43:49  INFO: [f5887c46] id: a82d, time: 2000-01-04 04:48:02, lat: 2146871834.00000, lon: -1250284532.00000, course: 0.0
2022-01-21 21:43:52  INFO: [f5887c46] disconnected
2022-01-21 21:44:08  INFO: [c9fc42e7] connected
2022-01-21 21:44:10  INFO: [c9fc42e7: dsf22 < 188.120.101.15] HEX: 4642a82d01caf7aa1af47c2c0c000deb61001e0000
2022-01-21 21:44:10  INFO: [c9fc42e7: dsf22 > 188.120.101.15] HEX: 01
2022-01-21 21:44:10  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:44:10  INFO: [c9fc42e7] id: a82d, time: 2000-01-01 02:15:12, lat: -889738726.00000, lon: -193188852.00000, course: 0.0
2022-01-21 21:44:15  INFO: [c9fc42e7] disconnected
2022-01-21 21:45:10  INFO: [c1a8eb09] connected
2022-01-21 21:45:12  INFO: [c1a8eb09: dsf22 < 188.120.118.221] HEX: 4642a82d01adf5aa1ac07c2c0c3c0deb61001e0000
2022-01-21 21:45:12  INFO: [c1a8eb09: dsf22 > 188.120.118.221] HEX: 01
2022-01-21 21:45:13  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:45:13  INFO: [c1a8eb09] id: a82d, time: 2000-01-12 17:52:25, lat: -1376409062.00000, lon: -1065604084.00000, course: 0.0
2022-01-21 21:45:17  INFO: [c1a8eb09] disconnected
2022-01-21 21:46:08  INFO: [01639c9e] connected
2022-01-21 21:46:08  INFO: [01639c9e: dsf22 < 185.37.27.133] HEX: 4642a82d01b3f7aa1abf7a2c0c780deb61001e0000
2022-01-21 21:46:08  INFO: [01639c9e: dsf22 > 185.37.27.133] HEX: 01
2022-01-21 21:46:08  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:46:08  INFO: [01639c9e] id: a82d, time: 2000-01-24 09:29:38, lat: -1275614694.00000, lon: -1082512372.00000, course: 0.0
2022-01-21 21:46:13  INFO: [01639c9e] disconnected
2022-01-21 21:47:08  INFO: [df9c13b4] connected
2022-01-21 21:47:10  INFO: [df9c13b4: dsf22 < 185.37.25.106] HEX: 4642a82d01c2f8aa1a70792c0cb40deb61001e0000
2022-01-21 21:47:10  INFO: [df9c13b4: dsf22 > 185.37.25.106] HEX: 01
2022-01-21 21:47:10  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:47:10  INFO: [df9c13b4] id: a82d, time: 2000-02-05 01:06:51, lat: -1023890918.00000, lon: 1886989324.00000, course: 0.0
2022-01-21 21:47:15  INFO: [df9c13b4] disconnected
2022-01-21 21:47:25  WARN: Geocoder network error - HTTP 400 Bad Request - BadRequestException (... < JsonGeocoder:120 < ServerResource:61 < ...)
2022-01-21 21:48:15  INFO: [dd8cd6d6] connected
2022-01-21 21:48:16  INFO: user: 1, action: edit, object: device, id: 1
2022-01-21 21:48:17  INFO: [dd8cd6d6: dsf22 < 77.243.31.105] HEX: 4642a82d014ef9aa1ad2772c0cf00deb61001e0000
2022-01-21 21:48:17  INFO: [dd8cd6d6: dsf22 > 77.243.31.105] HEX: 01
2022-01-21 21:48:17  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:48:17  INFO: [dd8cd6d6] id: a82d, time: 2000-02-16 16:44:04, lat: 1324984858.00000, lon: -763941876.00000, course: 0.0
2022-01-21 21:48:22  INFO: [dd8cd6d6] disconnected
2022-01-21 21:49:07  INFO: [83c3228a] connected
2022-01-21 21:49:09  INFO: [83c3228a: dsf22 < 188.120.103.239] HEX: 4642a82d01caf6aa1a4b7a2c0c2c0eeb61001e0000
2022-01-21 21:49:09  INFO: [83c3228a: dsf22 > 188.120.103.239] HEX: 01
2022-01-21 21:49:09  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:49:09  INFO: [83c3228a] id: a82d, time: 2000-01-09 15:19:35, lat: -889804262.00000, lon: 1266297868.00000, course: 0.0
2022-01-21 21:49:14  INFO: [83c3228a] disconnected
2022-01-21 21:50:07  INFO: [f39e5777] connected
2022-01-21 21:50:08  INFO: [f39e5777: dsf22 < 77.243.24.18] HEX: 4642a82d0113f6aa1a6e7b2c0c680eeb61001e0000
2022-01-21 21:50:08  INFO: [f39e5777: dsf22 > 77.243.24.18] HEX: 01
2022-01-21 21:50:08  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:50:08  INFO: [f39e5777] id: a82d, time: 2000-01-21 06:56:48, lat: 334932506.00000, lon: 1853565964.00000, course: 0.0
2022-01-21 21:50:13  INFO: [f39e5777] disconnected
2022-01-21 21:51:33  INFO: [22b4ca19] connected
2022-01-21 21:51:35  INFO: [22b4ca19: dsf22 < 77.243.29.35] HEX: 4642a82d01d6fdaa1a347b2c0cbe0eeb61001e0000
2022-01-21 21:51:35  INFO: [22b4ca19: dsf22 > 77.243.29.35] HEX: 01
2022-01-21 21:51:35  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:51:35  INFO: [22b4ca19] id: a82d, time: 2000-02-06 23:44:08, lat: -688018918.00000, lon: 880487436.00000, course: 0.0
2022-01-21 21:51:40  INFO: [22b4ca19] disconnected
2022-01-21 21:52:36  INFO: [307ffdb3] connected
2022-01-21 21:52:36  INFO: [307ffdb3: dsf22 < 188.120.103.120] HEX: 4642a82d0182f8aa1ab7792c0cf80eeb61001e0000
2022-01-21 21:52:36  INFO: [307ffdb3: dsf22 > 188.120.103.120] HEX: 01
2022-01-21 21:52:36  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:52:36  INFO: [307ffdb3] id: a82d, time: 2000-02-18 06:02:07, lat: -2097632742.00000, lon: -1216795636.00000, course: 0.0
2022-01-21 21:52:41  INFO: [307ffdb3] disconnected
2022-01-21 21:53:32  INFO: [8ad9a8e4] connected
2022-01-21 21:53:32  INFO: [8ad9a8e4: dsf22 < 77.243.22.0] HEX: 4642a82d0170f8aa1ad1792c0c340feb61001e0000
2022-01-21 21:53:32  INFO: [8ad9a8e4: dsf22 > 77.243.22.0] HEX: 01
2022-01-21 21:53:32  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:53:32  INFO: [8ad9a8e4] id: a82d, time: 2000-01-11 04:37:38, lat: 1895344666.00000, lon: -780588020.00000, course: 0.0
2022-01-21 21:53:37  INFO: [8ad9a8e4] disconnected
2022-01-21 21:54:33  INFO: [5cbca5d5] connected
2022-01-21 21:54:33  INFO: [5cbca5d5: dsf22 < 37.19.108.94] HEX: 4642a82d0166f9aa1a83782c0c700feb61001e0000
2022-01-21 21:54:33  INFO: [5cbca5d5: dsf22 > 37.19.108.94] HEX: 01
2022-01-21 21:54:33  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:54:33  INFO: [5cbca5d5] id: a82d, time: 2000-01-22 20:14:51, lat: 1727638042.00000, lon: -2089276404.00000, course: 0.0
2022-01-21 21:54:38  INFO: [5cbca5d5] disconnected
2022-01-21 21:55:33  INFO: [e01b4776] connected
2022-01-21 21:55:34  INFO: [e01b4776: dsf22 < 37.19.107.85] HEX: 4642a82d0173f8aa1ade782c0cac0feb61001e0000
2022-01-21 21:55:34  INFO: [e01b4776: dsf22 > 37.19.107.85] HEX: 01
2022-01-21 21:55:34  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:55:34  INFO: [e01b4776] id: a82d, time: 2000-02-03 11:52:04, lat: 1945676314.00000, lon: -562549748.00000, course: 0.0
2022-01-21 21:55:39  INFO: [e01b4776] disconnected
2022-01-21 21:56:34  INFO: [7b0e5304] connected
2022-01-21 21:56:35  INFO: [7b0e5304: dsf22 < 185.37.25.238] HEX: 4642a82d01ebf7aa1acd7a2c0ce80feb61001e0000
2022-01-21 21:56:35  INFO: [7b0e5304: dsf22 > 185.37.25.238] HEX: 01
2022-01-21 21:56:35  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:56:35  INFO: [7b0e5304] id: a82d, time: 2000-02-15 03:29:17, lat: -336090598.00000, lon: -847631348.00000, course: 0.0
2022-01-21 21:56:40  INFO: [7b0e5304] disconnected
2022-01-21 21:57:35  INFO: [a7134ccc] connected
2022-01-21 21:57:36  INFO: [a7134ccc: dsf22 < 77.243.30.187] HEX: 4642a82d01ebf7aa1acd7a2c0c86832252001e0000
2022-01-21 21:57:36  INFO: [a7134ccc: dsf22 > 77.243.30.187] HEX: 01
2022-01-21 21:57:36  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:57:36  INFO: [a7134ccc] id: a82d, time: 2000-01-27 04:52:20, lat: -336090598.00000, lon: -847631348.00000, course: 0.0
2022-01-21 21:57:41  INFO: [a7134ccc] disconnected
2022-01-21 21:58:31  INFO: [5dc778e3] connected
2022-01-21 21:58:32  INFO: [5dc778e3: dsf22 < 77.243.19.2] HEX: 4642a82d0156f7aa1a487d2c0c6010eb61001e0000
2022-01-21 21:58:32  INFO: [5dc778e3: dsf22 > 77.243.19.2] HEX: 01
2022-01-21 21:58:32  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:58:32  INFO: [5dc778e3] id: a82d, time: 2000-01-19 17:42:01, lat: 1459071514.00000, lon: 1216162828.00000, course: 0.0
2022-01-21 21:58:37  INFO: [5dc778e3] disconnected
2022-01-21 21:59:33  INFO: [a22e02bc] connected
2022-01-21 21:59:33  INFO: [a22e02bc: dsf22 < 188.120.100.235] HEX: 4642a82d01e7f6aa1ae07b2c0c9c10eb61001e0000
2022-01-21 21:59:33  INFO: [a22e02bc: dsf22 > 188.120.100.235] HEX: 01
2022-01-21 21:59:34  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 21:59:34  INFO: [a22e02bc] id: a82d, time: 2000-01-31 09:19:14, lat: -403264998.00000, lon: -528798708.00000, course: 0.0
2022-01-21 21:59:39  INFO: [a22e02bc] disconnected
2022-01-21 22:00:39  INFO: [1af733e4] connected
2022-01-21 22:00:40  INFO: [1af733e4: dsf22 < 188.120.99.135] HEX: 4642a82d0163f5aa1a297a2c0cd810eb61001e0000
2022-01-21 22:00:40  INFO: [1af733e4: dsf22 > 188.120.99.135] HEX: 01
2022-01-21 22:00:40  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 22:00:40  INFO: [1af733e4] id: a82d, time: 2000-02-12 00:56:27, lat: 1677044250.00000, lon: 695872524.00000, course: 0.0
2022-01-21 22:00:45  INFO: [1af733e4] disconnected
2022-01-21 22:01:35  INFO: [84d24114] connected
2022-01-21 22:01:36  INFO: [84d24114: dsf22 < 37.19.107.226] HEX: 4642a82d01c8f6aa1af1792c0c1411eb61001e0000
2022-01-21 22:01:36  INFO: [84d24114: dsf22 > 37.19.107.226] HEX: 01
2022-01-21 22:01:36  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 22:01:36  INFO: [84d24114] id: a82d, time: 2000-01-04 23:31:58, lat: -923358694.00000, lon: -243717108.00000, course: 0.0
2022-01-21 22:01:41  INFO: [84d24114] disconnected
2022-01-21 22:02:31  INFO: [0421eaa7] connected
2022-01-21 22:02:32  INFO: [0421eaa7: dsf22 < 185.37.26.29] HEX: 4642a82d0167f7aa1af7782c0c5011eb61001e0000
2022-01-21 22:02:32  INFO: [0421eaa7: dsf22 > 185.37.26.29] HEX: 01
2022-01-21 22:02:32  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 22:02:32  INFO: [0421eaa7] id: a82d, time: 2000-01-16 15:09:11, lat: 1744284186.00000, lon: -143119348.00000, course: 0.0
2022-01-21 22:02:37  INFO: [0421eaa7] disconnected
2022-01-21 22:03:33  INFO: [33251bc6] connected
2022-01-21 22:03:35  INFO: [33251bc6: dsf22 < 77.243.31.117] HEX: 4642a82d019cf7aa1adf782c0c8c11eb61001e0000
2022-01-21 22:03:35  INFO: [33251bc6: dsf22 > 77.243.31.117] HEX: 01
2022-01-21 22:03:35  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 22:03:35  INFO: [33251bc6] id: a82d, time: 2000-01-28 06:46:24, lat: -1661490662.00000, lon: -545772532.00000, course: 0.0
2022-01-21 22:03:47  INFO: [33251bc6: dsf22 < 77.243.31.117] HEX: 4642a82d0173f7aa1aba782c0c9811eb61001e0001
2022-01-21 22:03:47  INFO: [33251bc6: dsf22 > 77.243.31.117] HEX: 01
2022-01-21 22:03:47  WARN: Geocoding failed - HTTP 400 Bad Request - BadRequestException (...)
2022-01-21 22:03:47  INFO: [33251bc6] id: a82d, time: 2000-01-30 14:41:51, lat: 1945610778.00000, lon: -1166529524.00000, course: 0.0
2022-01-21 22:06:06  INFO: user: 1, action: edit, object: user, id: 1
Anton Tananaev3 years ago

Do you have protocol documentation?

Hi Anton
yes, I sent it to you about a year ago. Let me check to resend to you.

Just sent to the Anton traccar email

Anton Tananaev3 years ago

We actually had some issues with this protocol. The documentation is very short and doesn't clarify how for example coordinates are encoded. That's why you get these invalid values. Can you ask the vendor to clarify?

I will ask them and let you know.

Just sent a short explanation in the email, hope it will be enough.

Anton Tananaev3 years ago

There was another problem with the documentation, but I think we manage to guess the right format. This should fix the problem:

https://github.com/traccar/traccar/commit/fd536f9e0dd33807a3638a0a134dfd97f18a096c

Will it be in the next release?

Anton Tananaev3 years ago

Yes.

I compiled with fix and it working now. I did not find anything else yet that are you concerned about.

There is no course changing, it is always heading the north and always trigger addresses, no show address link ( which is not bad but I am not sure it is an issue if we talking about the new release and Nominatim geocoding by default enabled)

Always showing north >>> https://ibb.co/4TvKTm2

Anton Tananaev3 years ago

Probably because this device doesn't report course value.

It is possible