Closed Bug 825851 Opened 12 years ago Closed 12 years ago

[Bluetooth][Hfp] Handle AT command: AT+VGM

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla20
blocking-b2g tef+
Tracking Status
firefox20 --- fixed
b2g18 + fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- fixed

People

(Reporter: echou, Assigned: gyeh)

References

Details

Attachments

(2 files, 3 obsolete files)

To support feature "Remote audio volume control", we need to handle AT command AT+VGM. Please see 4.28 "Remote Audio Volume Control" of HFP 1.5 for more detail.
Assignee: nobody → gyeh
Cache the value of vgm in BluetoothHfpManager and reply OK.
Attachment #697318 - Flags: review?(echou)
Comment on attachment 697318 [details] [diff] [review] Patch 1(v1): Handle AT command: AT+VGM Review of attachment 697318 [details] [diff] [review]: ----------------------------------------------------------------- r=me with nit picked ::: dom/bluetooth/BluetoothHfpManager.cpp @@ +630,5 @@ > + NS_WARNING("Failed to extract microphone volume from bluetooth headset!"); > + goto respond_with_ok; > + } > + > +#ifdef DEBUG We don't need to do this ourselves. NS_ASSERTION won't do anything if DEBUG is not defined.
Attachment #697318 - Flags: review?(echou) → review+
Final patch
Attachment #697318 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
tracking-b2g18: --- → ?
This bug(and other 12 bugs) block Bluetooth certification. So, these bugs need to be marked as tef+ and landed to v1.0.1 in order to pass Bluetooth certification: bug 827255 bug 827212 bug 827266 bug 828175 bug 823346 bug 827230 bug 828798 bug 835740 bug 846647 bug 828160 bug 827204 bug 825861 bug 825851 So, mark these bugs as tef?. These fixes have some dependency and it would be better to have them landed in a specific order. I'll provide the order later.
blocking-b2g: --- → tef?
I recommend to land these patches in the following order: 01. bug827204 02. bug827255 03. bug823346 04. bug827230 05. bug828798 06. bug827212, patch 1 06. bug827212, patch 2 07. bug827266 08. bug828175 09. bug846647 10. bug825861 11. bug825851 12. bug835740 I'm going to attach patches for b2g18_v1_0_1 for each bug. Please land them in the above order. There should be no conflict and feel free to let me know if I can be any help.
Attached patch b2g18_v1_0_1 patch (obsolete) — Splinter Review
Attached patch b2g18_v1_0_1 patch (obsolete) — Splinter Review
Attachment #738776 - Attachment is obsolete: true
tef- for now until tef release partner confirms this is blocking BT cert.
blocking-b2g: tef? → -
Seems it is confirmed it blocks BT cer as per bug 868347
blocking-b2g: - → tef+
v1.0.1 patch updated.
Attachment #738924 - Attachment is obsolete: true
Ryan, I've updated all patches. Please land them in the following order, thanks. 01. bug827204 02. bug827255 (03. bug823346 has been landed on v1.0.1) 04. bug827230 05. bug828798 06. bug827212, patch 1 06. bug827212, patch 2 07. bug827266 08. bug828175 09. bug846647 10. bug825861 11. bug825851 12. bug835740
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: