OSDN Git Service

add neighbor_inquiry API
authorChris Manton <cmanton@google.com>
Tue, 8 Sep 2020 05:54:17 +0000 (22:54 -0700)
committerChris Manton <cmanton@google.com>
Mon, 14 Sep 2020 05:37:01 +0000 (05:37 +0000)
Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I6a51831e104a57f1f28c0badd215da63edee6c67

stack/btm/neighbor_inquiry.h

index 009334c..b0dea71 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "osi/include/alarm.h"
 #include "stack/include/btm_api_types.h"
+#include "types/raw_address.h"
 
 /* Discoverable modes */
 #define BTM_NON_DISCOVERABLE 0
@@ -248,3 +249,6 @@ typedef union /* contains the inquiry filter condition */
 
 #define BTM_INQ_RESULT_BR 0x01
 #define BTM_INQ_RESULT_BLE 0x02
+
+extern bool btm_inq_find_bdaddr(const RawAddress& p_bda);
+extern tINQ_DB_ENT* btm_inq_db_find(const RawAddress& p_bda);