What protocol does your device use? If it's GoSafe, you should use text-based protocol, not binary.
i'm using Gosafe and Aplicom.
For Gosafe i will Switch to text-based. For Aplicom too?
Aplicom is binary-only protocol, as far as I know.
Hi,
i still can get any Position data on the map for the G1SL gosafe using traccar as communication Server.
the traccar log file Looks this way?
... 2017-02-17 01:11:52 INFO: [33C52BCB] disconnected 2017-02-17 01:14:51 INFO: [D16F97CC] connected 2017-02-17 01:14:51 DEBUG: [D16F97CC: 5001 < 91.211.3.10] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000 2017-02-17 01:14:51 INFO: Query not provided: database.insertStatistics 2017-02-17 01:15:06 DEBUG: [D16F97CC: 5001 < 91.211.3.10] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea03 2017-02-17 01:15:06 DEBUG: [D16F97CC: 5001 < 91.211.3.10] HEX: 0300000902f0802003 2017-02-17 01:15:06 INFO: [D16F97CC] disconnected 2017-02-17 01:15:07 INFO: [4A53742B] connected 2017-02-17 01:15:07 DEBUG: [4A53742B: 5001 < 91.211.3.10] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000 2017-02-17 01:15:22 DEBUG: [4A53742B: 5001 < 91.211.3.10] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea03 2017-02-17 01:15:22 DEBUG: [4A53742B: 5001 < 91.211.3.10] HEX: 0300000902f0802003 2017-02-17 01:15:22 INFO: [4A53742B] disconnected 2017-02-17 02:47:09 INFO: [A96E11CB] connected 2017-02-17 02:47:09 DEBUG: [A96E11CB: 5001 < 91.211.3.10] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000 2017-02-17 02:47:24 DEBUG: [A96E11CB: 5001 < 91.211.3.10] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea03 2017-02-17 02:47:24 DEBUG: [A96E11CB: 5001 < 91.211.3.10] HEX: 0300000902f0802003 2017-02-17 02:47:24 INFO: [A96E11CB] disconnected 2017-02-17 02:47:24 INFO: [ECE9EDD8] connected 2017-02-17 02:47:24 DEBUG: [ECE9EDD8: 5001 < 91.211.3.10] HEX: 0300002a25e00000000000436f6f6b69653a206d737473686173683d546573740d0a0100080003000000 2017-02-17 02:47:39 DEBUG: [ECE9EDD8: 5001 < 91.211.3.10] HEX: 0300002502f08064000003eb70801616001700e9030000000000010800240000000100ea03 2017-02-17 02:47:39 DEBUG: [ECE9EDD8: 5001 < 91.211.3.10] HEX: 0300000902f0802003 2017-02-17 02:47:39 INFO: [ECE9EDD8] disconnected 2017-02-17 03:17:28 INFO: [6A66E276] connected 2017-02-17 03:17:28 DEBUG: [6A66E276: 5095 < 62.210.246.66] HEX: 474554202f7265636f7264696e67732f696e6465782e70687020485454502f312e310d0a557365722d4167656e743a206375726c2f372e32392e300d0a486f73743a2038312e3136392e3230312e3234373a353039350d0a4163636570743a202a2f2a0d0a0d0a 2017-02-17 03:17:31 INFO: [6A66E276] disconnected 2017-02-17 07:05:41 INFO: [20F23EB5] connected 2017-02-17 07:05:41 DEBUG: [20F23EB5: 5007 < 71.6.158.166] HEX: 57000000001111070000ffff030000fe03000014001c080a0800000000000000040101010000000001 2017-02-17 07:05:45 INFO: [20F23EB5] disconnected 2017-02-17 16:44:06 DEBUG: [446745F7: 5074 < 89.163.144.214] HEX: 4f5054494f4e53207369703a3130304038352e3231342e3133342e323431205349502f322e300d0a5669613a205349502f322e302f5544502038392e3136332e3134342e3231343a353434383b6272616e63683d7a39684734624b2d323034373035303237363b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533353634333633383336363633313331333336343332303133313338333233393336333733333338333533390d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304038392e3136332e3134342e3231343a353434380d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203331393236323536323232323730383338383830353934390d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 16:45:56 INFO: [AFE29BBE] connected 2017-02-17 16:45:56 DEBUG: [AFE29BBE: 5095 < 62.210.246.66] HEX: 474554202f7265636f7264696e67732f696e6465782e70687020485454502f312e310d0a557365722d4167656e743a206375726c2f372e32392e300d0a486f73743a2038352e3231342e3133342e3234313a353039350d0a4163636570743a202a2f2a0d0a0d0a 2017-02-17 16:45:59 INFO: [AFE29BBE] disconnected 2017-02-17 16:46:32 DEBUG: [446745F7: 5074 < 78.31.67.55] HEX: 4f5054494f4e53207369703a3130304038312e3136392e3230312e323437205349502f322e300d0a5669613a205349502f322e302f5544502037382e33312e36372e35353a353134333b6272616e63683d7a39684734624b2d3334363238353733393b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533313631333936333339363633373331333336343332303133323330333333333332333733383332333033320d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304037382e33312e36372e35353a353134330d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203836353230363238353437353834303131373335333837330d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 16:53:57 INFO: [A63BD1AD] connected 2017-02-17 16:53:57 DEBUG: [A63BD1AD: 5050 < 93.174.93.136] HEX: 47455420687474703a2f2f7777772e62616964752e636f6d2f63616368652f676c6f62616c2f696d672f67732e67696620485454502f312e310d0a486f73743a207777772e62616964752e636f6d0d0a557365722d4167656e743a204d6f7a696c6c610d0a49662d4d6f6469666965642d53696e63653a205468752c2031392041707220323031322030393a35313a323020474d540d0a0d0a 2017-02-17 16:54:37 INFO: [A63BD1AD] disconnected ... 2017-02-17 17:04:14 INFO: [547AD7BC] disconnected 2017-02-17 18:29:23 DEBUG: [F1658D14: 5081 < 89.163.144.214] HEX: 4f5054494f4e53207369703a3130304038352e3231342e3133342e323431205349502f322e300d0a5669613a205349502f322e302f5544502038392e3136332e3134342e3231343a353335343b6272616e63683d7a39684734624b2d323337303831373631323b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533353634333633383336363633313331333336343339303133313338333333303332333233333330333033330d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304038392e3136332e3134342e3231343a353335340d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203639383935323532383235333937383334373138343938370d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 18:34:07 DEBUG: [F1658D14: 5081 < 78.31.67.55] HEX: 4f5054494f4e53207369703a3130304038312e3136392e3230312e323437205349502f322e300d0a5669613a205349502f322e302f5544502037382e33312e36372e35353a353431303b6272616e63683d7a39684734624b2d313332333732303238373b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533313631333936333339363633373331333336343339303133323337333533373337333533303339333433380d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304037382e33312e36372e35353a353431300d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203538333535303237303033383930373830343230383839310d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 18:47:08 DEBUG: [F76BA038: 5082 < 89.163.144.214] HEX: 4f5054494f4e53207369703a3130304038352e3231342e3133342e323431205349502f322e300d0a5669613a205349502f322e302f5544502038392e3136332e3134342e3231343a353334323b6272616e63683d7a39684734624b2d333032343538323339393b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533353634333633383336363633313331333336343631303133333335333633373330333033373331333133380d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304038392e3136332e3134342e3231343a353334320d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a2035393231333830383932373632343237303730303831370d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 18:52:04 DEBUG: [F76BA038: 5082 < 78.31.67.55] HEX: 4f5054494f4e53207369703a3130304038312e3136392e3230312e323437205349502f322e300d0a5669613a205349502f322e302f5544502037382e33312e36372e35353a353137363b6272616e63683d7a39684734624b2d343039363938343637343b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533313631333936333339363633373331333336343631303133323333333933353337333233383338333133390d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304037382e33312e36372e35353a353137360d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203234383537323439373832323334353439333634323139340d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 19:21:59 DEBUG: [7217985D: 5084 < 89.163.144.214] HEX: 4f5054494f4e53207369703a3130304038352e3231342e3133342e323431205349502f322e300d0a5669613a205349502f322e302f5544502038392e3136332e3134342e3231343a353435353b6272616e63683d7a39684734624b2d313237333833343437333b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533353634333633383336363633313331333336343633303133323332333133343331333633333339333133380d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304038392e3136332e3134342e3231343a353435350d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203235343333363938353734333436393930393532383438330d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 19:21:59 DEBUG: [7217985D: 5084 > 89.163.144.214] HEX: 5e39 2017-02-17 19:21:59 WARN: Unknown device - 1330533152 (89.163.144.214) 2017-02-17 19:27:53 DEBUG: [7217985D: 5084 < 78.31.67.55] HEX: 4f5054494f4e53207369703a3130304038312e3136392e3230312e323437205349502f322e300d0a5669613a205349502f322e302f5544502037382e33312e36372e35353a353436303b6272616e63683d7a39684734624b2d323038343435363130323b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533313631333936333339363633373331333336343633303133323336333533303339333233373331333833340d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304037382e33312e36372e35353a353436300d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203134373730363438333136313637313831363233363438380d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 19:27:53 DEBUG: [7217985D: 5084 > 78.31.67.55] HEX: 5e39 2017-02-17 19:27:53 WARN: Unknown device - 1330533152 (78.31.67.55) 2017-02-17 19:56:22 DEBUG: [97914596: 5086 < 89.163.144.214] HEX: 4f5054494f4e53207369703a3130304038352e3231342e3133342e323431205349502f322e300d0a5669613a205349502f322e302f5544502038392e3136332e3134342e3231343a353430393b6272616e63683d7a39684734624b2d333835363330333632313b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533353634333633383336363633313331333336343635303133333339333733353337333733383331333633380d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304038392e3136332e3134342e3231343a353430390d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203139393434383436333732363938303539383532343731310d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 19:56:22 WARN: Unknown device - ONS sip:100@85.214.1 (89.163.144.214) 2017-02-17 19:57:40 INFO: [1FAF3643] connected 2017-02-17 19:58:11 WARN: [1FAF3643] error - Connection reset by peer - IOException (...) 2017-02-17 19:58:11 INFO: [1FAF3643] disconnected 2017-02-17 20:03:40 DEBUG: [97914596: 5086 < 78.31.67.55] HEX: 4f5054494f4e53207369703a3130304038312e3136392e3230312e323437205349502f322e300d0a5669613a205349502f322e302f5544502037382e33312e36372e35353a353239303b6272616e63683d7a39684734624b2d333436363133333730333b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333533313631333936333339363633373331333336343635303133323332333433313334333533323339333133320d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a3130304037382e33312e36372e35353a353239300d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203132343537343636313739373431333536343334353239320d0a4d61782d466f7277617264733a2037300d0a0d0a 2017-02-17 20:03:40 WARN: Unknown device - ONS sip:100@81.169.2 (78.31.67.55) 2017-02-17 20:08:12 INFO: [A9F39D92] connected 2017-02-17 20:08:43 WARN: [A9F39D92] error - Connection reset by peer - IOException (...) 2017-02-17 20:08:43 INFO: [A9F39D92] disconnected
There are no messages on port 5078 (GoSafe).
We have a GoSafe device that seems to have a slightly different protocol than the currently supported protocol. Is there a way to adapt traccar to decode the altered protocol without having to go into the code?
How do you switch between text and binary modes?
Thanks,
I would need to see protocol documentation and some HEX message samples from your device.
Dear All,
I'm trying to integrate tracccar as communication layer to GTSE. I've follow all the step explain for the Integration of OpenGTS.
I do still have nothing on the map. The log file do sho the following
can someone help?
THanks