concox gv20 always online

Cristian 5 years ago

Good morning, does anyone work with the gps concox gv20? I'm using one but it's constantly online, it goes offline for 1 second and comes back online again. This generates an excessive data consumption. Someone will have a solution to this problem? any contribution is welcome.

Anton Tananaev 5 years ago

Any log fragments?

Cristian 5 years ago

of course, I send 3 blocks of code, that is repeated many times, the vehicle is stopped without ignition

2020-10-05 00:01:22  INFO: [b777c87f] connected
2020-10-05 00:01:22  INFO: [b777c87f: gt06 < 181.42.32.171] HEX: 78780d0103598570834497930131ae2a0d0a
2020-10-05 00:01:22  INFO: [b777c87f: gt06 > 181.42.32.171] HEX: 787805010131f1870d0a
2020-10-05 00:01:26  INFO: [b777c87f: gt06 < 181.42.32.171] HEX: 79790020940a035985708344979307300130111551688956010000099571168201329cff0d0a
2020-10-05 00:01:26  INFO: Position filtered by Duplicate Distance filters from device: 359857083449793
2020-10-05 00:01:27  INFO: [b777c87f: gt06 < 181.42.32.171] HEX: 7979003d9404414c4d313d37353b414c4d323d44353b414c4d333d35463b535441313d34333b4459443d30313b46454e43453d46454e43452c4f46463b0133f4060d0a
2020-10-05 00:01:30  INFO: [b777c87f: gt06 < 181.42.32.171] HEX: 78780a13040602000201343ebc0d0a
2020-10-05 00:01:30  INFO: [b777c87f: gt06 > 181.42.32.171] HEX: 78780513013496070d0a
2020-10-05 00:01:30  INFO: Position filtered by Distance filters from device: 359857083449793
2020-10-05 00:03:22  INFO: [2adfe2b1] connected
2020-10-05 00:03:22  INFO: [2adfe2b1: gt06 < 181.42.32.171] HEX: 78780d0103598570834497930135e80e0d0a
2020-10-05 00:03:22  INFO: [2adfe2b1: gt06 > 181.42.32.171] HEX: 787805010135b7a30d0a
2020-10-05 00:03:25  INFO: [2adfe2b1: gt06 < 181.42.32.171] HEX: 79790020940a03598570834497930730013011155168895601000009957116820136dadb0d0a
2020-10-05 00:03:25  INFO: Position filtered by Duplicate Distance filters from device: 359857083449793
2020-10-05 00:03:26  INFO: [2adfe2b1: gt06 < 181.42.32.171] HEX: 7979003d9404414c4d313d37353b414c4d323d44353b414c4d333d35463b535441313d34333b4459443d30313b46454e43453d46454e43452c4f46463b0137b2220d0a
2020-10-05 00:03:29  INFO: [2adfe2b1: gt06 < 181.42.32.171] HEX: 78780a1304060200020138f4d00d0a
2020-10-05 00:03:29  INFO: [2adfe2b1: gt06 > 181.42.32.171] HEX: 7878051301385c6b0d0a
2020-10-05 00:03:29  INFO: Position filtered by Distance filters from device: 359857083449793
2020-10-05 00:05:22  INFO: [ac4c2c98] connected
2020-10-05 00:05:22  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 78780d010359857083449793013922620d0a
2020-10-05 00:05:22  INFO: [ac4c2c98: gt06 > 181.42.32.171] HEX: 7878050101397dcf0d0a
2020-10-05 00:05:25  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 79790020940a0359857083449793073001301115516889560100000995711682013a10b70d0a
2020-10-05 00:05:25  INFO: Position filtered by Duplicate Distance filters from device: 359857083449793
2020-10-05 00:05:26  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 7979003d9404414c4d313d37353b414c4d323d44353b414c4d333d35463b535441313d34333b4459443d30313b46454e43453d46454e43452c4f46463b013b784e0d0a
2020-10-05 00:05:30  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 78780a130406020002013cb2f40d0a
2020-10-05 00:05:30  INFO: [ac4c2c98: gt06 > 181.42.32.171] HEX: 78780513013c1a4f0d0a
2020-10-05 00:05:30  INFO: Position filtered by Distance filters from device: 359857083449793
Anton Tananaev 5 years ago

Where does it go offline? Looks like you omitted the most interesting part.

Cristian 5 years ago

Sorry, I missed the last 2 lines of the registration block

2020-10-05 00:05:22  INFO: [ac4c2c98] connected
2020-10-05 00:05:22  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 78780d010359857083449793013922620d0a
2020-10-05 00:05:22  INFO: [ac4c2c98: gt06 > 181.42.32.171] HEX: 7878050101397dcf0d0a
2020-10-05 00:05:25  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 79790020940a0359857083449793073001301115516889560100000995711682013a10b70d0a
2020-10-05 00:05:25  INFO: Position filtered by Duplicate Distance filters from device: 359857083449793
2020-10-05 00:05:26  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 7979003d9404414c4d313d37353b414c4d323d44353b414c4d333d35463b535441313d34333b4459443d30313b46454e43453d46454e43452c4f46463b013b784e0d0a
2020-10-05 00:05:30  INFO: [ac4c2c98: gt06 < 181.42.32.171] HEX: 78780a130406020002013cb2f40d0a
2020-10-05 00:05:30  INFO: [ac4c2c98: gt06 > 181.42.32.171] HEX: 78780513013c1a4f0d0a
2020-10-05 00:05:30  INFO: Position filtered by Distance filters from device: 359857083449793
2020-10-05 00:07:10  INFO: [ac4c2c98] timed out
2020-10-05 00:07:10  INFO: [ac4c2c98] disconnected
Anton Tananaev 5 years ago

Looks like you have a timeout configured on the server. Have you tried disabling it?

Cristian 5 years ago

I have this configuration, I have not tried to disable

 <entry key='server.timeout'>120</entry>
 <entry key='gt06.timeout'>100</entry>
 <entry key='calamp.timeout'>1200</entry>
Anton Tananaev 5 years ago

Why did you add those parameters? Do you know what they do?

Cristian 5 years ago

so I understood is the waiting time before closing the communication with the device.

Anton Tananaev 5 years ago

Kind of. It's a connection inactivity timeout. So, why are you asking the original question if you configured it yourself to close connection after 100 seconds of inactivity?

Cristian 5 years ago

because i have the gps configured to report with ignition every 30 seconds and not report anything without ignition, but it happens that it goes offline for a couple of seconds and returns to the online status, and while the vehicle is stopped it stays in that loop.

Anton Tananaev 5 years ago

But you configured that timeout yourself. Remove the timeout and see if it helps.

Cristian 5 years ago

Ok I will do what you tell me to do and then comment on what happened, thank you.