Ask a question

3592 questions

4090 answers

3024 comments

34763 members

Ask a question
0 votes
737 views
in Vehicle tracking by

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

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)