Skip to contentSkip to conversation

setting random address on a bluetooth low-energy adapter

DISCUSSION Pavel Machek 2 participants 2 messages Sep 19, 2018 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi!

I'm trying to use PC (with usb dongle) as a bluetooth low-energy device -- similar to heart rate sensor. But the device I'm trying to emulate is using random address and its control software seems to expect it.

Is there way to override the address / set the random address?
https://elinux.org/images/3/32/Doing_Bluetooth_Low_Energy_on_Linux.pdf
says patch might be needed...

Pointer to the patch would be welcome.

Thanks,
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

Hi Pavel,

Quoted 7 lines · Pavel Machek

Hi!

I'm trying to use PC (with usb dongle) as a bluetooth low-energy device -- similar to heart rate sensor. But the device I'm trying to emulate is using random address and its control software seems to expect it.

Quoted 5 lines

Is there way to override the address / set the random address?
https://elinux.org/images/3/32/Doing_Bluetooth_Low_Energy_on_Linux.pdf
says patch might be needed...

Pointer to the patch would be welcome.

https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=206bee144e2b7e3190677ffbf4f231dd2e728f5c

Signature · 1 line
Luiz Augusto von Dentz