Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0cad723

Browse files
Fix BD address for Nano 33.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent 36c68b5 commit 0cad723

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/utility/HCIVirtualTransportZephyr.cpp‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <zephyr/bluetooth/buf.h>
2626
#include <zephyr/bluetooth/hci.h>
2727
#include <zephyr/bluetooth/hci_raw.h>
28+
#include <zephyr/bluetooth/controller.h>
2829
#include <zephyr/drivers/uart.h>
2930

3031
static K_FIFO_DEFINE(rx_queue);
@@ -147,6 +148,11 @@ int HCIVirtualTransportZephyrClass::begin() {
147148
#endif /* CONFIG_CYW4343W_MURATA_1DX */
148149
#endif /* CONFIG_BT_HCI_SETUP */
149150

151+
#if CONFIG_BT_LL_SW_SPLIT
152+
uint8_t bd_addr[] = {0xFA, 0xFA, 0xFA, 0xFA, 0xFA, 0xFA};
153+
bt_ctlr_set_public_addr(bd_addr);
154+
#endif
155+
150156
rxbuf.clear();
151157

152158
return 1;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /