Commit Graph

86 Commits

Author SHA1 Message Date
Shawn Huang
e5c13cb000 Bug 869306: Update call direction if call state changes, r=echou 2013-05-10 17:47:16 +08:00
Eric Chou
5460ee2214 Bug 860166 - New mechanism for establishing outboung Bluetooth connection, r=mrbkap
Things we have done in this patch:

1. Make BluetoothHfpManager/BluetoothOppManager implement BluetoothProfileManagerBase
2. Add function BluetoothService::GetServiceChannel()
3. Once GetServiceChannel() is done, callback Bluetooth*Manager::OnGetServiceChannel() will be invoked
4. Remove unused function BluetoothService::GetSocketViaService()
2013-05-10 14:39:12 +08:00
Shawn Huang
caf7ac3e9d Bug 869337 - Fix missing At comman reply OK after +COPS, r=gyeh, r=echou 2013-05-10 13:46:50 +08:00
Eric Chou
578460bdc1 Bug 869296 - New mechanism to deal with AT commands 'AT+BLDN' and 'ATD>n', r=gyeh
According to HFP spec, when we receive AT command 'AT+BLDN', we shall respond
with:

  1. 'OK' if the call history is not empty. An outgoing call would be made
  2. 'ERROR' if the call history is empty. No call would be made.

However, with current implementation, we are unable to know whether the call
history is empty or not in Gecko. Therefore I introduce a solution, using a task
and a flag to decide if a call is made after AT+BLDN is received, which may not
be perfect but reliable, easy to understand and easy to implement.
2013-05-09 22:10:28 +08:00
Eric Chou
052e54616e Bug 869296 - Do 'Last Number Redial' when we receive ATD>n, r=gyeh 2013-05-09 22:10:28 +08:00
Eric Chou
cde567409c Bug 869332 - Don't reset call status while receiving an unhandled CallStateChanged event, r=gyeh 2013-05-08 14:16:51 +08:00
Gina Yeh
f1fd626ee2 Bug 850157 - Add GetConnectedDevices() in nsIDOMBluetoothAdapter.idl, r=echou, sr= mrbkap 2013-04-26 18:48:21 +08:00
Gina Yeh
e38e47e3e5 Bug 863620 - Followup of bug 848414, r=echou 2013-04-19 14:40:51 +02:00
Eric Chou
c8991a8d73 Bug 860166 - Revice AT command handler for Headset profile (HSP), r=gyeh 2013-04-19 17:08:06 +08:00
Eric Chou
72c721a24a Bug 860166 - Use two server sockets to listen to both HFP and HSP services, r=gyeh, r=mrbkap 2013-04-19 17:08:00 +08:00
Eric Chou
1b53a5817c Bug 851046: Patch 9 - Small misc fixes; r=mrbkap 2013-04-04 17:56:16 -07:00
Eric Chou
8e91688a6f Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap 2013-04-04 17:55:55 -07:00
Eric Chou
bf2f4be4a5 Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap 2013-04-04 17:54:22 -07:00
Matt Brubeck
81b4a55b18 Back out bug 851046 because of rebase problems 2013-04-04 17:45:06 -07:00
Eric Chou
a92a872e72 Bug 851046: Patch 9 - Small misc fixes; r=mrbkap
--HG--
extra : rebase_source : 12eb0cc3cdd6f8773ae9e503267dbf643f767cfc
2013-04-04 17:25:45 -07:00
Eric Chou
88a57f941c Bug 851046: Patch 8 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver; r=mrbkap
--HG--
extra : rebase_source : 0c3e6e78f59b83faf7c81892974505caa1b1723a
2013-04-04 17:25:44 -07:00
Eric Chou
c841ea1f5b Bug 851046: Patch 5 - Apply BluetoothSocket to BluetoothHfpManager; r=mrbkap
--HG--
extra : rebase_source : ec6e75948230e4b94d2d539833dc9899444d9afe
2013-04-04 17:25:44 -07:00
Ryan VanderMeulen
96b06b3745 Backed out 9 changesets (bug 851046) for B2G bustage on a CLOSED TREE. 2013-04-03 15:54:36 -04:00
Eric Chou
fd3ed87d6c Bug 851046 - Small misc fixes. r=mrbkap
1. Rename mSocketStatus
2. Remove keyword enum
3. Remove null-checking after new Bluetooth*Manager instances
2013-04-04 00:32:28 +08:00
Eric Chou
7a0dbd1170 Bug 851046 - Add BluetoothSocket* as an argument of callback functions in BluetoothSocketObserver. r=mrbkap
A Bluetooth*Manager may hold more than one BluetoothSocket at a time, therefore
we need to identify the caller (which socket calls the callback function).
2013-03-19 17:08:44 -07:00
Eric Chou
35a54afb18 Bug 851046 - Apply BluetoothSocket to BluetoothHfpManager. r=mrbkap 2013-03-15 18:45:59 +08:00
Jose Cortes
e1b04f4398 Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/telephony dom/bluetooth directories. r=jwalden
--HG--
extra : rebase_source : c1560ea8c79fbb398d3e8f132e561e7eba81520a
2013-04-02 16:06:14 -07:00
Eric Chou
3e4f0de951 Bug 848414 - Reply with ERROR to unknown AT commands, r=gyeh 2013-03-12 13:46:43 +08:00
Vicamo Yang
fecf389c8b Bug 834160 - Part 5/7: fix Telephony. r=smaug, f=htsai
--HG--
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/BluetoothTelephonyListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/BluetoothTelephonyListener.h
2013-03-06 17:53:23 +08:00
Gina Yeh
261c4830ca Bug 846647 - Update call state before reseting call array, r=echou 2013-03-02 12:04:59 +08:00
Eric Chou
8fe7980217 Bug 838089 - Blacklisted AT commands: AT+XAPL/AT+XEVENT, r=gyeh 2013-02-05 19:19:15 +08:00
Vicamo Yang
20050ee452 Bug 826931 - Part 1/3: UnixSocket - allow ownership take-over in ReceiveSocketData(). r=qDot,echou 2013-02-01 20:28:15 +08:00
Eric Chou
05e5b054bb Bug 835474 - Assign length of the message with aMessage->mSize, r=gyeh 2013-01-30 12:58:40 +08:00
Gina Yeh
53892a4c30 Bug 835740 - Modified BRSF value in hands-free profile, r=echou 2013-01-30 12:33:23 +08:00
Gina Yeh
58be7621b3 Bug 828798 - [Bluetooth] [HFP] No redundant +CIEV commands are sent to bluetooth headset, r=echou 2013-01-28 19:28:51 +08:00
Gina Yeh
af7eb8c24b Bug 827230 - [Bluetooth] [Hfp] Support feature 'Query Operator Selection' (AT+COPS?), r=echou, a=nonlibxul 2013-01-23 09:22:08 +08:00
Gina Yeh
1a8309d87f Bug 823346 - [Bluetooth] [Hfp] Updating status change of Battery level, r=echou, a=nonlibxul 2013-01-22 13:53:28 +08:00
Gina Yeh
4d76e6a416 Bug 828175 - Patch 1: [Bluetooth] [Hfp] Error handling for AT+CHLD command, r=echou 2013-01-18 18:53:00 +08:00
Gina Yeh
4a0934bf5d Bug 827266 - Patch 1: [Bluetooth][Hfp] Support 'call waiting notification activation', r=echou 2013-01-16 14:17:41 +08:00
Gina Yeh
9abae52a61 Bug 827212 - Patch 2: Support feature 'Enhanced call status indications', r=echou 2013-01-16 14:13:58 +08:00
Gina Yeh
fb12b3fab9 Bug 827212 - Patch 1: Move functions from public to private in BluetoothHfpManager, r=echou 2013-01-16 14:13:41 +08:00
Eric Chou
49de3daaec Bug 829473 - Fix a wrong conditional check resulted from bug 827204, r=gyeh 2013-01-11 10:45:28 +01:00
Gina Yeh
a478eef093 Bug 827255 - Patch 1: Enable AG error result code, r=echou 2013-01-11 14:00:04 +08:00
Gina Yeh
c3a150b672 Bug 828118 - Patch 1: Failed to answer a phone call when bluetooth headset quickly send out ATA message, r=qdot 2013-01-09 17:37:08 +08:00
Gina Yeh
0da5c46ee6 Bug 827204 - Patch 1: Activate/Deactivate indicator events reporting, r=echou 2013-01-09 14:05:34 +08:00
Gina Yeh
144f9078f5 Bug 825861 - Patch 1: Support feature: Ability to transmit DTMF codes, r=echou 2013-01-08 17:21:00 +08:00
Gina Yeh
7f8c24d794 Bug 825851 - Patch 1: Handle AT command: AT+VGM, r=echou 2013-01-07 16:58:59 +08:00
Gina Yeh
af2eca651a Bug 826463 - Patch 1(v1): After disconnect BT headset while in-call, audio rerouting takes too long, r=echou 2013-01-05 12:34:19 +08:00
Kyle Machulis
6480dccd69 Bug 811683 - Changed UnixSocketRawData to take variable sizes up to 64k, r=cjones 2012-12-20 18:36:55 +08:00
Gina Yeh
ab7fa4543d Bug 820157 - Patch 1: bluetooth Hfp not sending status updates, r=echou 2012-12-20 15:28:51 +08:00
Eric Chou
b018b56a3e Bug 820143 - implemented Calling Line Identification (CLI), r=gyeh 2012-12-17 23:24:35 +08:00
Gina Yeh
f880e8281e Bug 820103 - Patch 1: bluetooth Hfp memory dialing and Hfp supplied number not supported, r=echou 2012-12-17 17:51:38 +08:00
Gina Yeh
1f9d3af22a Bug 821636 - Patch 1: No subscriber number information in Bluetooth Handsfree, r=echou 2012-12-17 17:44:32 +08:00
Gina Yeh
28fa682ce9 Bug 813817 - Patch 1: Cancelling file transferring doesn't clear the notifications, r=echou 2012-11-28 15:59:20 +08:00
Eric Chou
df73d06773 Bug 811946 - remove annoying compiler warnings and define a more structured interface for Bluetooth uuid, r=qdot 2012-11-27 14:12:19 +08:00