Closed
Bug 1093084
Opened 10 years ago
Closed 10 years ago
make system/js/bluetooth_transfer v2 works
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: gasolin, Assigned: gasolin)
References
Details
Attachments
(2 files)
We need solid base to enable BT API v2 support. need unit test as well
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
Comment 3•10 years ago
|
||
Fred,
https://wiki.mozilla.org/index.php?title=Gaia/Team/Taipei&oldid=1047643#Fred
Why is this bug listed on the wiki but with no updates for a month?
Flags: needinfo?(gasolin)
Assignee | ||
Comment 4•10 years ago
|
||
The main PR is blocked on test and will continue the test when Bluetooth APIv2 paring is ready.
There are several discussions, experimental branches, related bugs around this bug in a month. Most work are forked to unblocked this issue.
I'll update and link them accordingly to this bug to keep information synced.
Flags: needinfo?(gasolin)
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 5•10 years ago
|
||
Some experimental PRs:
Bug 1116437 - [Bluetooth] promisify Bluetooth getadapter
https://github.com/mozilla-b2g/gaia/pull/27059
to move adapter into promise format
lazyload bluetooth
To use same window.bluetooth domain for v1/v2 support
https://github.com/mozilla-b2g/gaia/pull/27057
Bug 1090799 - move nfc related bluetooth to separate module
To cleanup nfc/bt misery but may leverage george's nfc_core refactor work
https://github.com/mozilla-b2g/gaia/pull/27003
Assignee | ||
Comment 6•10 years ago
|
||
From today I will start the v2 BT file receiving test (send from android because it allow send file without paring first)
Assignee | ||
Comment 7•10 years ago
|
||
Successfully got picture from samsung android device to flame with APIv2
(with ian's BT/Settings app patch)
No longer depends on: 1121404
Assignee | ||
Comment 8•10 years ago
|
||
The current patch remove the NfcHandoverManager dependency parts to make test work.
To test on device, you need apply settings patch first
curl https://github.com/mozilla-b2g/gaia/pull/26139.patch | git apply
Current gaia master must work with flame 18D image.
Assignee | ||
Comment 9•10 years ago
|
||
The bluetooth.js part would be done in bug 1088591, which fix the quick settings issue in v2
Assignee | ||
Comment 10•10 years ago
|
||
The bluetooth_transfer.js part could be resolved by bug 1116437.
work based on bug 1128812, make getadapter return promise allow v1/v2 share same bluetooth_transfer.js, test on device ok.
Assignee | ||
Comment 11•10 years ago
|
||
since we decide not expose getAdapter function with BT APIv2, the bug 1116437 patch is obsolete.
Will implement new v2 bluetooth_transfer here based on bug 1128812
Assignee: nobody → gasolin
Summary: make system/js/bluetooth v2 → make system/js/bluetooth_transfer v2 works
Comment 12•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 14•10 years ago
|
||
Both transfer and receive works after system bug 1142371 resolved & BT app support getAdapter via V2 API
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(gasolin)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•