NRF8240 HCI UART support setting public address

Does the NRF8240 using the HCI UART sample support setting a public address?

https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/samples/bluetooth/hci_uart/README.html

I get this error when trying to set the address via the btmgmt tool via:
`btmgmt public-addr <address>`

Set Public Address for hci0 failed with status 0x0c (Not Supported)

Bluez5 version is 5.54

Parents
  • Hello,

    It doesn't seem as there is a standardized way of setting the bt address over HCI, it should be pre-programmed in the controller. You could in production store the address to the UICR, and then modify the hci_uart application to for instance read from uicr and write the address using bt_ctlr_set_public_addr() before you enable bluetooth. Alternatively, it seems there may be a vendor specific hci command (BT_HCI_OP_VS_WRITE_BD_ADDR) that can be used.

    Kenneth

Reply
  • Hello,

    It doesn't seem as there is a standardized way of setting the bt address over HCI, it should be pre-programmed in the controller. You could in production store the address to the UICR, and then modify the hci_uart application to for instance read from uicr and write the address using bt_ctlr_set_public_addr() before you enable bluetooth. Alternatively, it seems there may be a vendor specific hci command (BT_HCI_OP_VS_WRITE_BD_ADDR) that can be used.

    Kenneth

Children
No Data
Related