diff options
author | Andre Eisenbach <eisenbach@google.com> | 2014-12-05 09:35:57 -0800 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2015-05-12 15:56:10 +0000 |
commit | 34ab95a36953f847f4b399a798f93edb5e92f585 (patch) | |
tree | dce55c5df7daeac4d33101451b7267c3d401e389 /include/hardware/bluetooth.h | |
parent | fb769fc3125d2939683f2f5bff2cf25816e5838c (diff) | |
download | replicant_libhardware-34ab95a36953f847f4b399a798f93edb5e92f585.zip replicant_libhardware-34ab95a36953f847f4b399a798f93edb5e92f585.tar.gz replicant_libhardware-34ab95a36953f847f4b399a798f93edb5e92f585.tar.bz2 |
Bluetooth native dumpsys logging support (1/5)
Bug: 18508263
Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926
Diffstat (limited to 'include/hardware/bluetooth.h')
-rw-r--r-- | include/hardware/bluetooth.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h index 893f85d..6f95684 100644 --- a/include/hardware/bluetooth.h +++ b/include/hardware/bluetooth.h @@ -536,6 +536,12 @@ typedef struct { * Success indicates that the VSC command was sent to controller */ int (*read_energy_info)(); + + /** + * Native support for dumpsys function + * Function is synchronous and |fd| is owned by caller. + */ + void (*dump)(int fd); } bt_interface_t; /** TODO: Need to add APIs for Service Discovery, Service authorization and |