bb18c41ffa0370d4eb0c4a15904b114355606466 |
|
12-Nov-2015 |
Arman Uguray <armansito@google.com> |
service: Refactor Client/Instance naming Refactored the internal interfaces so that data structures with per-application instances such as GattClient, GattServer, and LowEnergyClient, and all other related data structures use "instance" to generically refer to these instances rather than "client", which was the naming inherited from BTIF. Bug: 25650633 Change-Id: I1bda387f5d8fdccebe5eae7f058d7f8defafe8cc
/system/bt/service/gatt_server.h
|
50a31545d2d20d92d161c51195b653eafd164025 |
|
11-Nov-2015 |
Arman Uguray <armansito@google.com> |
service: Introduce bluetooth::GattClient Added the bluetooth::GattClient class that will provide a per-application entry point to GATT client-role operations. Implemented IBluetoothGattClient client registration. Bug: 25128256 Change-Id: I14ec0ddfa7057eedeb5e4f330fcbc2d09f6f3765
/system/bt/service/gatt_server.h
|
234138e2606dd7a54fbcc540643511abc0a3598d |
|
07-Oct-2015 |
Arman Uguray <armansito@google.com> |
service: Create a client library for applications This CL creates the libbluetooth-client static library that external code can link against to interact with the Bluetooth daemon using Binder. To this end, all service/ code that is common to the client library and the daemon itself have been moved to service/common/bluetooth and service/common is exported in LOCAL_EXPORT_C_INCLUDE_DIRS. bluetooth-cli and bt-example-hr-server have been update to demonstrate how an app should use this library (using library includes). Bug: 23169160 Change-Id: Ie6841bd6c48846eecec824ff1e80a9971385d1fc
/system/bt/service/gatt_server.h
|
cd644e3c54a4321b7626b52531c59f88e24e87be |
|
02-Oct-2015 |
Arman Uguray <armansito@google.com> |
service: Support GattServer notifications/indications Added outgoing notification/indication support to bluetooth::GattServer and implemented the related Binder API. Bug: 24245347 Change-Id: I2d5cea90137e5d771f969163591b50aee1ad171c
/system/bt/service/gatt_server.h
|
4ebcbd9ede4006500c3ead0685befe0a8e4aadc2 |
|
30-Sep-2015 |
Arman Uguray <armansito@google.com> |
service: Support GATT server async write requests. Added support for incoming characteristic/descriptor read requests to bluetooth::GattServer and implemented the related Binder API. Bug: 24245347 Change-Id: I18202c3255f0fb8fc5338b1139c375e1439b6568
/system/bt/service/gatt_server.h
|
514bf6087093375351784b287cb29c5f4603273c |
|
30-Sep-2015 |
Arman Uguray <armansito@google.com> |
service: Support GATT server async read requests. Added support for incoming characteristic/descriptor read requests to bluetooth::GattServer and implemented the related Binder API. Bug: 24245347 Change-Id: I88161c5bd3ca9ba5604c00aa4e569b3baf19137c
/system/bt/service/gatt_server.h
|
d9b0552a7f75737b5c8c60cb87f892b1b9323acf |
|
26-Sep-2015 |
Arman Uguray <armansito@google.com> |
service: Implement IBluetoothGattServer.addDescriptor Declared and implemented the IBluetoothGattServer.addDescriptor API. Bug: 24245347 Change-Id: I7d1e992321c260b9d77521b1c8d7a1e7737b35cc
/system/bt/service/gatt_server.h
|
91613743c9db02dbe05d93d2afa163b78068d054 |
|
25-Sep-2015 |
Arman Uguray <armansito@google.com> |
service: Implement IBluetoothGattServer.addCharacteristic Declared and implemented the IBluetoothGattServer.addCharacteristic Binder API. Bug: 24245347 Change-Id: I8baaed8d6dbf8ac2209b8fd0c918cade78dcba64
/system/bt/service/gatt_server.h
|
df0b2714553cabc735222ce18a5f018c5a5fa138 |
|
24-Sep-2015 |
Arman Uguray <armansito@google.com> |
service: Implement adding a service declaration This CL implements initiating and starting a GATT service declaration in GattServer. Bug: 24245347 Change-Id: I53281d29a052c1890616b6595881108ca0eedec3
/system/bt/service/gatt_server.h
|
0f2d4897046f037a9f181f47f3d349a9dd646478 |
|
22-Sep-2015 |
Arman Uguray <armansito@google.com> |
service: Add new GattServer abstraction Added bluetooth::GattServer and bluetooth::GattServerFactory, which conform the BluetoothClientInterface and BluetoothClientInterfaceFactory interfaces. A GattServer represents a per-application server instance that was registered with the stack (a GATT server API "client"). The new code was added to the gatt_server.h|.cpp files, replacing the old code that was added for cast. The old code has been moved to the gatt_server_old.h|.cpp files. Bug: 24245347 Change-Id: I3ca2eb53ab8320c9dba656859a4a89683607bb22
/system/bt/service/gatt_server.h
|
fe6dd2a72b0f6d761821e75b048c13eb9ecd19ac |
|
15-Aug-2015 |
Arman Uguray <armansito@google.com> |
service: Rename Uuid to UUID This is more consistent with the ancronym naming convention in the framework code (e.g. java.util.UUID) and elsewhere in the Bluetooth daemon. Change-Id: I3461cf12d563e00ba5e0b0b390bd9ef94e6d7418
/system/bt/service/gatt_server.h
|
d6a4b0c950f44d3eab34825880d26c19e362d22b |
|
14-Aug-2015 |
Arman Uguray <armansito@google.com> |
service: Replace CoreStack with Adapter This CL removes the CoreStack class. Code that depended on a CoreStack instance now depend on Adapter and hal::BluetoothInterface instead. Bug: 23169364 Change-Id: Ide008cc7d3f9e74656f6bfa4df2dfee511e55b90
/system/bt/service/gatt_server.h
|
aa9e17bc61324446b9e0199630fb772b9afb1109 |
|
12-Aug-2015 |
Ian Coolidge <icoolidge@google.com> |
service: Allow manufacturer data to be set. Plumbs IPC and stack code for manufacturer data on advertisement or scan response. Change-Id: I4b70506e35f51479bdf4073c31e4cb4f88fa2c98
/system/bt/service/gatt_server.h
|
f2d6434a6b7ad98e20c7a601d2a0950237514837 |
|
09-Jul-2015 |
Arman Uguray <armansito@google.com> |
gn-build: Add bluetooth-service target This patch makes the Bluetooth system service (service/) buildable using GN: 1. Added new BUILD.gn file for service/ 2. Added conditional compilation for global config paths, with TODOs for generalizing them later. 3. Added a shim for loading the Bluetooth library that calls hw_get_module on Android and explicitly calls dlopen on OS_GENERIC. 4. Fixed compile warnings and errors. 5. Did some minor clean up in gatt_server.cpp for better readability. Bug: 22124644 Change-Id: I3226537a3a5211a6762651a35707638df29956b0
/system/bt/service/gatt_server.h
|
611fcf98316e28425abe28dbcc07b8d037653cee |
|
04-Jun-2015 |
Ian Coolidge <icoolidge@google.com> |
Add bthost, a simple BLE GATT server. This is accessible via Unix socket. It only has a couple of interesting features: * Built in support for large blob attributes (>512 octets) * Attribute caching (avoid frame-level IO for IPC clients) Some string utilies are taken from modp_b64 and Chromium base. Bug: 21076037 Change-Id: I6a29959159de76f8dd68d6bbaabe2100daabb6fa
/system/bt/service/gatt_server.h
|