Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle cutoff on transmission #13

Open
githengi opened this issue Mar 6, 2019 · 3 comments
Open

Handle cutoff on transmission #13

githengi opened this issue Mar 6, 2019 · 3 comments
Labels
Size: Medium (2-3) Issue will take 2 - 3 days

Comments

@githengi
Copy link
Contributor

githengi commented Mar 6, 2019

When a payload sending fails, the sending app will resend the payload until the receiver acknowledges receipt.

If the connection is reset then the transfer will start from the last known receipt by receiver as defined on this #8

@githengi githengi added the Size: Medium (2-3) Issue will take 2 - 3 days label Mar 7, 2019
@pld
Copy link
Member

pld commented Mar 7, 2019

Is doing this automatically is required for MVP? Without this the user would have to manually restart the sync, is that correct?

@githengi
Copy link
Contributor Author

githengi commented Mar 7, 2019

Yes, the user can start the process manually.

Also in the MVP if any cutoff happens then it needs to disconnect and ask user to start afresh to avoid skipping payloads that was not delivered.

@craigappl
Copy link

Is this a correct flow?

  • Users connect and begin transmission
  • Sending App walks out of range and transmission fails
  • User interface is presented to both the sender and receiver that the transmission has failed. (We need to define these error states) Both users are instructed to start over again.
  • Both users touch a button to close out of the error message
  • The sender attempts to connect to the receiver again

Error states:
I assume the Nearby API has clearly defined error states. We need to differentiate between failures in the OpenSRP app during transmission, failures in data quality (i.e. checksum) and failures in the Nearby API due to connection loss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: Medium (2-3) Issue will take 2 - 3 days
Projects
None yet
Development

No branches or pull requests

3 participants