Traccar Client Android continue to send same position

rudynet9 years ago

Why on Android device continue to send the same position also if I change my position. The position and timestamp is always the same and is the position when I start the app for the first time.
Many thanks

Rudy

Anton Tananaev9 years ago

I'm guessing that it's because it doesn't receive a reply from the server.

rudynet9 years ago

wich reply I need to send back to the device from my own server, so I've tried with "HTTP/1.1 200 OK" but nothing change.

Many thanks

Rudy

Anton Tananaev9 years ago

Are you writing your own HTTP server? Why don't you want to use existing solutions? There must be some issue with your response if Client app doesn't accept it.

rudynet9 years ago

Yes I'm having my HTTP server that I used with tk102 and was ok , so I've tried to adapt this to use with Traccar Client Android but with no success

Anton Tananaev9 years ago

TK102 doesn't use HTTP protocol.

rudynet9 years ago

Many thanks Anton for your reply , so I've tried with iPhone app traccar client to send back to him "HTTP/1.1 200 OK\r\n" and it's all ok but with Android doesn't function I haven't any updates of coordinate continue to send me the first coordinate when I've installed the app.

Anton Tananaev9 years ago

Try to put two line breaks:

HTTP/1.1 200 OK\r\n\r\n