Closed Bug 826122 Opened 12 years ago Closed 11 years ago

Pairing fails after cancelling device pair multiple times

Categories

(Firefox OS Graveyard :: Gaia::Bluetooth, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
B2G C4 (2jan on)
blocking-basecamp +

People

(Reporter: ggrisco, Assigned: tzimmermann)

Details

(Whiteboard: [cr 436767])

Attachments

(2 files, 3 obsolete files)

1. Turn bluetooth on
2. Pair with another phone
4. When pairing pop-up comes up, press cancel.
5. Click on the same device, to pair again.

Repeat steps 1-5 multiple times.  Sometimes the "Unable to pair devices" pop-up is shown instead of allowing pairing to take place.
blocking-basecamp: --- → ?
Whiteboard: cr 436767
Whiteboard: cr 436767 → [cr 436767]
Triage:BB+, P1,C4 - blocking 808607
blocking-basecamp: ? → +
Priority: -- → P1
Target Milestone: --- → B2G C4 (2jan on)
Assignee: nobody → echou
Does not seems a Gaia bug. Component switch to reflect that.
Component: Gaia::Settings → General
Another like bug 824895 and bug 826108?
How are things going here, Eric?
Flags: needinfo?(echou)
(In reply to JP Rosevear [:jpr] from comment #3)
> Another like bug 824895 and bug 826108?

No, this is not related to bug 824895 and bug 826108. No crash occurs in this case.
Flags: needinfo?(echou)
Eric, is there any update? 
Thanks.
Handed this over to Thomas.
Assignee: echou → tzimmermann
Bluetooth peer devices can refuse to pair if the initiator tries too often. In this we now print a more meaningful error message.
Attachment #699277 - Flags: review?(ehung)
[v2] Split off the code from the strings. Please r+ if you're ok with it. Thanks!
Attachment #699277 - Attachment is obsolete: true
Attachment #699277 - Flags: review?(ehung)
Attachment #699411 - Flags: review?(ehung)
Comment on attachment 699409 [details] [diff] [review]
Added error messages for Bluetooth pairing refusals

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

r=me for the l10n part. Next time please leave the non-English locales unchanged: they’re in the git repository for testing purposes, but the real translation work happens in a separate repository.
Attachment #699409 - Flags: review?(kaze) → review+
Comment on attachment 699411 [details] [diff] [review]
Provide meaningful error message if pairing is refused

r=me, the code logic is correct so it's good for me. But we may need UX review this to see if the message is appropriate.
I think it's okay to land first and let UX verify it afterward.
Attachment #699411 - Flags: review?(ehung) → review+
Added r+ tag to commit message
Attachment #699409 - Attachment is obsolete: true
Attachment #699625 - Flags: review+
Added r+ tag to commit message
Attachment #699411 - Attachment is obsolete: true
Attachment #699626 - Flags: review+
Removing checkin-needed since this is going into the gaia github and not into our hg repositories.
Keywords: checkin-needed
Component: General → Gaia::Bluetooth File Transfer
QA Contact: wachen
A pull request is pending for this bug.

https://github.com/mozilla-b2g/gaia/pull/7417
Device: Unagi
Build Identifier: 20130113070202
Update channel: 
   nightly b2g18 (pvt server)  
   unagi.zip	13-Jan-2013 08:06 	100M	 
   https://pvtbuilds.mozilla.org/pub/mozilla.org/b2g/nightly/mozilla-b2g18-unagi-eng/
Git commit info: 2013-11-13 15:15:51

Verified fixed
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: