Closed Bug 1093084 Opened 10 years ago Closed 10 years ago

make system/js/bluetooth_transfer v2 works

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

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
Status: NEW → ASSIGNED
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)
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)
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
Depends on: 1122327
From today I will start the v2 BT file receiving test (send from android because it allow send file without paring first)
Depends on: 1121404
Successfully got picture from samsung android device to flame with APIv2 (with ian's BT/Settings app patch)
No longer depends on: 1121404
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.
The bluetooth.js part would be done in bug 1088591, which fix the quick settings issue in v2
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.
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
Blocks: 1090799
No longer depends on: 1090799
Is this bug still valid?
Flags: needinfo?(gasolin)
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
No longer depends on: 1121359
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: