Closed Bug 947060 Opened 11 years ago Closed 11 years ago

Disable authentication and encryption on Bluetooth file transfer to avoid being prompted for pairing while using NFC

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: echou, Assigned: echou)

References

Details

Attachments

(1 file, 1 obsolete file)

Currently in our codebase, we don't allow file transfer without a pairing process if both device don't share a link key. However that would conflict with NFC's user story. Actually I think the best solution should be Gecko provides a set of flexible DOM API for applications to decide if authentication is necessary before using Bluetooth to transfer data. That might be able to be accomplished by Firefox OS 1.4 or 1.5.
Blocks: 933093
* Make arguments aAuth and aEncrytption false to avoid bonding procedure while transferring files via Bluetooth OPP. That would make NFC's user scenario more reasonable.

It's acceptable in terms of OPP/GOEP spec. Please refer to section "Profile Fundamentals" in GOEP spec for more details.
Assignee: nobody → echou
Attachment #8343516 - Flags: review?(gyeh)
According to section 2.3 "Profile Fundamentals" of OPP 1.2 spec, "The profile fundamentals are the same as defined in the GOEP. Link level authentication and encryption are mandatory to support and optional to use. When using Core Specification v2.1 or later, encryption is mandatory to use; otherwise
its use is optional." So we shouldn't disable encryption.

Patch updated. Thanks to Gina for pointing this out.
Attachment #8343516 - Attachment is obsolete: true
Attachment #8343516 - Flags: review?(gyeh)
Attachment #8344472 - Flags: review?(gyeh)
Comment on attachment 8344472 [details] [diff] [review]
patch 1: v2: disable authentication while transfering files via Bluetooth

Review of attachment 8344472 [details] [diff] [review]:
-----------------------------------------------------------------

I checked the spec, and the changes seem reasonable to me.
Attachment #8344472 - Flags: review?(gyeh) → review+
https://hg.mozilla.org/mozilla-central/rev/c1a13692027d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
See Also: → 1088028
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: