FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
719 views
in Vehicle tracking by
My ACKs are being sent before arrival of records and that makes fmb001 to close the socket from it's side
Kindly guide how to synchronize data arrival with ACKs?

1 Answer

0 votes
by anonymous
Hello.

How do you manage to do that?

Because server is supposed to first received records packet from FMB device -> and only then to send response.

Unless you did something like this:

1. FMB device establishes connection

2. server sends 0x01 ACK for connection

3. server sends a packet (records answer - without receiving ACTUAL records packet from device), or server sends GPRS codec 12 command to device.

if you'd simply first wait after sending 0x01 connection ack to device -> untill device sends records packet -> and then send response to records packet. then everything will be alright.

Regards
by anonymous
To illustrate your problem - send device log, taken from usb. When your problem with server happens @ log.

Regards