From 34ab95a36953f847f4b399a798f93edb5e92f585 Mon Sep 17 00:00:00 2001 From: Andre Eisenbach Date: Fri, 5 Dec 2014 09:35:57 -0800 Subject: [PATCH] Bluetooth native dumpsys logging support (1/5) Bug: 18508263 Change-Id: Id7b69a6ed7d817a0f048cb8ebf0889c600171926 --- include/hardware/bluetooth.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.11.0