format post data send tcp

beryindo7 years ago

hi anton, can you help me format post data send tcp osmand ?

dsm7 years ago
beryindo7 years ago

try with tcp not work bro.
this my log

2017-09-27 12:22:05 DEBUG: [A1C200C8: 5055 < 114.124.237.49] HEX: 504f5354202f3f69643d303831333230303534343532266c61743d2d372e303237373636266c6f6e3d3130372e3533393534332674696d657374616d703d323031372d392d3237543132253341323125334135395a2668646f703d3133343026616c7469747564653d3730362e39302673706565643d302e34302668656164696e673d302e303020485454502f312e310d0a486f73743a20677073696e646f2e7765622e69643a353035350d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a557365722d4167656e743a204245525947414e54454e470d0a436f6e74656e742d4c656e6774683a20300d0a
dsm7 years ago

First of all, i am not your bro.
Second, goto https://hex-works.com/eng and copy your hex-data there.

beryindo7 years ago

yes bro I know it. but why traccar can't saving to database and show in map

Anton Tananaev7 years ago

Data has to be passed through query parameters, not payload.

beryindo7 years ago

owh, osmand support tcp ? because I think only can use http only

beryindo7 years ago

for example I have data tcp

id,081320054452,lat=-6.027809,lon=106.539535,timestamp=2017-9-27T9:6:4Z,hdop=730,altitude=707.20,speed=0.45,heading=0.00
Anton Tananaev7 years ago

HTTP is a protocol on top of TCP, so your question makes no sense.

beryindo7 years ago

any solution for new device with tcp ?

Anton Tananaev7 years ago

This question makes no sense either. I think you should do some research before asking any further questions. Seems like you lack understanding of network protocols.

beryindo7 years ago

I know tcp not same with http. but how to add for new device protocol?

dsm7 years ago