Hi , I am unable to set a public mac address in my beacon sample in nrf connect 2.1.1 on nrf 528833.
I am using the solution in
- Case ID: 290639
Hi , I am unable to set a public mac address in my beacon sample in nrf connect 2.1.1 on nrf 528833.
I am using the solution in
Hello,
Are you calling bt_ctlr_set_public_addr() before bt_enable()? I just tried this with the Beacon sample here, and it worked fine:
uint8_t addr[] = {0xAA, 0xAA, 0xAA, 0xAA,0xAA, 0xAA}; bt_ctlr_set_public_addr(addr); /* Initialize the Bluetooth Subsystem */ err = bt_enable(bt_ready); if (err) { printk("Bluetooth init failed (err %d)\n", err); } }
Best regards,
Vidar
Hi , yes I figured it out ,