Server decodes whatever device sends without any delays, so it must be the way your device works. You should probably ask device vendor if it's possible to configure it to report every 5/10 seconds.
The device is config with every 10 seconds, but at the 10 seconds it does not update the server and after a few observation, sometimes it update to server at the 30th seconds. I just want to isolate the problem. Whether it is about the 'network' or anything else.
You should probably check server logs. If you see HEX messages, then device is sending data.
sample of server log
2017-08-29 10:21:13 INFO: [9AE56912] id: ***************, time: 2017-08-29 10:20:14, lat: 1.52064, lon: 103.70183, speed: 15.8, course: 205.1
2017-08-29 10:21:13 INFO: [9AE56912] id: ***************, time: 2017-08-29 10:20:34, lat: 1.51901, lon: 103.70292, speed: 33.7, course: 125.8
2017-08-29 10:21:13 INFO: [9AE56912] id: ***************, time: 2017-08-29 10:20:44, lat: 1.51819, lon: 103.70393, speed: 17.7, course: 216.3
2017-08-29 10:21:13 INFO: [9AE56912] id: ***************, time: 2017-08-29 10:20:24, lat: 1.51985, lon: 103.70175, speed: 31.9, course: 125.5
2017-08-29 10:21:13 INFO: [9AE56912] id: ***************, time: 2017-08-29 10:21:04, lat: 1.51681, lon: 103.70315, speed: 0.3, course: 0.0
2017-08-29 10:21:13 INFO: [9AE56912] id: ***************, time: 2017-08-29 10:20:54, lat: 1.51741, lon: 103.70356, speed: 17.6, course: 214.2
Looks like device sends it in batch.
i am using the obd ii. have you ever encounter it anton? maybe just this device
There are many devices that work like that, so it can be the way this device model works.
Some devices work in this manner due to the way the carrier charges for data - better to send a large set of data in a single connection than send many small packages in separate connections. I know one carrier in Australia who was using a minimum of 1MB data in a single connection even if only a few KB was sent during the transfer.
Hi Anton,
I'm building a realtime tracking with 5 seconds interval. I've just found out that the the tracker that I've being used is update its location by 'batch' . It does not update its location every 10 seconds to the server but, after interval 20 - 30 seconds, a bulk of sql query insert to table positions with 10 second interval.
Is this a feature or what do I need to do to get the tracker update its location every 10 seconds and insert the query to server. What other point of view do I need to take care of, like server time, device time, tracker itself.
Thanks