Closed
Bug 909883
Opened 11 years ago
Closed 7 years ago
Support concurrent file transfers to different devices
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: tzimmermann, Unassigned)
References
Details
We have more and more use cases where we want to transfer specific data, such as vcards, images, or videos, to other devices via BT. I think we currently have several limitations for doing that (one paired device at a time(?)). We should evaluate and discuss the necessary steps for resolving this problem.
Reporter | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Hi Thomas,
Ben Tian has been working on bug 897782 for a while. The main idea of his solution is queueing file sharing requests in Gecko, so we won't report error to Gaia when users want to share files while there's still an ongoing transferring.
As for concurrent file transfer, we have had a bug (bug 806749) but I closed it for some reasons, mainly because the amount of connections may be limited by the capability of Bluetooth chip and Bluetooth stack. Please refer to bug 806749 comment 4 for more information.
- Eric
Reporter | ||
Comment 3•11 years ago
|
||
Hi Eric,
Thanks for the information. The topic of multiple file transfers over BT has come up several times now in several contexts, such as VCARD transfers or NFC image sharing. I think that queuing file transfers should be sufficient for now to handle these use cases.
In the long run, I wouldn't completely give up on the idea of concurrent transfers however. If you have a long-running file transfer (lets say minutes) and want to quickly exchange VCARDs, queuing them is not an overly good user experience.
Having concurrent file transfers is probably just a matter of not using global values and data structures in the relevant places? We can certainly slowly work towards that goal. Maybe we could keep one of these bug reports open, but set the priority to 'Enhancement'? What do you think?
Comment 4•11 years ago
|
||
Hi Thomas,
> In the long run, I wouldn't completely give up on the idea of concurrent
> transfers however. If you have a long-running file transfer (lets say
> minutes) and want to quickly exchange VCARDs, queuing them is not an overly
> good user experience.
Agree. In addition, yesterday I talked to EPM Joe about the queuing sending requests idea and he thought we should put this in FxOS v1.3 since it may need UX input. Just to let you know.
>
> Having concurrent file transfers is probably just a matter of not using
> global values and data structures in the relevant places?
I won't be too worried about implementation on our side under dom/bluetooth, however my main concern will still be the uncertainty of capability of Bluetooth stack and Bluetooth hardware. I was thinking maybe we can have a "max connections" limit to avoid bugs like "Trying to share files to 10 devices concurrently but failed" being reported.
> We can certainly slowly work towards that goal. Maybe we could keep one of these
> bug reports open, but set the priority to 'Enhancement'? What do you think?
Sure. We can just use this bug as a beginning and discuss here. :)
- Eric
Reporter | ||
Comment 5•11 years ago
|
||
Adding Ken, as it's related to NFC.
Reporter | ||
Comment 6•11 years ago
|
||
Hi Eric,
That sound's very good.
> however my main concern will still be the uncertainty of capability of
> Bluetooth stack and Bluetooth hardware. I was thinking maybe we can have a
> "max connections" limit to avoid bugs like "Trying to share files to 10
> devices concurrently but failed" being reported.
Limiting the maximum number of connections sounds like a sensible thing to do. Something I had in mind was that we could also decide by looking at the file sizes. If we have a long running file transfer and want to transfer a small file, we'd send it concurrently. If we'd want to send another large file, we'd queue.
I'm sure we could work out some heuristics for selecting the best strategy. And if the chip set is crappy we'd still be able to switch to queuing exclusivly.
Comment 7•9 years ago
|
||
Revise this bug title since bug 897782 for multiple file transfer has already been landed.
Summary: [Bluetooth] Support multiple , concurrent file transfers to different devices → Support concurrent file transfers to different devices
Comment 9•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•