Yes, Traccar Client expects standard OK HTTP response from server.
Thanks Anton, traccar client send always the same timestamp, i think that is my problem on response, i send this:
String response = "HTTP/1.1 200 OK\r\n" + "Content-Type: text/html\r\n" + "Content-Length: ";
by socket
is wrong?
It doesn't seem like a valid HTTP response. Why is "Content-Length" empty? I would recommend to check what official Traccar server responds with.
where can i check the official Traccar server response?
i cant found, sorry, really i search ...
You can find it in Traccar logs in HEX format.
thanks again Anton, but on this link
https://github.com/tananaev/traccar/tree/master/src/org/traccar/protocol
what is traccar client?
Traccar Client uses OsmAnd protocol, but I don't think you will find anything useful in that code for your particular question.
thanks, i try, and try, and try and NOT work XD
That's why I said you should check actual response from Traccar server.
Hi , traccar client need response from the server?
thanks!