Bluetooth stack up/down ??
From: wesley (pretissimo2002_at_yahoo.fr)
Date: 02/15/04
- Next message: Andrew: "Serial Interrupts"
- Previous message: Cancer02: "Re: SAPI problem"
- Next in thread: Greg Scott [MS]: "RE: Bluetooth stack up/down ??"
- Reply: Greg Scott [MS]: "RE: Bluetooth stack up/down ??"
- Messages sorted by: [ date ] [ thread ]
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)
- Next message: Andrew: "Serial Interrupts"
- Previous message: Cancer02: "Re: SAPI problem"
- Next in thread: Greg Scott [MS]: "RE: Bluetooth stack up/down ??"
- Reply: Greg Scott [MS]: "RE: Bluetooth stack up/down ??"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|