(Originally from Adafruit) Install latest Bluez from Debian So it reads: ExecStart=/usr/lib/bluetooth/bluetoothd -experimental The Bluetooth config and add the experimental flag there: sudo nano /lib/systemd/system/rviceĪnd update the line: ExecStart=/usr/lib/bluetooth/bluetoothd However you still need to enable the Experimental flags. Bluez 5.41īluez 5.41 comes installed by default on a few systems now and does work, Means your PC is able to see Bluetooth LE devices via Bluetooth, which is a great sign. You can also try running sudo hcitool lescan - if you see MAC addresses being displayed, this Started instructions and see if it works. This is by far the most likely - pretty much every Linux distribution from the pastĥ years has up to date Bluetooth LE support.īluetooth should work out of the box - try following the Web Bluetooth getting the mac address blocks seems to be in different order: 0c9d9240fc77-00ff1989daa5-34e12de4.First, you should type bluetoothd -version in the terminal,Īnd see which version of Bluez you have - then follow theĬorrect set of instructions below: Bluez 5.42 and later: Ubuntu 16.10 and newer But I can see the same addresses repeated in different places of the final generated id.įor example, those are all ids of the same computer, without any hardware change, just software. I’m not sure if only the order or the actual contents of the addresses list is changed, because I only have access to the final ID I generate. A system crash, or some unrelated software install are sufficient to get me different results. On mac and linux, where I can rely on gethostuuid(), but since on Windows I decided to use the mac addresses, since it’s a very common way to get a UDID.īut it seems that the addresses list returned by MACAddress::findAllAddresses() can change, and every day I have some client complaining that the auth key is not working. I’m using MACAddress::findAllAddresses() as a way to generate a UDID (unique device ID) on Windows, by concatenating the returned addresses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |