summaryrefslogtreecommitdiffstats
path: root/btif/include
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-06-13 16:26:47 +0530
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:23 -0700
commit8e469244c3df905f69183098bac204c776936e6b (patch)
tree8c94067c913c47db0c304c94d9078b2e9c3c07c4 /btif/include
parentbc95df786e2192ef45500f0ef31a2d057a19f831 (diff)
downloadexternal_bluetooth_bluedroid-8e469244c3df905f69183098bac204c776936e6b.zip
external_bluetooth_bluedroid-8e469244c3df905f69183098bac204c776936e6b.tar.gz
external_bluetooth_bluedroid-8e469244c3df905f69183098bac204c776936e6b.tar.bz2
Send PAN disconnecting event on local side disconnect initiation
When the local side initiates disconnection, bluedroid should send diconnecting event, otherwise the instrumentation tests do not pass. Change-Id: Ic21a905407814c2117c04044c2799ea17a16d33b
Diffstat (limited to 'btif/include')
-rw-r--r--btif/include/btif_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/btif/include/btif_common.h b/btif/include/btif_common.h
index 6e119c0..8ae52e9 100644
--- a/btif/include/btif_common.h
+++ b/btif/include/btif_common.h
@@ -84,6 +84,7 @@
#define BTIF_DM 1
#define BTIF_HFP 2
#define BTIF_AV 3
+#define BTIF_PAN 4
extern bt_callbacks_t *bt_hal_cbacks;
@@ -138,7 +139,10 @@ enum
BTIF_DM_CB_CREATE_BOND, /* Create bond */
BTIF_DM_CB_REMOVE_BOND, /*Remove bond */
BTIF_DM_CB_HID_REMOTE_NAME, /* Remote name callback for HID device */
- BTIF_DM_CB_BOND_STATE_BONDING
+ BTIF_DM_CB_BOND_STATE_BONDING,
+
+ BTIF_PAN_CB_START = BTIF_SIG_CB_START(BTIF_PAN),
+ BTIF_PAN_CB_DISCONNECTING, /* PAN Disconnect has been sent to BTA successfully */
};
/* Macro definitions for BD ADDR persistence */