I notice that there are a series of Bluetooth functions that talk to and
return a handle to BthPort. I need something like "\\?\BthPort" that I can
call from another driver. Unfortunately MS made all the control calls only
callable from another device driver (IRP_MJ_INTERNAL_DEVICE_CONTROL) and not
from the App layer so I need to write a relay driver to call SCO. I see that
BthPen, BthModem, BthEnum, and BthUSB have calls.

What is the exported device name for BthPort?

Thanks,
-Erik

Re: BthPort - How do I get the connection? by Doron

Doron
Wed Apr 30 12:38:46 CDT 2008

bthenum will enumerate your PDO and when you attach to it, it will forward
io you send to the PDO to bthport. this is how all of the BRBs work

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Erik HG" <ErikHG@discussions.microsoft.com> wrote in message
news:B3B09EE5-9D47-4850-A9D8-82AFEE01A4CB@microsoft.com...
>I notice that there are a series of Bluetooth functions that talk to and
> return a handle to BthPort. I need something like "\\?\BthPort" that I
> can
> call from another driver. Unfortunately MS made all the control calls
> only
> callable from another device driver (IRP_MJ_INTERNAL_DEVICE_CONTROL) and
> not
> from the App layer so I need to write a relay driver to call SCO. I see
> that
> BthPen, BthModem, BthEnum, and BthUSB have calls.
>
> What is the exported device name for BthPort?
>
> Thanks,
> -Erik
>
>
>
>


Re: BthPort - How do I get the connection? by ErikHG

ErikHG
Wed Apr 30 12:51:01 CDT 2008

Could you please tell me where an example of this is? I haven't written an
NT driver since 1996 and am a bit rusty.

Thanks,
-Erik

"Doron Holan [MSFT]" wrote:

> bthenum will enumerate your PDO and when you attach to it, it will forward
> io you send to the PDO to bthport. this is how all of the BRBs work
>
> d
>

Re: BthPort - How do I get the connection? by ErikHG

ErikHG
Wed Apr 30 12:55:01 CDT 2008


Could you please tell me where I can get an example of this?

Thanks,
-Erik

"Doron Holan [MSFT]" wrote:

> bthenum will enumerate your PDO and when you attach to it, it will forward
> io you send to the PDO to bthport. this is how all of the BRBs work
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Erik HG" <ErikHG@discussions.microsoft.com> wrote in message
> news:B3B09EE5-9D47-4850-A9D8-82AFEE01A4CB@microsoft.com...
> >I notice that there are a series of Bluetooth functions that talk to and
> > return a handle to BthPort. I need something like "\\?\BthPort" that I
> > can
> > call from another driver. Unfortunately MS made all the control calls
> > only
> > callable from another device driver (IRP_MJ_INTERNAL_DEVICE_CONTROL) and
> > not
> > from the App layer so I need to write a relay driver to call SCO. I see
> > that
> > BthPen, BthModem, BthEnum, and BthUSB have calls.
> >
> > What is the exported device name for BthPort?
> >
> > Thanks,
> > -Erik
> >
> >
> >
> >
>
>

Re: BthPort - How do I get the connection? by Doron

Doron
Wed Apr 30 18:34:55 CDT 2008

if you have not written a driver in over 10 years, alot has happened. you
should familiarize yourself with pnp and power and WDM in general. there is
a bluetooth sample driver in the 6001 WDK,
WinDDK\6001.18000\src\bth\bthecho. i would suggest you that start with
sample.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Erik HG" <ErikHG@discussions.microsoft.com> wrote in message
news:08D6EA8F-ED44-41B6-B51D-A69895E7699E@microsoft.com...
> Could you please tell me where an example of this is? I haven't written
> an
> NT driver since 1996 and am a bit rusty.
>
> Thanks,
> -Erik
>
> "Doron Holan [MSFT]" wrote:
>
>> bthenum will enumerate your PDO and when you attach to it, it will
>> forward
>> io you send to the PDO to bthport. this is how all of the BRBs work
>>
>> d
>>


Re: BthPort - How do I get the connection? by ErikHG

ErikHG
Wed Apr 30 19:28:01 CDT 2008

The newest WDK available from microsoft.com is version 6000. How do I get
the sample from 6001?

"Doron Holan [MSFT]" wrote:

> if you have not written a driver in over 10 years, alot has happened. you
> should familiarize yourself with pnp and power and WDM in general. there is
> a bluetooth sample driver in the 6001 WDK,
> WinDDK\6001.18000\src\bth\bthecho. i would suggest you that start with
> sample.
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "Erik HG" <ErikHG@discussions.microsoft.com> wrote in message
> news:08D6EA8F-ED44-41B6-B51D-A69895E7699E@microsoft.com...
> > Could you please tell me where an example of this is? I haven't written
> > an
> > NT driver since 1996 and am a bit rusty.
> >
> > Thanks,
> > -Erik
> >
> > "Doron Holan [MSFT]" wrote:
> >
> >> bthenum will enumerate your PDO and when you attach to it, it will
> >> forward
> >> io you send to the PDO to bthport. this is how all of the BRBs work
> >>
> >> d
> >>
>
>

Re: BthPort - How do I get the connection? by ErikHG

ErikHG
Wed Apr 30 19:36:11 CDT 2008

Whoops! Sorry. I see that the new WDK 6001 came out two weeks ago, just
after I downloaded version 6000. *sigh*

-Erik

"Erik HG" wrote:

> The newest WDK available from microsoft.com is version 6000. How do I get
> the sample from 6001?
>
> "Doron Holan [MSFT]" wrote:
>
> > if you have not written a driver in over 10 years, alot has happened. you
> > should familiarize yourself with pnp and power and WDM in general. there is
> > a bluetooth sample driver in the 6001 WDK,
> > WinDDK\6001.18000\src\bth\bthecho. i would suggest you that start with
> > sample.
> >
> > d
> >
> > --
> > Please do not send e-mail directly to this alias. this alias is for
> > newsgroup purposes only.
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
> > "Erik HG" <ErikHG@discussions.microsoft.com> wrote in message
> > news:08D6EA8F-ED44-41B6-B51D-A69895E7699E@microsoft.com...
> > > Could you please tell me where an example of this is? I haven't written
> > > an
> > > NT driver since 1996 and am a bit rusty.
> > >
> > > Thanks,
> > > -Erik
> > >
> > > "Doron Holan [MSFT]" wrote:
> > >
> > >> bthenum will enumerate your PDO and when you attach to it, it will
> > >> forward
> > >> io you send to the PDO to bthport. this is how all of the BRBs work
> > >>
> > >> d
> > >>
> >
> >