Closed
Bug 827255
Opened 12 years ago
Closed 12 years ago
[Bluetooth][Hfp] Enable AG error result code
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: gyeh, Assigned: gyeh)
References
Details
Attachments
(3 files, 2 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
lsblakk
:
approval-mozilla-b2g18+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
AT+CMEE command is to enable the use of result code +CME ERROR:<err> as an indication of an error relating to the functionality of the AG.
Please see 4.9 "Report Extended Audio Gateway Error Results Code" of HFP 1.5 for more detail.
Assignee | ||
Comment 1•12 years ago
|
||
Since we don't support voice recognition in AG, just reply "ERROR" when receiving AT+BVRA command.
Assignee: nobody → gyeh
Attachment #698594 -
Flags: review?(echou)
Comment 2•12 years ago
|
||
Comment on attachment 698594 [details] [diff] [review]
Patch 1(v1): Enable AG error result code
Review of attachment 698594 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, r+ with nits addressed.
::: dom/bluetooth/BluetoothHfpManager.cpp
@@ +746,5 @@
> message.AppendInt(TOA_UNKNOWN);
> message += ",,4";
> SendLine(message.get());
> }
> + } else if (msg.Find("AT+COPS=") != -1) {
I think that would make more sense moving this part to bug 827230. The dependency has been already set, so it should be fine.
::: dom/bluetooth/BluetoothHfpManager.h
@@ +22,5 @@
> + * and 3GPP 27.007" in Bluetooth hands-free profile 1.6
> + */
> +enum BluetoothCmeError {
> + AG_FAILURE = 0,
> + OPERATION_NOT_ALLOWED = 3,
I checked HFP 1.6 and found a constants is missing:
+CME ERROR: 1 – no connection to phone
Attachment #698594 -
Flags: review?(echou) → review+
Assignee | ||
Updated•12 years ago
|
Blocks: b2g-bluetooth-hfp
Assignee | ||
Comment 3•12 years ago
|
||
Final patch.
const of "no connection to phone" is added, and AT+COPS= part is moving to Bug827230.
Attachment #698594 -
Attachment is obsolete: true
Assignee | ||
Comment 4•12 years ago
|
||
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 7•12 years ago
|
||
Comment 8•12 years ago
|
||
Updated•12 years ago
|
tracking-b2g18:
--- → ?
Comment 9•12 years ago
|
||
Please nominated for uplift approval with a risk assessment.
status-b2g18:
--- → affected
Comment 10•12 years ago
|
||
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.
[Approval Request Comment]
Bug caused by (feature/regressing bug #): no
User impact if declined: would miss a Bluetooth HFP feature which is neccesary for certification
Testing completed: mozilla-central
Risk to taking this patch (and alternatives if risky): Fairly low. Just parse an AT command and keep the value as a member variable.
String or UUID changes made by this patch: no
Attachment #728898 -
Flags: approval-mozilla-b2g18?
Comment 11•12 years ago
|
||
Comment on attachment 728898 [details] [diff] [review]
patch 1: for b2g18, r=echou
Review of attachment 728898 [details] [diff] [review]:
-----------------------------------------------------------------
Been in product already for a while - approving for uplift.
Attachment #728898 -
Flags: approval-mozilla-b2g18? → approval-mozilla-b2g18+
Comment 12•12 years ago
|
||
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-firefox20:
--- → wontfix
status-firefox21:
--- → fixed
Comment 13•12 years ago
|
||
This bug(and other 9 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
So, mark these bugs as tef?. These fixes have some dependency and it would be better to have them landed in a specific order. Gina has a good view on this.
blocking-b2g: --- → tef?
Assignee | ||
Comment 14•12 years ago
|
||
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.
Assignee | ||
Comment 15•12 years ago
|
||
Comment 16•12 years ago
|
||
tef- for now until tef release partner confirms this is blocking BT cert.
blocking-b2g: tef? → -
Assignee | ||
Comment 18•12 years ago
|
||
v1.0.1 patch updated.
Attachment #738762 -
Attachment is obsolete: true
Assignee | ||
Comment 19•12 years ago
|
||
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
Comment 20•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•