Closed Bug 1017944 Opened 10 years ago Closed 9 years ago

[Bluetooth]Support Passkey Display for HID keyboard

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED DUPLICATE of bug 1132345
tracking-b2g backlog

People

(Reporter: karlcow, Unassigned)

References

Details

Attachments

(1 file)

1. A Firefox OS Flame device with Firefox OS 2.0.0.0-prerelease 
   build Identifier 20140521160200
   flame/2.0.0/nightly
2. Tap on Settings
3. Tap on Bluetooth
4. Make sure Bluetooth is on
5. In the section "Devices in the area", select the name of your Apple bluetooth keyboard.
6. Tap to connect on the device name.
7. Message "Pairing with devices…"
8. Receive a window "Bluetooth Request-Form" with the name of the keyboard and a form for a code

Expected:
A code is displayed on the mobile device, that I will type **on the physical bluetooth keyboard** so it can be paired.

Actual:
The form stays without any clue for the PIN, until the time off message that the keyboard could not be paired.

Note there is a message barely visible (less than 1s before the form for the PIN code)
Gecko/Gaia did not handle a case "Passkey Display".
Passkey Entry: Initiator Display,  Responder Input, authenticated) --> Use case: HID keyboard.
Our Settings UX spec does not include this kind of use case. This probably needs to be added and support.
Flags: needinfo?(jelee)
Summary: Connecting Apple BlueTooth Keyboard with Firefox OS Flame → Support Passkey Display for HID keyboard
Summary: Support Passkey Display for HID keyboard → [Bluetooth]Support Passkey Display for HID keyboard
Hello Bruce, can you confirm if we are supporting passkey display? Tks!
Flags: needinfo?(jelee) → needinfo?(bhuang)
An additional comment, that this feature will become useful for Firefox OS on tablet. One of the setup, for people remote working with Tablets from cafes and so on, is to use the tablet as a screen and an external keyboard for typing.
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → ARM
I would say this is a bug even if we did not handle HID profile currently.
Need UX spec, ni Jenny. Put to backlog now, could plan for v2.2.
blocking-b2g: --- → backlog
Flags: needinfo?(hochang) → needinfo?(jelee)
See attached for spec. Tks =D
Flags: needinfo?(jelee)
clearing ni as it's in the backlog.
Flags: needinfo?(bhuang)
I think new bluetooth api will cover Gecko part. Then we need gaia to handle UI.
Flags: needinfo?(joliu)
(In reply to Shawn Huang [:shuang] [:shawnjohnjr] from comment #9)
> I think new bluetooth api will cover Gecko part. Then we need gaia to handle
> UI.

Yes, new bluetooth API will notify gaia the passkey when we receive display passkey request for HID keyboard.
Flags: needinfo?(joliu)
See Also: → 880759
blocking-b2g: backlog → ---
ni? gaia dev Fred.

Fred, does bluetooth app handle passkey display for pairing now? If so we can resolve this bug.

(In reply to Jocelyn Liu [:jocelyn] [:joliu] from comment #10)
> Yes, new bluetooth API will notify gaia the passkey when we receive display
> passkey request for HID keyboard.
Component: Bluetooth → Gaia::Bluetooth
Flags: needinfo?(gasolin)
we got displaypasskeyreq event for pairing now
https://github.com/mozilla-b2g/gaia/blob/master/apps/bluetooth/js/modules/pair_manager.js#L106
Flags: needinfo?(gasolin)
Resolve duplicate per comment 12.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: