I'm implementing Bluetooth on an embedded device and have a few questions about the BlueZ protocol stack. I'm using BlueZ-4.101
(do not have the option to upgrade to BlueZ-5
), and do not have Python available.
Here are my questions after spending some time looking into BlueZ:
- Is
bluetoothd
needed in my situation? As in, is it just a daemon that handles Pythondbus
messages between user-space and the kernel, or is it more? I've looked through the source and can only find mostlydbus
related calls - How does one determine the value of
DeviceID
in/etc/bluetooth/main.conf
? I found these instructions (section 3.4), but they are for a different platform using BlueZ 5 Will
sdptool
work without setting theDeviceID
value? I've tried the following command and receive timeouts every time (only for my local device):# sdptool browse local Browsing FF:FF:FF:00:00:00 ... Service Search failed: Connection timed out
Is it viable to replace all of the python
simple-agent
scripts withlibbluetooth
instead, or do I need to try and port them over to a supported scripting language?
Any help would be greatly appreciated!!! If more logs are needed I can try and get them.