فهرست منبع

bluetooth: add host-based peer RPA resolution support

Signed-off-by: Liam McLoughlin <lmcloughlin@google.com>
Liam McLoughlin 3 ماه پیش
والد
کامیت
4451932638

+ 1 - 1
.gitmodules

@@ -6,7 +6,7 @@
 	url = https://github.com/pebble-dev/stm32-sdk.git
 [submodule "src/bluetooth-fw/nimble/vendor/mynewt-nimble"]
 	path = third_party/nimble/mynewt-nimble
-	url = https://github.com/apache/mynewt-nimble.git
+	url = https://github.com/pebble-dev/mynewt-nimble.git
 [submodule "src/bluetooth-fw/nimble/vendor/ti-service-packs"]
 	path = third_party/ti_bt_sp/ti-service-packs
 	url = https://git.ti.com/git/ti-bt/service-packs.git

+ 1 - 1
third_party/nimble/mynewt-nimble

@@ -1 +1 @@
-Subproject commit 7b14eab3d07caffa3a70046271b9f5b805f5c965
+Subproject commit a6b2f3f9af8b7b46f51f3af3a89d656dffd9483e

+ 4 - 0
third_party/nimble/port/include/cc2564x/syscfg/syscfg.h

@@ -871,6 +871,10 @@
 #define MYNEWT_VAL_BLE_RPA_TIMEOUT (300)
 #endif
 
+#ifndef MYNEWT_VAL_BLE_HOST_RPA_RESOLVER
+#define MYNEWT_VAL_BLE_HOST_RPA_RESOLVER (1)
+#endif
+
 /* Overridden by app (defined by @apache-mynewt-nimble/nimble/host) */
 #ifndef MYNEWT_VAL_BLE_SM_BONDING
 #define MYNEWT_VAL_BLE_SM_BONDING (1)

+ 4 - 0
third_party/nimble/port/include/nrf52/syscfg/syscfg.h

@@ -2168,6 +2168,10 @@
 #define MYNEWT_VAL_BLE_RPA_TIMEOUT (300)
 #endif
 
+#ifndef MYNEWT_VAL_BLE_HOST_RPA_RESOLVER
+#define MYNEWT_VAL_BLE_HOST_RPA_RESOLVER (0)
+#endif
+
 /* Overridden by app (defined by @apache-mynewt-nimble/nimble/host) */
 #ifndef MYNEWT_VAL_BLE_SM_BONDING
 #define MYNEWT_VAL_BLE_SM_BONDING (1)

+ 1 - 0
third_party/nimble/syscfg/targets/cc2564x/syscfg.yml

@@ -14,3 +14,4 @@
 
 syscfg.vals:
     BLE_TRANSPORT_LL: socket
+    BLE_HOST_RPA_RESOLVER: 1