Please, implement and additional slider or dropdown that will allow to configure how many times (n) app retries to send all the measurements that hasn't been confirmed by the server side as received and saved in the database.
Logic assumptions:
An additional (next to #18) loop that iterates through the send queue and resends unconfirmed measurements.
When n > 0 and given measurement is still unconfirmed after n retries then it is removed from send queue.
Unconfirmed measurement is sent with their own / original timestamp, not the current timestamp.
Setting this slider or dropdown to 0 means: repeat endlessly. This should be the default value.
Please, implement and additional slider or dropdown that will allow to configure how many times (
n
) app retries to send all the measurements that hasn't been confirmed by the server side as received and saved in the database.Logic assumptions:
n > 0
and given measurement is still unconfirmed aftern
retries then it is removed from send queue.Setting this slider or dropdown to
0
means: repeat endlessly. This should be the default value.