Closed
Bug 953019
Opened 11 years ago
Closed 7 years ago
[HID] Notify user to press any key on the bluetooth keyboard to init connection
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(tracking-b2g:backlog)
RESOLVED
WONTFIX
tracking-b2g | backlog |
People
(Reporter: shawnjohnjr, Unassigned)
References
Details
Attachments
(1 file)
597.55 KB,
application/pdf
|
Details |
Some bluetooth keyboard does not support connection initiated from phone. It is supposed to add notification.
So Gecko is suppose to tell the HID keyboard supports:
a. HID Keyboard can accept connection initiated from phone
b. HID keyboard can accept reconnection initiated from phone
Impact:
Some HID keyboards only design as that the connection only initiated from keyboard itself. If we don't guide user, user would think HID keyboard fail to connect.
Use case might look like:
1. Pair with Bluetooth HID keyboard
2. Bluetooth HID connection established
3. HID Connection drop if users disconnect or turn off bluetooth from the phone
4. User turns on bluetooth again
5. If user connects with bluetooth hid keyboard, user shall expect to see HID keyboard gets connected or a dialog showing that user shall press any key on keyboard to recover HID keyboard connection
Tech detail:
bluedroid will check SDP records with HID normally connectable
and HIDReconnectInitiate and HIDNormallyConnectable.
HIDReconnectInitiate attribute is a boolean value, which indicates
whether the device initiates the reconnection process or expects the host to.
Devices that have this attribute True shall enter Page mode to automatically
reconnect to the host if the connection is dropped for any unknown reason.
HIDNormallyConnectable is an optional Boolean attribute that specifies
whether a HID is normally in Page Scan mode (when no connection is active)
or not. If the device declares this attribute and sets it to true, it shall
remain connectable in order to respond.
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(nhsieh)
Reporter | ||
Updated•11 years ago
|
Component: Gaia::Settings → Bluetooth
Reporter | ||
Comment 1•11 years ago
|
||
Hi Neo,
Please consider this scenario if Bluetooth HID is in your spec.
Reporter | ||
Updated•11 years ago
|
Summary: Notify user to press any key on the bluetooth keyboard to init connection → [Bluetooth] [HID]Notify user to press any key on the bluetooth keyboard to init connection
Comment 2•11 years ago
|
||
Hi Bruce, I know this is a important function. But seems not in 1.4 scope. Please help to review that and give us feedback. Thanks.
Flags: needinfo?(nhsieh) → needinfo?(bhuang)
Reporter | ||
Comment 3•11 years ago
|
||
Bruce, I ni? Neo because I hope UX team can take consideration whenever HID is in scope, since we have done some efforts on Bluetooth HID profile already and it is good to notify UX team earlier. Since I'm not sure when HID will be considered in later milestone.
Reporter | ||
Comment 4•11 years ago
|
||
Bruce,
If HID is part of your future plan, this bug also needs gaia work.
Comment 5•11 years ago
|
||
This will need stream 3 resources for UX/Gaia. Adding to backlog first.
Reporter | ||
Updated•11 years ago
|
Assignee: shuang → joliu
Assignee | ||
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Comment 7•9 years ago
|
||
Hi Shawn,
How can we get SDP record through bluedroid stack. So that we can determine whether to notify user to establish connection from HID Device or not?
Thanks,
Louis
Flags: needinfo?(shuang)
Reporter | ||
Comment 8•9 years ago
|
||
(In reply to lochang from comment #7)
> Hi Shawn,
> How can we get SDP record through bluedroid stack. So that we can
> determine whether to notify user to establish connection from HID Device or
> not?
>
> Thanks,
> Louis
This attribute mask can be retrieved from hid info struct. I guess we can get it from hid_info_callback.
Flags: needinfo?(shuang)
Updated•9 years ago
|
Updated•9 years ago
|
Assignee: nobody → lochang
Updated•9 years ago
|
Summary: [Bluetooth] [HID]Notify user to press any key on the bluetooth keyboard to init connection → [HID] Notify user to press any key on the bluetooth keyboard to init connection
Comment 10•9 years ago
|
||
For now, resolving this bug is user experience decision (or we can resolve it after finding a way to receive the flag |HIDNormallyConnectable| in gecko).
As describe in comment 1, some bluetooth keyboard does not support reconnection initiated from phone (only support one-way reconnection initiated from keyboard itself). So for better user experience, we should notify user to press any key on the keyboard to establish the reconnection. To accomplish this function, we have to check whether the flag |HIDNormallyConnectable| in HID device is set or not. But now we have no way to receive this information in gecko.
We have teseted for several android device including Motorola nexus6-l, HTC One mini2-jb, LG nexus5-l, Sony z3-l. And only HTC mini2 notifies user to establish the reconnection from keyboard. It implements this function without checking the |HIDNormallyConnectable| flag, but directly notifies user for every keyboard (even the keyboard which |HIDNormallyConnectable| is set).
Comment 11•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•