Bruce Sun
c1123fbf68
Bug 1152653 - Implement BluetoothGatt.oncharacteristicchanged. r=jocelyn, r=mrbkap
2015-04-16 16:47:01 +08:00
Bruce Sun
c20fe1eef4
Bug 1140952 - Implement read/write value of a characteristic for GATT client API (ipc part). f=jocelyn, r=btian
2015-04-16 16:44:37 +08:00
Bruce Sun
467430b746
Bug 1140952 - Implement read/write value of a characteristic for GATT client API (webapi part). f=jocelyn, r=shawnjohnjr, r=mrbkap
2015-04-16 16:44:17 +08:00
Thomas Zimmermann
357f6c2529
Bug 1152821: Share BluetoothCommon.h between Bluetooth v1 and v2, r=joliu
...
This patch integrates changes from Bluetooth v1 into the shared file
BluetoothCommon.h, and makes it available to both versions. The enum
constant TYPE_INVALID is replaced by NUM_TYPE.
2015-04-14 10:26:06 +02:00
Thomas Zimmermann
c92e91ba0f
Bug 1152821: Move dom/bluetooth/bluetooth2/BluetoothCommon.h to dom/bluetooth, r=joliu
...
--HG--
rename : dom/bluetooth/bluetooth2/BluetoothCommon.h => dom/bluetooth/BluetoothCommon.h
2015-04-14 10:26:06 +02:00
Carsten "Tomcat" Book
b66faa9524
Backed out changeset 3939c36b0864 (bug 1152821) for Bustage
...
--HG--
rename : dom/bluetooth/BluetoothCommon.h => dom/bluetooth/bluetooth2/BluetoothCommon.h
2015-04-13 10:54:33 +02:00
Carsten "Tomcat" Book
44617229af
Backed out changeset 81c108144278 (bug 1152821)
2015-04-13 10:53:59 +02:00
Thomas Zimmermann
2770ffad45
Bug 1152821: Share BluetoothCommon.h between Bluetooth v1 and v2, r=joliu
...
This patch integrates changes from Bluetooth v1 into the shared file
BluetoothCommon.h, and makes it available to both versions. The enum
constant TYPE_INVALID is replaced by NUM_TYPE.
2015-04-13 10:03:11 +02:00
Thomas Zimmermann
3444f08f45
Bug 1152821: Move dom/bluetooth/bluetooth2/BluetoothCommon.h to dom/bluetooth, r=joliu
...
--HG--
rename : dom/bluetooth/bluetooth2/BluetoothCommon.h => dom/bluetooth/BluetoothCommon.h
2015-04-13 10:03:09 +02:00
Carsten "Tomcat" Book
afcde79e15
Backed out changeset b3b4f6930b58 (bug 1152821) for bustage on a CLOSED TREE
...
--HG--
rename : dom/bluetooth/BluetoothCommon.h => dom/bluetooth/bluetooth2/BluetoothCommon.h
2015-04-10 15:29:39 +02:00
Carsten "Tomcat" Book
e699c6d191
Backed out changeset eb14bd0103b6 (bug 1152821)
2015-04-10 15:29:00 +02:00
Thomas Zimmermann
c102eb97fd
Bug 1152821: Share BluetoothCommon.h between Bluetooth v1 and v2, r=joliu
...
This patch integrates changes from Bluetooth v1 into the shared file
BluetoothCommon.h, and makes it available to both versions.
2015-04-10 13:46:19 +02:00
Thomas Zimmermann
e0727c2ae2
Bug 1152821: Move dom/bluetooth/bluetooth2/BluetoothCommon.h to dom/bluetooth, r=joliu
...
--HG--
rename : dom/bluetooth/bluetooth2/BluetoothCommon.h => dom/bluetooth/BluetoothCommon.h
2015-04-10 13:46:19 +02:00
Thomas Zimmermann
5b0221d66d
Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu
...
--HG--
rename : dom/bluetooth/BluetoothAdapter.cpp => dom/bluetooth/bluetooth1/BluetoothAdapter.cpp
rename : dom/bluetooth/BluetoothAdapter.h => dom/bluetooth/bluetooth1/BluetoothAdapter.h
rename : dom/bluetooth/BluetoothCommon.h => dom/bluetooth/bluetooth1/BluetoothCommon.h
rename : dom/bluetooth/BluetoothDevice.cpp => dom/bluetooth/bluetooth1/BluetoothDevice.cpp
rename : dom/bluetooth/BluetoothDevice.h => dom/bluetooth/bluetooth1/BluetoothDevice.h
rename : dom/bluetooth/BluetoothHfpManagerBase.h => dom/bluetooth/bluetooth1/BluetoothHfpManagerBase.h
rename : dom/bluetooth/BluetoothHidManager.cpp => dom/bluetooth/bluetooth1/BluetoothHidManager.cpp
rename : dom/bluetooth/BluetoothHidManager.h => dom/bluetooth/bluetooth1/BluetoothHidManager.h
rename : dom/bluetooth/BluetoothInterface.cpp => dom/bluetooth/bluetooth1/BluetoothInterface.cpp
rename : dom/bluetooth/BluetoothInterface.h => dom/bluetooth/bluetooth1/BluetoothInterface.h
rename : dom/bluetooth/BluetoothInterfaceHelpers.cpp => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.cpp
rename : dom/bluetooth/BluetoothInterfaceHelpers.h => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.h
rename : dom/bluetooth/BluetoothManager.cpp => dom/bluetooth/bluetooth1/BluetoothManager.cpp
rename : dom/bluetooth/BluetoothManager.h => dom/bluetooth/bluetooth1/BluetoothManager.h
rename : dom/bluetooth/BluetoothProfileController.cpp => dom/bluetooth/bluetooth1/BluetoothProfileController.cpp
rename : dom/bluetooth/BluetoothProfileController.h => dom/bluetooth/bluetooth1/BluetoothProfileController.h
rename : dom/bluetooth/BluetoothProfileManagerBase.h => dom/bluetooth/bluetooth1/BluetoothProfileManagerBase.h
rename : dom/bluetooth/BluetoothPropertyContainer.cpp => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.cpp
rename : dom/bluetooth/BluetoothPropertyContainer.h => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.h
rename : dom/bluetooth/BluetoothReplyRunnable.cpp => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/BluetoothReplyRunnable.h => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.h
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/bluetooth1/BluetoothRilListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/bluetooth1/BluetoothRilListener.h
rename : dom/bluetooth/BluetoothService.cpp => dom/bluetooth/bluetooth1/BluetoothService.cpp
rename : dom/bluetooth/BluetoothService.h => dom/bluetooth/bluetooth1/BluetoothService.h
rename : dom/bluetooth/BluetoothSocketObserver.h => dom/bluetooth/bluetooth1/BluetoothSocketObserver.h
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluetooth1/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluetooth1/BluetoothUtils.h
rename : dom/bluetooth/BluetoothUuid.cpp => dom/bluetooth/bluetooth1/BluetoothUuid.cpp
rename : dom/bluetooth/BluetoothUuid.h => dom/bluetooth/bluetooth1/BluetoothUuid.h
rename : dom/bluetooth/ObexBase.cpp => dom/bluetooth/bluetooth1/ObexBase.cpp
rename : dom/bluetooth/ObexBase.h => dom/bluetooth/bluetooth1/ObexBase.h
rename : dom/bluetooth/ipc/BluetoothChild.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothChild.cpp
rename : dom/bluetooth/ipc/BluetoothChild.h => dom/bluetooth/bluetooth1/ipc/BluetoothChild.h
rename : dom/bluetooth/ipc/BluetoothMessageUtils.h => dom/bluetooth/bluetooth1/ipc/BluetoothMessageUtils.h
rename : dom/bluetooth/ipc/BluetoothParent.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothParent.cpp
rename : dom/bluetooth/ipc/BluetoothParent.h => dom/bluetooth/bluetooth1/ipc/BluetoothParent.h
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.cpp
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.h => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.h
rename : dom/bluetooth/ipc/BluetoothTypes.ipdlh => dom/bluetooth/bluetooth1/ipc/BluetoothTypes.ipdlh
rename : dom/bluetooth/ipc/PBluetooth.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetooth.ipdl
rename : dom/bluetooth/ipc/PBluetoothRequest.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetoothRequest.ipdl
rename : dom/bluetooth/tests/marionette/head.js => dom/bluetooth/bluetooth1/tests/marionette/head.js
rename : dom/bluetooth/tests/marionette/manifest.ini => dom/bluetooth/bluetooth1/tests/marionette/manifest.ini
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_discovery.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_discovery.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_getters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_getters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_pair.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_pair.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_setters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_setters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_adapteradded.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_adapteradded.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_enabled.js
2015-04-09 15:57:40 +02:00
Shawn Huang
64649e4ccf
Bug 1148311 - Handle AVRCP app settings notification response. r=tzimmermann
2015-03-30 05:46:00 -04:00
Thomas Zimmermann
7d77418313
Bug 1146923: Rename |BluetoothSspPairingVariant| to |BluetoothSspVariant|, r=btian
2015-03-26 10:29:58 +01:00
Thomas Zimmermann
86a7a8861d
Bug 1146923: Rename |BluetoothDeviceType| to |BluetoothTypeOfDevice|, r=btian
2015-03-26 10:29:58 +01:00
Thomas Zimmermann
f92b2b9795
Bug 1146923: Merge |CONVERT| macros of Bluetooth backends, r=btian
2015-03-26 10:29:58 +01:00
Ryan VanderMeulen
cfd5fd4b5f
Backed out 4 changesets (bug 1146923) for bustage.
...
Backed out changeset 926351238914 (bug 1146923)
Backed out changeset 7d8eb56f1e24 (bug 1146923)
Backed out changeset c5d4efed15e9 (bug 1146923)
Backed out changeset 045020b31842 (bug 1146923)
CLOSED TREE
2015-03-25 10:05:42 -04:00
Thomas Zimmermann
eb68133d18
Bug 1146923: Rename |BluetoothSspPairingVariant| to |BluetoothSspVariant|, r=btian
2015-03-25 10:38:00 +01:00
Thomas Zimmermann
16c8547911
Bug 1146923: Rename |BluetoothDeviceType| to |BluetoothTypeOfDevice|, r=btian
2015-03-25 10:38:00 +01:00
Thomas Zimmermann
e2b89e08a8
Bug 1146923: Merge |CONVERT| macros of Bluetooth backends, r=btian
2015-03-25 10:38:00 +01:00
Shawn Huang
ba42041634
Bug 1144089 - Map AVRCP attribute ID correctly. r=tzimmermann
2015-03-19 02:22:00 -04:00
Nicholas Nethercote
cc06604267
Bug 1123527 - Fix syntax error in BT_WARNING and BT_LOGD. r=btian.
...
cppcheck identified the extra ')' at the end of these macros. This code must
not be compiled in any of our standard configurations.
--HG--
extra : rebase_source : 4044d377e3a15ef725ac276ab54a192df63a8eb6
2015-01-19 19:12:43 -08:00
Bruce Sun
602a02a783
Bug 1102703: (3/10) Extend internal interfaces to sync with android lollipop and bluez 5.26 (handsfree) r=btian, r=tzimmermann
2015-01-09 13:35:01 +08:00
Bruce Sun
6b9eecaa70
Bug 1102703: (1/10) Extend internal interfaces to sync with android lollipop and bluez 5.26 (core) r=btian, f=tzimmermann
2015-01-09 13:33:53 +08:00
Thomas Zimmermann
ff995ec1bd
Bug 1065999: Ignore unknown Bluetooth properties, r=shuang
...
This patch is a workaround for unknown Bluetooth properties. Instead of
failing completely, we simply ignore them.
2014-09-29 11:41:02 +02:00
Thomas Zimmermann
46e6f7feba
Bug 1061126: Add AVRCP_UID_SIZE to Bluetooth, r=shuang
...
This constant AVRCP_UID_SIZE replaces the corresponding Bluedroid
constant BTRC_UID_SIZE.
2014-09-02 12:46:07 +02:00
Thomas Zimmermann
4df54b3f2d
Bug 1057337: Add Bluetooth A2DP and AVRCP notifications, r=shuang
...
This patch adds A2DP and AVRCP notifications and callbacks to
Gecko's Bluedroid interface. Support for AVRCP depends on the
version of the Android base system and is only available on
versions 18, 19 or later.
2014-09-01 10:11:53 +02:00
Thomas Zimmermann
ca07a1c4cd
Bug 1053804: Add Bluetooth Handsfree notifications, r=shuang
...
The notification interface consists of virtual methods that are
invoked form the Bluetooth backend on certain events. The Handsfree
manager can implement the methods to handle these events.
2014-08-21 10:10:37 +02:00
Thomas Zimmermann
8c646f172a
Bug 1048915: Add Bluetooth Core notifications, r=shuang
...
A notification is a callback from the Bluetooth backend to inform
Gecko about a event. Bluedroid uses function pointers for this, but
in Gecko we use method calls instead.
Gecko implements notification handlers for the Bluetooth backend. The
backend converts incomming events to Gecko types and forwards them to
the registered notification handler.
2014-08-14 18:12:51 +02:00
Thomas Zimmermann
d4a10240a2
Bug 1038591: Convert Bluedroid status codes and error handlers, r=shuang
...
This patch converts Bluedroid status codes in Gecko to the
backend-neutral data type |BluetoothStatus|. All error handlers
have been adapted. The Bluedroid type |bt_status_t| only remains
in |BluetoothInterface|.
2014-08-06 11:45:32 +02:00
Thomas Zimmermann
ee587b2e81
Bug 1038591: Convert Bluetooth AVRCP data types in |BluetoothAvrcpInterface|, r=shuang
...
With this patch |BluetoothAvrcpInterface| is responsible for converting all
Bluetooth data types to Bluedroid types. All callers have been adapted.
2014-08-06 11:45:22 +02:00
Thomas Zimmermann
b7264fc980
Bug 1038591: Convert Bluetooth Handsfree data types in |BluetoothHandsfreeInterface|, r=shuang
...
With this patch |BluetoothHandsfreeInterface| is responsible for converting all
Bluetooth data types to Bluedroid types. All callers have been adapted.
2014-08-06 11:45:05 +02:00
Eric Chou
7fd9600215
Bug 942104 - Add an event listener "ondiscoverystatechanged", r=gyeh, r=mrbkap
2014-05-23 14:00:14 +08:00
Carsten "Tomcat" Book
b36416deac
Backed out changeset c0f93e0fb095 (bug 942104)
2014-05-22 11:46:23 +02:00
Eric Chou
4edee05144
Bug 942104 - Add an event listener "ondiscoverystatechanged", r=gyeh, r=mrbkap
2014-05-22 14:09:38 +08:00
Ben Tian
acf3671de1
Bug 995061 - Patch 1/2: [bluedroid] define and apply macro to append named value in profile managers, r=echou
2014-04-11 11:52:44 +08:00
Ms2ger
17684644bd
Merge backout.
2013-12-20 11:36:27 +01:00
Ms2ger
0ca1c2ac03
Backout bug 942104 (changesets 4e5746a65a5e:62e32a84a9fb) for missing review.
2013-12-20 11:33:37 +01:00
Eric Chou
d50d82aeec
Bug 942104 - Add an event "ondiscoverystatechanged", r=gyeh, sr=mrbkap
2013-11-30 20:20:17 +08:00
Shawn Huang
c533d73a07
Bug 941462 - Reply internal error code when getting I/O error from BlueZ, r=gyeh
2013-12-12 19:37:42 +08:00
Ben Tian
c341c78824
Bug 945193 - Print function name in bluetooth logs, r=echou
2013-12-02 18:50:23 +08:00
Shawn Huang
0da63279ac
Bug 932770 - [bluedroid] Implement GetPairedDeviceInternal, r=echou
2013-11-08 23:25:20 +08:00
Ehsan Akhgari
7233ba7103
Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg
2013-09-23 13:25:00 -04:00
Ben Tian
dac0937181
Bug 915628 - [Bluetooth] Define new log levels and add logs in profile controller, r=echou
2013-09-14 06:51:00 +08:00
Gina Yeh
ab94506215
Bug 910974 - Patch 1: Dispatch events when remote device queries current play status, r=echou, sr=mrbkap
2013-09-04 10:40:01 +08:00
Ben Tian
79f2e1f7bf
Bug 899014 - [Bluetooth][HID] HID dom bluetooth implementation, r=echou
2013-08-12 17:32:25 +08:00
Gina Yeh
de4f45b303
Bug 853221 - Patch 1: Distribute connection/pair status to BluetoothAdapter, r=echou
2013-08-02 18:32:57 +08:00
Gina Yeh
e8935b0303
Bug 842934 - Patch 1: Add topic for hfp status changed and notify observers with device address, r=echou
2013-07-30 17:34:56 +08:00