Thanks Marcel. I was able to get it done using btmgmt. Sudeepta On Mon, Feb 12, 2018 at 7:38 PM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote: > Hi Sudeepta, > >> Prior to upgrading BlueZ to 5.47 in my project, I was using hciattach >> to set the UART device's address before starting bluetoothd. >> >> hciattach /dev/ttyS2 bcm43xx flow nosleep xx:xx:xx:xx:xx >> >> However since hciattach is deprecated in newer BlueZ, I am now using >> btattach instead to do the same. But btattach does not provide an >> option to set the bluetooth address of the device. >> >> What is the standard procedure to set the bluetooth address of the >> UART device using newer BlueZ tools? > > there is btmgmt public-addr command that will work if your driver supports hdev->set_bdaddr. For Broadcom chips that should be fully supported. > > Regards > > Marcel > -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html