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
818 views
in Vehicle tracking by anonymous

Hi all.

I am using an FMB001 and having problem with the tcp data link close delay from the device when it gets ack from the server.

The gprs record setting is: open link time out: 30s, response time out: 30s.

The data acquisition setting on stop / home: min period: 0, min saved records:1, send period: 5

when FMB001 is plugged, server get the trace below. everything is fine but I was expecting the device to close the tcp connection as soon as it get ack from the server, but it takes > 30 sec.

Is there a specific setting so that the device closes the tcp communication right away when it get the ack?  (the server parses data packet on tcp close....)

thank you for your help.

regards.

Denis

Feb 04 10:37:57 : [TELTO::] received imei

Feb 04 10:37:57 : [TELTO::] send valid imei: "data":[1]

Feb 04 10:37:57 : [TELTO::] received 1 data packets

Feb 04 10:37:57 : [TELTO::] send ack 1 data packets: "data":[0,0,0,1]

Feb 04 10:38:28 : [TELTO::] close: 31.42 sec.

Feb 04 10:38:28 : [TELTO::] parse data packet 1/1

Feb 04 10:38:28 : [TELTO::] UNPLUG -> lat, lng: 48.8887499, 2.1516366

Feb 04 10:38:28 : [TELTO::] UNPLUG -> published_at: Mon Feb 04 2019 10:39:06 GMT+0100 (CET)

Feb 04 10:38:28 : [TELTO::] UNPLUG -> UNPLUG: 0

1 Answer

0 votes
by anonymous

and to complète my question, sometimes the tcp close happens very quickly. (cf trace below). by the way, what is this 0 event? can I get rid of this?

Feb 04 11:26:21 : [TELTO::] received imei

Feb 04 11:26:21 : [TELTO::] send valid imei: "data":[1]

Feb 04 11:26:21 : [TELTO::] received 1 data packets

Feb 04 11:26:21 : [TELTO::] send ack 1 data packets: "data":[0,0,0,1]

Feb 04 11:26:22 : [TELTO::] close: 0.93 sec.

Feb 04 11:26:22 : [TELTO::] parse data packet 1/1

Feb 04 11:26:22 : [TELTO::] 0 -> lat, lng: 48.8961866, 2.1405899

Feb 04 11:26:22 : [TELTO::] 0 -> published_at: Mon Feb 04 2019 11:27:18 GMT+0100 (CET)