summaryrefslogtreecommitdiffstats
path: root/btif/include
diff options
context:
space:
mode:
authorKausik Sinnaswamy <kausik@broadcom.com>2012-08-08 22:11:39 +0530
committerMatthew Xie <mattx@google.com>2012-08-13 23:22:54 -0700
commita4eaddaccd236ec5c5add065e1b393072bdb8386 (patch)
tree2e6c52cacc63cc036b72b02c3082c3ba6972ddf2 /btif/include
parent1a0ab4d5bee3bea4c8153a3d147d5adca3be0bed (diff)
downloadexternal_bluetooth_bluedroid-a4eaddaccd236ec5c5add065e1b393072bdb8386.zip
external_bluetooth_bluedroid-a4eaddaccd236ec5c5add065e1b393072bdb8386.tar.gz
external_bluetooth_bluedroid-a4eaddaccd236ec5c5add065e1b393072bdb8386.tar.bz2
Enhanced bluetooth HAL with DUT mode APIs
These APIs are needed to allow the bluetooth chip to be put into DUT mode so that RF/BB BQB tests can be run Change-Id: Ie5be00da567bc94173f35b098abcaf6f6603a129
Diffstat (limited to 'btif/include')
-rw-r--r--btif/include/btif_api.h23
-rw-r--r--btif/include/btif_util.h1
2 files changed, 23 insertions, 1 deletions
diff --git a/btif/include/btif_api.h b/btif/include/btif_api.h
index d90ee58..7916b3d 100644
--- a/btif/include/btif_api.h
+++ b/btif/include/btif_api.h
@@ -377,5 +377,28 @@ bt_status_t btif_dm_get_remote_service_record(bt_bdaddr_t *remote_addr,
*******************************************************************************/
bt_status_t btif_dm_get_remote_services(bt_bdaddr_t *remote_addr);
+/*******************************************************************************
+**
+** Function btif_dut_mode_configure
+**
+** Description Configure Test Mode - 'enable' to 1 puts the device in test mode and 0 exits
+** test mode
+**
+** Returns BT_STATUS_SUCCESS on success
+**
+*******************************************************************************/
+bt_status_t btif_dut_mode_configure(uint8_t enable);
+
+/*******************************************************************************
+**
+** Function btif_dut_mode_send
+**
+** Description Sends a HCI Vendor specific command to the controller
+**
+** Returns BT_STATUS_SUCCESS on success
+**
+*******************************************************************************/
+bt_status_t btif_dut_mode_send(uint16_t opcode, uint8_t *buf, uint8_t len);
+
#endif /* BTIF_API_H */
diff --git a/btif/include/btif_util.h b/btif/include/btif_util.h
index a15d1ca..fd16a40 100644
--- a/btif/include/btif_util.h
+++ b/btif/include/btif_util.h
@@ -109,4 +109,3 @@ void string_to_uuid(char *str, bt_uuid_t *p_uuid);
int ascii_2_hex (char *p_ascii, int len, UINT8 *p_hex);
#endif /* BTIF_UTIL_H */
-