Conversation
Added the report interval to the report in order to detect if the client has lost connection
|
Can you please explain the use case. |
|
@tananaev When the device sends a report, the device sends its report interval so the sever knows when to excpect the next report. |
|
Are you planning to implement some modifications on the server side as well? What about iOS? |
|
Maybe not right now, but possible to do that in the near future. |
|
OK, we can merge when everything is ready. Also, the right way of implementing this would be to add a new parameter to the |
|
I'm not sure if that's correct, the interval isn't really a part of the Position model attributes (logically). |
|
I think it makes sense to send original interval value at the time when location was captured. |
|
If you think this is the best approach we can do that, but I'm not sure that's the right way logically. What exactly do I need to change in the server? |
|
We can either keep server as it is, but ideally we want to use interval for "unknown" status timeout. |
|
Ok, I'll keep you updated. Thanks. |
|
I like this idea, and would find it useful. |
Added the report interval to the report in order to detect if the client has lost connection