Bluetooth stack up/down ??

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: wesley (pretissimo2002_at_yahoo.fr)
Date: 02/15/04


Date: 15 Feb 2004 09:16:21 -0800


>From the 'btcp.exe' sample, I have seen that it is possible to
start/stop the BT functionality through IOCTL's. However, this only
start/stops the BT stack, from the CE side. So If I want to restart my
complete BT fucntionality under CE, I also have to trigger the RST
line of my module, between a STOP IOCTL and a START IOCTL. This gives
me following problems:

1. I donnut know when the complete BT stack is up again. Is there no
event in the CE BT stack to say so?? If I, for example go to control
panel, bluetooth after a complete stack reset (like described above),
and I do an inquiry, then there is this message "Bluetooth hardware
error -1". If I wait then for a couple of seconds (...between five and
ten seconds...), the inquiry goes just fine. This can have only one
reason: the stack was not initialized yet...

The only thing I can see in source code is a link establishment
(bthcsr.dll), but even then the complete stack is not up...So tell me
please...

2. Must interesting/basic bluetooth functionality lays in a DLL called
BTDRT.DLL. This functionality includes
 - Asking the link parameters of the BT module
 - Asking the BT address of the BT module
 - Enabling/Disabling different modes.

 Is it possible to obtain source code of this functionality? Or
directions on how to implement this?

Thanks in advance....
Wesley
wesley.devos@dzine.nospam.be
(remove nospam please)



Relevant Pages

  • RE: Bluetooth stack up/down ??
    ... You can look at bt_api.h for a number of named events specific to BT. ... stack extension layer and send HCI commands. ... | Subject: Bluetooth stack up/down ?? ... Must interesting/basic bluetooth functionality lays in a DLL called ...
    (microsoft.public.windowsce.platbuilder)
  • Re: ERROR_SERVICE_NOT_ACTIVE when i try to use BthCreateACLConnection.
    ... HP Pocket PCs do not use Microsoft's Bluetooth stack. ... | Iam using HP Pocket PC 2003 with WinCE 4.2. ... | the Built-In Bluettoth Hardware device and MS bluetooth Stack. ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: bluetooth application development
    ... It does work on Windows Mobile 5.0 and above. ... Bluetooth stacks and that's the franson product. ... COM ports and it's Windows CE only, the 32feet libraries do support COM ... ports and run on XP also but only for devices with the Microsoft stack. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: IPAQs and Bluetooth and Visual Studio 2005 beta 2
    ... Differences between WinCE and Windows Mobile: ... Note that if you don't have a device running the Microsoft Bluetooth stack, ...
    (microsoft.public.pocketpc.developer.networking)
  • Re: IOCTL_INTERNAL_MOUSE_CONNECT Equivalent for the Bluetooth Stack
    ... itself (or are you installing as a class upper filter)? ... it uses the HID stack and ... works for bluetooth (this is assuming you are using the MSFT provided ... > working on writing an filter driver to be placed right below MouClass.sys. ...
    (microsoft.public.development.device.drivers)