diff options
author | Andre Eisenbach <eisenbach@google.com> | 2016-02-16 01:16:18 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-02-16 01:16:18 +0000 |
commit | e8087a82a3ef37c451ed91428b41a1e34d253351 (patch) | |
tree | 3910c7619a5c8935026339c121a15e28ae86694a | |
parent | d971b99f1b55567546f78aee93772ac23f8ee4aa (diff) | |
parent | e410940531d15e417cda39962b8b45b3fc491822 (diff) | |
download | libhardware-e8087a82a3ef37c451ed91428b41a1e34d253351.tar.gz |
Merge "Add ability to add interop entries dynamically (1/2)"brillo-m10-releasebrillo-m10-dev
-rw-r--r-- | include/hardware/bluetooth.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 93aa8e52..7772b38f 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -577,6 +577,17 @@ typedef struct { */ int (*config_clear)(void); + /** + * Clear (reset) the dynamic portion of the device interoperability database. + */ + void (*interop_database_clear)(void); + + /** + * Add a new device interoperability workaround for a remote device whose + * first |len| bytes of the its device address match |addr|. + * NOTE: |feature| has to match an item defined in interop_feature_t (interop.h). + */ + void (*interop_database_add)(uint16_t feature, const bt_bdaddr_t *addr, size_t len); } bt_interface_t; /** TODO: Need to add APIs for Service Discovery, Service authorization and |