Closed Bug 797810 Opened 12 years ago Closed 12 years ago

[b2g-bluetooth] No reaction when a Headset device press button

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: gyeh, Assigned: gyeh)

Details

Attachments

(2 files, 3 obsolete files)

After connecting to a headset device, when we press its button, we'll receive "A T + C K P D = 2 0 0" but no reaction on our phone. The response should be depend on current call state. When we're dialing a phone call, it means hanging up the phone call. When there's a incoming phone call, it means answering it up. When there's no phone call for the time being, we probably just to redial the last number.
Assignee: nobody → gyeh
Attachment #668295 - Flags: review?(kyle)
Comment on attachment 668295 [details] [diff] [review] Patch(v1) - Support command "AT+CKPD=200" in BluetoothHfpManager Review of attachment 668295 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bluetooth/BluetoothHfpManager.cpp @@ +485,5 @@ > } > mDevicePath = aDeviceObjectPath; > > + nsString serviceUuidStr; > + if (aIsHandsfree) Nit: Needs brackets.
Attachment #668295 - Flags: review?(kyle) → review+
Attachment #668296 - Flags: review?(kyle)
Comment on attachment 668296 [details] [diff] [review] Patch 2(v1) - Cleanup for profile connect function Review of attachment 668296 [details] [diff] [review]: ----------------------------------------------------------------- Aweosme, much cleaner :D
Attachment #668296 - Flags: review?(kyle) → review+
Attachment #668295 - Attachment is obsolete: true
Attachment #668296 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: