Closed
Bug 880759
Opened 11 years ago
Closed 9 years ago
[Bluetooth][meta] Implement HID profile feature
Categories
(Firefox OS Graveyard :: Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: shawnjohnjr, Assigned: lochang)
References
Details
(Whiteboard: [ft:conndevices])
Attachments
(3 files)
(deleted),
text/plain
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
application/octet-stream
|
Details |
Implement HID profile for gecko.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → shuang
Reporter | ||
Comment 2•11 years ago
|
||
Sorry not sure Ben is going to do it. Let Eric decide :)
Assignee: btian → nobody
Comment 3•11 years ago
|
||
TODO:
- dom bluetooth change (bug 890186)
- Gaia settings change
Updated•11 years ago
|
Comment 4•11 years ago
|
||
TODO update:
- implement dom bluetooth HID (bug 899014)
- map key-char for bluetooth keyboard (bug 890186)
- authorize for incoming connections (bug 889795)
Depends on: 889795
Reporter | ||
Comment 5•11 years ago
|
||
Bug 943809 is under review, once that bug is done, dom bluetooth HID part is done for bluez/bluedroid as the backend
Updated•10 years ago
|
Updated•9 years ago
|
Blocks: TV_FxOS2.5
Updated•9 years ago
|
No longer blocks: TV_FxOS2.5
Assignee | ||
Comment 6•9 years ago
|
||
Expect to resolved bug 880759 (HID implementation) including,
1) complete gecko implementation - bug 915534
2) complete related daemon implementation - bug 1223732
3) complete a test app to pass required PTS test cases - bug 1235523
in 2016 Q1 to pass PTS.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → lochang
Assignee | ||
Comment 7•9 years ago
|
||
We have passed the PTS(Profile Tuning Suite) of bluetooth HID profile v1.0.
A guide for PTS usage is at https://wiki.mozilla.org/B2G/QA/Bluetooth_PTS.
**Note: Please refer to wiki for required PTS 6.4.0 setup before testing.
The attachments are the workspace file including the PICS value of HID profile v1.0
(*.pqw6, for PTS new version 6.4.0 [1]) and a hack for testing HID features functions
including virtual_unplug, get_report, set_report and send_data [2].
[1] In PTS v6, there are no *.picsx for each Bluetooth profile anymore, all *.picsx are integrated into the only workspace file *.pqw6. (FYI: Current test shows that, even all files in project folder are removed and only the *.pqw6 left, the PTS works fine.)
[2] Since there is no user cases for these feature functions yet, so we only provide a hack to test
these feature functions for passing bluetooth HID profile v1.0. You can call a function by renaming
the host device. Rename the host device to "vir" will call virtual_unplug, "get" will call get_report,
"set" will call set_report and "sen" will call send_data.
Assignee | ||
Comment 8•9 years ago
|
||
We can't pass the PTS of HOGP(HID Over Gatt Profile) profile since the stack problem. Also we have tested several android devices and not all of them can pass PTS of HOGP profile [1]. However, we are able to
connect with remote controller of nexusplayer-l through HOGP.
[1] We have tested several android device including Motorola nexus6-l, HTC One mini2-jb, LG nexus5-l, Sony z3-l. LG nexus5-l and Sony z3-l can pass PTS of HOGP profile but Motorola nexus6-l, HTC One mini2-jb can't pass PTS of HOGP profile.
Assignee | ||
Comment 9•9 years ago
|
||
Assignee | ||
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
(In reply to Louis Chang [:lochang] from comment #8)
> We can't pass the PTS of HOGP(HID Over Gatt Profile) profile since the stack
> problem. Also we have tested several android devices and not all of them can
> pass PTS of HOGP profile [1]. However, we are able to
> connect with remote controller of nexusplayer-l through HOGP.
The attachment (*.cfa) is one of the test case sniff-log. We can't pass read and write related test cases of HOGP profile. The bluedroid stack should automatically send specific read or write command during connecting to the PTS. However, the PTS doesn't receive the command and keep waiting for the stack [1].
[1] Take the test case (TC_HGRF_RH_BV_01_I) we attached as an example, you can see frames exchanged between phone and PTS (View -> frame display -> PTS). We can see that PTS last sends a message: "Please send Read or ...", then the process is blocked.
Assignee | ||
Comment 12•9 years ago
|
||
Assignee | ||
Comment 13•9 years ago
|
||
The dependent bugs are all fixed. We are now support HID profile. The remaining HOGP problems are showed in comment 8, comment 11. And the PTS test cases please refer to comment 7.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Whiteboard: [ft:conndevices]
Reporter | ||
Comment 14•9 years ago
|
||
Well done. Thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•