How to disable bluetooth communications?

Hi, all.

How can i make disable any bluetooth devices ?
I want to enable or disable bluetooth whenever i need.
To do this, what kind of driver (or filter drv) should i write?

Thanks.

Do you mean disabling the local radio or disabling communication with particular remote devices? For the local radio, you can just disable the device using device manager or devcon. For remote devices, there is nothing generic that you can do. I guess a lower filter below the usb connected radio would work if you tracked HCI connection handles with remote radio addresses and failed outgoing connect requests on the way down the stack and responded to incoming connect requests with failure for remote devices connecting to the local host (although then you also have to account for the HCI command packet credit count and probably do some rather complex queueing).

Why do you even have this scenario to disable bth whenever you need? This is not a very user friendly behavior

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, April 28, 2008 11:39 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to disable bluetooth communications?

Hi, all.

How can i make disable any bluetooth devices ?
I want to enable or disable bluetooth whenever i need.
To do this, what kind of driver (or filter drv) should i write?

Thanks.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Thank you for your quick reply, Doron.

I mean disabling bth communication by usb dongle.
I want to deny data-leak through bth devices.

xxxxx@gmail.com wrote:

I mean disabling bth communication by usb dongle.

Why don’t you just pull the dongle out? Nothing is more reliable than that.

I want to deny data-leak through bth devices.

Surely the built-in device security is the way to deal with these
issues. How do you think information is going to “leak” out?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.