Add const guarantees
This patch adds const qualifiers to parameter of some methods.
It adds no value right now, but will make conversion of btif to C++
much easier.
Change-Id: I380a63484230f92aedfd4ff5e1ee72f30307d9d9
diff --git a/bta/include/bta_api.h b/bta/include/bta_api.h
index b305499..16cc030 100644
--- a/bta/include/bta_api.h
+++ b/bta/include/bta_api.h
@@ -1603,7 +1603,7 @@
** Returns 0 if the device is NOT connected.
**
*******************************************************************************/
-extern UINT16 BTA_DmGetConnectionState( BD_ADDR bd_addr );
+extern UINT16 BTA_DmGetConnectionState( const BD_ADDR bd_addr );
/*******************************************************************************
@@ -1804,7 +1804,7 @@
** Returns void
**
*******************************************************************************/
-extern void BTA_DmSetBlePrefConnParams(BD_ADDR bd_addr,
+extern void BTA_DmSetBlePrefConnParams(const BD_ADDR bd_addr,
UINT16 min_conn_int, UINT16 max_conn_int,
UINT16 slave_latency, UINT16 supervision_tout );
@@ -2115,7 +2115,7 @@
** Returns void
**
*******************************************************************************/
-extern void BTA_DmBleUpdateConnectionParams(BD_ADDR bd_addr, UINT16 min_int,
+extern void BTA_DmBleUpdateConnectionParams(const BD_ADDR bd_addr, UINT16 min_int,
UINT16 max_int, UINT16 latency, UINT16 timeout);
/*******************************************************************************