History log of /system/bt/service/gatt_server.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9e030fde05352ec4385d7baf6cc2af89e95e039c 25-Jun-2017 Jakub Pawlowski <jpawlowski@google.com> Rename bt_bdaddr_t into RawAddress (3/3)

Test: compilation test
Change-Id: I4571721a0c6165a66450ee157a53d8d15bfc45d0
/system/bt/service/gatt_server.h
03c278db9299d22524a5f763de97525f4f197cf9 09-Jun-2017 Bailey Forrest <bcf@google.com> Include used STL header files

Without these, cpplint's include-what-you-use fails.

Bug: None
Test: Build
Change-Id: I99954688b0041b10cfb7c18c8744cd889bf7a22e
/system/bt/service/gatt_server.h
b324a8d0b719065cec10379ad6855852724d9004 10-Dec-2016 Pavlin Radoslavov <pavlin@google.com> Replace usage of "vector<>" with "std::vector<>"

This change is needed so we can remove the last instances
of "using std::vector" statements in hardware/libhardware.

Test: code compilation
Change-Id: I6a9fc62152371d1bba6ead71e7ff8c2610799637
/system/bt/service/gatt_server.h
911d1ae03efec2d54c3b1b605589d790d1745488 29-Nov-2016 Myles Watson <mylesgw@google.com> Apply clang-format to the rest of the tree

find * | grep "\.[ch]" | xargs clang-format --style=file -i

Test: mma -j32
Change-Id: I6fcc9862bb7bc07c2a367ca58fef2b3cd27a6f05
/system/bt/service/gatt_server.h
a641b6fa2a25e1b5382945d13c4fa49d36084a78 26-Mar-2016 Jakub Pawlowski <jpawlowski@google.com> GATT Server refactoring (4/4)

Right now in order to add gatt service, we need to add it piece by
piece - each characteristic and descriptor separately. This causes lots
of concurrency errors in higher layers. Instead accept whole service
definition and start whole service at once.

Also, use handles to identify GATT server attributes. It's already done
on clinet side.

Bug: 27999121
Change-Id: I42c796809423d116fe6755ef8b1c40da270427a5
/system/bt/service/gatt_server.h
7932727cbe07b4bc176b2d1c04f0bcf350973512 08-Jul-2016 Jakub Pawlowski <jpawlowski@google.com> Add OnConnectionStateChanged to IBluetoothGattServerCallback

Currently native GattServer clients can't tell wether someone connected
or disconnnected to the device. This patch fixed that, by exposing
OnConnectionStateChangedCallback

Bug: 29835693
Change-Id: Ia7ef592f4031d021ab1b45808126ca57f9348d0e
/system/bt/service/gatt_server.h
3398730eac95049f01da0da53629ae77d212857a 01-Jul-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings in system/bt.

* Declare conversion constructors as 'explicit'.
* Add NOLINT to implicit converters.

Bug: 28341362
Change-Id: I81fecf19c0ee2e64dd6778b3dea78e04f111bfb4
Test: build with clang-tidy
/system/bt/service/gatt_server.h
16102de0866a51b523143b681e72db8e0ff441c4 31-May-2016 Jakub Pawlowski <jpawlowski@google.com> Vectors as parameters to GATT (1/3)

Bug: 29005882
Bug: 28485365
Change-Id: I0a5041073a39977c4fbc29879c383fa6720da641
/system/bt/service/gatt_server.h
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