Closed
Bug 820103
Opened 12 years ago
Closed 12 years ago
bluetooth Hfp memory dialing and Hfp supplied number not supported
Categories
(Firefox OS Graveyard :: General, defect, P1)
Tracking
(blocking-basecamp:+, firefox19 fixed, firefox20 fixed, b2g18 fixed)
People
(Reporter: ggrisco, Assigned: gyeh)
References
Details
Attachments
(1 file, 2 obsolete files)
1. Switch ON BT from Settings>Bluetooth. 2. Pair to a Headset 3. Try memory Dialing from HF Feature seems to not be supported. Wanted to see if this was intentional or not.
Reporter | ||
Comment 1•12 years ago
|
||
I checked BluetoothHfpManager::ReceiveSocketData but didn't see any handling of "ATD".
Updated•12 years ago
|
Flags: needinfo?(clee)
Updated•12 years ago
|
Flags: needinfo?(echou)
Assignee | ||
Comment 2•12 years ago
|
||
Assignee: nobody → gyeh
Attachment #690755 -
Flags: review?(echou)
Comment 3•12 years ago
|
||
(In reply to ggrisco from comment #0) > 1. Switch ON BT from Settings>Bluetooth. > 2. Pair to a Headset > 3. Try memory Dialing from HF > > Feature seems to not be supported. Wanted to see if this was intentional or > not. No, not intentional, just missed it. Please note: * Dialer app won't support memory dialing by v1, so we'll respond with ERROR. (HFP spec 4.19 "Memory Dialing from the HF") * In addition, we need support from Etienne, the owner of Dialer app, to modify Dialer so that an outgoing call can be established with the phone number supplied by HF after receiving system message sent from Bluetooth. Gina will file another bug for this. This should be bb+. Please let us know if you have any questions. Eric
Flags: needinfo?(echou)
Comment 4•12 years ago
|
||
Comment on attachment 690755 [details] [diff] [review] Patch 1(v1): bluetooth Hfp memory dialing and Hfp supplied number not supported Review of attachment 690755 [details] [diff] [review]: ----------------------------------------------------------------- ok, looks good, but this patch has modified the interface of system message between Bluetooth and Dialer, so please file another bug for Etienne and mark dependency properly.
Attachment #690755 -
Flags: review?(echou) → review+
Comment 5•12 years ago
|
||
The product team is looking into this and will follow-up with Eric shortly.
Flags: needinfo?(clee)
Updated•12 years ago
|
blocking-basecamp: ? → +
Comment 6•12 years ago
|
||
Synced with product team. We'll fix this based on the principal mentioned in comment 3. The patch should work with Bug 820655 fixed.
Updated•12 years ago
|
Priority: -- → P1
Target Milestone: --- → B2G C3 (12dec-1jan)
Assignee | ||
Comment 7•12 years ago
|
||
Some examples of ATD command with a specific number are "ATD+886212345678;\r", "ATD8158975;". Note that we only keep string "ATD" and the phone number in the system message of bluetooth-dialer-command.
Attachment #690755 -
Attachment is obsolete: true
Attachment #692804 -
Flags: review?(echou)
Comment 8•12 years ago
|
||
Comment on attachment 692804 [details] [diff] [review] Patch 1(v2): bluetooth Hfp memory dialing and Hfp supplied number not supported Review of attachment 692804 [details] [diff] [review]: ----------------------------------------------------------------- r+ with nits addressed. ::: dom/bluetooth/BluetoothHfpManager.cpp @@ +570,5 @@ > + } else if (!strncmp(msg, "ATD>", 4)) { > + // Currently, we don't support memory dialing in Dialer app > + SendLine("ERROR"); > + } else if (!strncmp(msg, "ATD", 3)) { > + nsCString message(msg), newMsg; Nit: since message & newMsg are used locally, let's declare them as nsAutoCString instead of nsCString. @@ +571,5 @@ > + // Currently, we don't support memory dialing in Dialer app > + SendLine("ERROR"); > + } else if (!strncmp(msg, "ATD", 3)) { > + nsCString message(msg), newMsg; > + int end = message.FindChar(';', 0); Nit: using FindChar(';') should work, no need to pass the 2nd argument in if it's 0. @@ +572,5 @@ > + SendLine("ERROR"); > + } else if (!strncmp(msg, "ATD", 3)) { > + nsCString message(msg), newMsg; > + int end = message.FindChar(';', 0); > + newMsg += nsDependentCSubstring(message, 0, end); Needs error handling here if end == -1
Attachment #692804 -
Flags: review?(echou) → review+
Assignee | ||
Comment 9•12 years ago
|
||
try: https://tbpl.mozilla.org/?tree=Try&rev=0e8ff7903fd9 https://tbpl.mozilla.org/?tree=Try&rev=06257b6ca239
Attachment #692804 -
Attachment is obsolete: true
Assignee | ||
Comment 10•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ff251b3e073f
Comment 11•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ff251b3e073f
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 12•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/796e971014dc https://hg.mozilla.org/releases/mozilla-b2g18/rev/1c29910bacf2
You need to log in
before you can comment on or make changes to this bug.
Description
•