Page 1 of 1

How to set random static address using controller_vhci_ble_adv example?

Posted: Thu Jun 10, 2021 10:43 am
by axellin
The example code uses public device address.
I tried changing own_addr_type but it seems does not work.
I'm not sure how to set random static address with the example code.
Any document available?

Re: How to set random static address using controller_vhci_ble_adv example?

Posted: Thu Jun 10, 2021 11:17 am
by chegewara

Re: How to set random static address using controller_vhci_ble_adv example?

Posted: Thu Jun 10, 2021 11:59 am
by axellin
But I'm testing with CONFIG_BT_CONTROLLER_ONLY=y which uses smaller memory.
I think above APIs cannot work with CONFIG_BT_CONTROLLER_ONLY=y.

Re: How to set random static address using controller_vhci_ble_adv example?

Posted: Thu Jun 10, 2021 4:56 pm
by chegewara
The above API is required to enable random addressing on BLE in normal usage. I dont know how it works with VHCI.