linuxconfigurationbluetoothbluezdial-up

How can dial-up networking service be disabled in Bluez 4?


Im working on an embedded system that will provide a custom bluetooth service to be used by other devices. It is running ubuntu 13.04 and thus, bluez 4.101. By default a lot of services are enabled in bluez (seen by running sdptool browse against the device). I have been able to disable all but one by using the follwoing (undocumented) line in /etc/bluetooth/main.conf

DisablePlugins = network,input,audio

However, one service is still there, namely Dial-up Networking. I would like our device to only provide our own, custom service and nothing else, but whatever I tried I can't figure out how to disable Dial-up Networking.

So the question is: How can I disable the Dial-Up Networking service/profile in bluez 4?


Solution

  • Rather than editing /etc/bluetooth/main.conf have you tried using "sdptool del" instead? That is, use "sdptool browse" to get the record_handle and then "sdptool del record_handle".