sz3 / cfc

Demo/test android app for libcimbar. Copy files over the cell phone camera!
https://cimbar.org
MIT License
519 stars 68 forks source link

There may be an error in data transmission #37

Open wershner opened 2 months ago

wershner commented 2 months ago

I tried to find that I transferred a 6M file, but there may be a phenomenon that the data saved after the completion of the scan progress bar is 0K or 16/32K, and no error was reported during the scanning process, but it is still considered to be an effective transmission and cannot be used stably.

sz3 commented 1 month ago

Were you able to save the file from the initial decode? Or did something else happen?

I'm not 100% sure I understand the scenario you're describing, but I can say that successive attempts (after initial decode) to on the same "file" will be treated as no-ops. That is, since the file is marked as done, progress is automatically ignored (the progress bar still updates though...). Closing+restarting the app will reset things into a clean state.