Tom Tung
42f7e0fe4e
Bug 1232941 - Register Observer and listen to NS_XPCOM_SHUTDOWN_OBSERVER_ID for GATT, r=shuang
...
--HG--
extra : rebase_source : 98094772547ab8c92498175d2dcef36c715a9ee8
2015-12-17 09:36:43 +08:00
Thomas Zimmermann
989aaf55fc
Bug 1232670: Prepare Bluetooth PDU for sending after checking connection status, r=shuang
...
The PDU contains a pointer to the operation's result handler. If sending
fails, the result handler is supposed to handle an error. But the PDU
will go out of scope first and release the handler. The error delivery
then fails with a segmentation fault.
2015-12-16 13:27:47 +01:00
Ben Tian
e6557e5b56
Bug 1230066 - Add missing STATUS_AUTH_REJECTED into enum BluetoothStatus,r=tzimmermann
2015-12-03 18:25:03 +08:00
Louis_Chang
9843bbdf08
Bug 1217778
- Ensure sBluetoothGattService is not null before accessing GattInterface in GattManager. r=jocelyn
2015-12-02 09:31:45 +08:00
Wes Kocher
50e8f21d5b
Merge inbound to central, a=merge
...
--HG--
extra : commitid : 9WZlbf1Q29D
2015-12-01 15:43:33 -08:00
Jocelyn Liu
fa7b21647d
Bug 1229290 - Pack/unpack UUIDs in a reverse order when adding characteristics and descriptors in GATT server API. r=brsun
2015-12-01 18:54:55 +08:00
Shawn Huang
fb992c848d
Bug 1186840 - [MAP] Implement MessageUpdate function, r=btian
2015-12-01 15:55:41 +08:00
Ben Tian
2b918d0fd2
Bug 1228471 - use Endian.h to write filename and handleId into OBEX packet, r=shuang
2015-12-01 10:36:43 +08:00
Jocelyn Liu
963cd9f23f
Bug 1228519 - Fix RequestReadNotification for GATT Server API. r=brsun
2015-11-30 20:24:07 +08:00
Jocelyn Liu
a84e009ffd
Bug 1228521 - Fix PDU packing in |ServerSendResponseCmd| for GATT Server API. r=brsun
2015-11-30 20:23:04 +08:00
Jocelyn Liu
f692ee9ee4
Bug 1228909 - Fix PDU packing in |ClientSetAdvDataCmd| for GATT API. r=brsun
2015-11-30 20:21:52 +08:00
Thomas Zimmermann
63fd9969ce
Bug 1228946: Remove '#if 0' block from Bluetooth module, r=joliu
...
This is a cleanup patch for removing an '#if 0' that was landed in
the Bluetooth code.
2015-11-30 12:46:09 +01:00
Ben Tian
cdd3762041
Bug 1227440 - Reject pin reply by cancelling bond to trigger BondStateChangedNotification, in order to inform gaia setting app, r=shuang
2015-11-26 16:31:42 +08:00
Nathan Froyd
199217336c
Bug 1224240 - fix memory leak in Bluetooth*Manager::CompareHeaderTarget; r=btian
...
ObexHeaderSet::GetTarget copies the data associated with the
ObexHeaderId::Target id into a newly-allocated buffer. All callers of
this function, however, fail to free the buffer once they are done with it.
Instead of simply freeing the buffer in the caller, however, let's add
an API to ObexHeaderSet that gives direct access to the desired header.
Doing this means that we have direct access to the data--no copying
necessary--and we also make the caller slightly faster, since it no
longer has to verify that the appropriate header is there, followed by
re-searching for the header it already knows is there.
2015-11-04 10:42:01 -05:00
Ben Tian
5397ef7325
Bug 1225340
- Refine nullity check macros in BluetoothServiceBluedroid, r=tzimmermann
2015-11-23 10:09:47 +08:00
Bruce Sun
4492d3aae8
Bug 1225787: Fix wrong arguments of BluetoothGattInterface::AddCharacteristic; r=jocelyn
2015-11-19 14:26:58 +08:00
Bruce Sun
ab7cea57cc
Bug 1225785: Fix WriteRequested mismatch; r=jocelyn
2015-11-19 14:26:23 +08:00
Wes Kocher
f2a69ef549
Merge b2ginbound to central, a=merge
...
--HG--
extra : commitid : DJ1BP2VTWLm
2015-11-19 13:36:16 -08:00
Nathan Froyd
1ad1a76ff4
Bug 1226063 - take advantage of UniquePtr in BluetoothMapSmsManager::SendMasObexData; r=btian
...
Now that UnixSocketRawData can assume ownership of UniquePtrs, we can
enhance SendMasObexData to accept UniquePtrs where possible.
2015-11-18 17:14:07 -05:00
Thomas Zimmermann
764c23b828
Bug 1223806: Convert Bluetooth to |BluetoothCoreInterface|, r=btian
2015-11-19 11:21:03 +01:00
Thomas Zimmermann
c9a3c00a12
Bug 1223806: Add |BluetoothDaemonCoreInterface|, r=btian
2015-11-19 11:21:03 +01:00
Thomas Zimmermann
3c5994d6ba
Bug 1223806: Convert Bluetooth to |BluetoothCoreNotificationHandler|, r=btian
2015-11-19 11:21:03 +01:00
Thomas Zimmermann
971e8406ba
Bug 1223806: Convert Bluetooth to |BluetoothCoreResultHandler|, r=btian
2015-11-19 11:21:03 +01:00
Thomas Zimmermann
8294faa09b
Bug 1223720: Support UUIDs and addresses for Bluetooth signal paths, r=joliu
...
This patch improves the Bluetooth signal API by adding methods for
dealing with UUIDs and addresses directly. Callers have been converted
where possible.
2015-11-17 11:25:34 +01:00
Thomas Zimmermann
c89087189f
Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu
2015-11-13 15:26:50 +01:00
Thomas Zimmermann
0d85c6c530
Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu
2015-11-13 15:26:50 +01:00
Thomas Zimmermann
5b81d46a91
Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang
2015-11-13 15:26:50 +01:00
Thomas Zimmermann
df67765d87
Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian
2015-11-13 15:26:50 +01:00
Thomas Zimmermann
becd273af5
Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothPinCode|, r=brsun
2015-11-13 15:26:50 +01:00
Thomas Zimmermann
37ee544cc5
Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothAddress|, r=brsun
2015-11-13 15:26:50 +01:00
Wes Kocher
965f61f745
Merge m-c to inbound, a=merge CLOSED TREE
...
--HG--
extra : commitid : GWqH03Ikv84
2015-11-12 16:26:18 -08:00
Carsten "Tomcat" Book
f603f4b528
Backed out changeset 31a5c454f6fc (bug 1220121)
2015-11-12 11:48:59 +01:00
Carsten "Tomcat" Book
4b689b06f4
Backed out changeset dc164758f576 (bug 1220121)
2015-11-12 11:48:57 +01:00
Carsten "Tomcat" Book
d03ac03d02
Backed out changeset 71d0b47d316a (bug 1220121)
2015-11-12 11:48:56 +01:00
Carsten "Tomcat" Book
537f869a11
Backed out changeset 6fc769997278 (bug 1220121)
2015-11-12 11:48:54 +01:00
Carsten "Tomcat" Book
07869fe632
Backed out changeset 0f3562e114b1 (bug 1220121)
2015-11-12 11:48:53 +01:00
Carsten "Tomcat" Book
4bf2867843
Backed out changeset 74199d201199 (bug 1220121)
2015-11-12 11:48:51 +01:00
Thomas Zimmermann
d15fbe07f1
Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothUuid|, r=joliu
2015-11-12 11:23:36 +01:00
Thomas Zimmermann
10e5c8cb29
Bug 1220121: Convert IPDL of Bluetooth GATT API to |BluetoothAddress|, r=joliu
2015-11-12 11:23:36 +01:00
Thomas Zimmermann
9ec12aea49
Bug 1220121: Convert IPDL of Bluetooth AVRCP API to |ControlPlayStatus|, r=shuang
2015-11-12 11:23:35 +01:00
Thomas Zimmermann
62d409ef30
Bug 1220121: Convert IPDL of Bluetooth OPP API to |BluetoothAddress|, r=btian
2015-11-12 11:23:35 +01:00
Thomas Zimmermann
0b0f22bed8
Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothPinCode|, r=brsun
2015-11-12 11:23:35 +01:00
Thomas Zimmermann
c1ee8d6d40
Bug 1220121: Convert IPDL of Bluetooth Core API to |BluetoothAddress|, r=brsun
2015-11-12 11:23:35 +01:00
Ben Tian
d5e9e224f3
Bug 1224109 - [PBAP] Return early if OBEX authentication password is empty, r=shuang
2015-11-12 14:54:48 +08:00
Carsten "Tomcat" Book
8c97f8e21f
Backed out changeset 28725f253f82 (bug 1220121)
2015-11-11 12:06:50 +01:00
Carsten "Tomcat" Book
340ef80c63
Backed out changeset a7ea5f2e3444 (bug 1220121)
2015-11-11 12:06:48 +01:00
Carsten "Tomcat" Book
10913bbc26
Backed out changeset 975e3b3d7504 (bug 1220121)
2015-11-11 12:06:47 +01:00
Carsten "Tomcat" Book
ecf2991010
Backed out changeset 1ebe50bb4fad (bug 1220121)
2015-11-11 12:06:46 +01:00
Carsten "Tomcat" Book
ecd9413df1
Backed out changeset 7251fc4dce99 (bug 1220121)
2015-11-11 12:06:44 +01:00
Carsten "Tomcat" Book
ca229888f4
Backed out changeset aa607b61225c (bug 1220121)
2015-11-11 12:06:43 +01:00