How to set random static address using controller_vhci_ble_adv example?

axellin
Posts: 197
Joined: Mon Sep 17, 2018 9:09 am

How to set random static address using controller_vhci_ble_adv example?

Postby axellin » Thu Jun 10, 2021 10:43 am

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?


axellin
Posts: 197
Joined: Mon Sep 17, 2018 9:09 am

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

Postby axellin » Thu Jun 10, 2021 11:59 am

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.

chegewara
Posts: 2228
Joined: Wed Jun 14, 2017 9:00 pm

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

Postby chegewara » Thu Jun 10, 2021 4:56 pm

The above API is required to enable random addressing on BLE in normal usage. I dont know how it works with VHCI.

Who is online

Users browsing this forum: OSCPUDEV and 105 guests