Using Android Client X-GPS with traccar

acalabro7 years ago

Hello, I´m new using traccar and I need to use a Cellphone to send SOS ALARM to the traccar server..
Searching into web I found a client called X-GPS.. I used the HEX decoder to find out the correct protocol and it seems to be OSMAND.
I finish the configuration and receive all tracking data succesfuly buy when I press the SOS button I´m not receiving the ALARM into server

Then I see into log the next line

010000000000bc614e01c04d017eb0e0073cc041c9bf27c89be600000000000053000001594b54544b0000020014020000

Each time I send the SOS alarm..
Coud you tell me if this client is supported or if you know an app to use this kind of functionality?
Because traccar client or Tracker for Traccar doesnt have a SOS function

Thanks!!!

Anton Tananaev7 years ago

That seems like some binary data. How did you determine that it uses OsmAnd protocol? It doesn't seem like it's the case.

acalabro7 years ago

I just try some ports - 5001 - 5006 - 5005 and 5055.. every time the clients connect... in the event window.. I see PROTOCOL = OsmAnd..

Do you know if this app works with traccar server..? or do you know any app with SOS ALARM functionality?

Thanks in advance!!

Anton Tananaev7 years ago

What event window are you talking about?

If you have protocol documentation for X-GPS, I can check if it's supported.

acalabro7 years ago

Sorry no EVENTS.. I wanted to say STATUS.. bottom left panel of traccar web page..

Here are some lines with log events:
My device is 434813

2016-12-30 10:29:31 DEBUG: [5236E4D5: 5055 > 186.13.6.189] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2016-12-30 10:29:31  INFO: [5236E4D5] id: 434813, time: 2016-12-30 09:51:12, lat: -35.57815, lon: -58.01361, speed: 0.0, course: 0.0
2016-12-30 10:29:31  INFO: [5236E4D5] id: 434813, time: 2016-12-30 09:58:11, lat: -35.57818, lon: -58.01371, speed: 0.0, course: 0.0
2016-12-30 10:29:31 DEBUG: [5236E4D5: 5055 < 186.13.6.189] HEX: 474554202f3f69643d3433343831332674696d657374616d703d31343833313033353931266c61743d2d33352e3537383339313633266c6f6e3d2d35382e30313338333137312673706565643d302e302662656172696e673d302e3026616c7469747564653d33302e3026626174743d38372e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b20585431353633204275696c642f4d504432342e3130372d3532290d0a486f73743a203230302e34312e3137332e39393a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-12-30 10:29:31 DEBUG: [5236E4D5: 5055 > 186.13.6.189] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2016-12-30 10:29:31  INFO: [5236E4D5] id: 434813, time: 2016-12-30 10:08:08, lat: -35.57819, lon: -58.01373, speed: 0.0, course: 0.0
2016-12-30 10:29:31 DEBUG: [5236E4D5: 5055 < 186.13.6.189] HEX: 474554202f3f69643d3433343831332674696d657374616d703d31343833313034323738266c61743d2d33352e3537383332333935266c6f6e3d2d35382e30313338373734372673706565643d302e302662656172696e673d302e3026616c7469747564653d32352e3026626174743d38372e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e302e313b20585431353633204275696c642f4d504432342e3130372d3532290d0a486f73743a203230302e34312e3137332e39393a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-12-30 10:29:31 DEBUG: [5236E4D5: 5055 > 186.13.6.189] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2016-12-30 10:29:31  INFO: [5236E4D5] id: 434813, time: 2016-12-30 10:13:11, lat: -35.57839, lon: -58.01383, speed: 0.0, course: 0.0
2016-12-30 10:29:31  INFO: [5236E4D5] id: 434813, time: 2016-12-30 10:24:38, lat: -35.57832, lon: -58.01388, speed: 0.0, course: 0.0
Anton Tananaev7 years ago

That looks like data from Traccar Client. I also don't see the SOS message there.

acalabro7 years ago

Antón..Each time i sent SOS from cell phone, i see a single líne with 0031..( number 1)
After that the binary data that i sent you un the first mensaje

Anton Tananaev7 years ago

I need to see logs. Please make sure it includes both fragment from the previous comment and SOS message.