Re: hciattach alternative to change default address after upgrading to BlueZ 5.47

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux