If you view by connection (when running the msft stack), you will see what it does. It enumerates things ;). It enumerates protocols that are not device specific (rfcomm, pan) as well as device specific protocols (HID, HCRP, etc)
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bhaskar
Sent: Tuesday, March 18, 2008 11:26 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] BluetoothFindFirstDevice Returns Immediately
Yes. It seems that the third party software uses other vendor
specific stack. When I load the software and plug in the device, it
is appearing under new class called Bluetooth USB. When I view the
driver properties, it uses some other btcusb.sys. At this point, the
software IDE detects other Bletooth devices and my application returns
with E_HANDLE.
Kindly clarify one thing. On systems with integrated bluetooth
module, under bluetooth radios, I see Microsoft bluetooth enumerator
along with actual module. What might be the functionality of this
enumerator.
Regards.
On Tue, Mar 18, 2008 at 11:23 PM, Doron Holan wrote:
> What is “Bluetooth USB”? the Microsoft Bluetooth API only work for the Microsoft implemented Bluetooth stack. If you plug in some other vendor’s stack, you have to use their APIs.
>
> d
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Bhaskar
> Sent: Tuesday, March 18, 2008 4:49 AM
> To: Windows System Software Devs Interest List
>
>
> Subject: Re: [ntdev] BluetoothFindFirstDevice Returns Immediately
>
> It appears that the problem has been reduced to significant extent.
>
> I am unable to reproduce 1722 RPC Server unavailable error because of
> non-availability of laptop with XP.
>
> But on general PC, where the application was running I manually
> stopped bthserv. When I ran the applciation, I got the same RPC
> error. This did not appeared when I started the service again.
>
> So regarding first problem what Doran guessed bthserv service is the
> work around.
>
> Regarding the huge value E_HANDLE error, I am able to run the program
> normally when the device appears under Bluetooth radios along with
> Microsoft Enumerator. But if the device appears somewhere else like
> Bluetooth USB, the call to BluetoothFindFirstDevice returns with
> E_HANDLE error.
>
> So I guess some relation between using Windows Bluetooth API,
> Bluetooth Radios, Microsoft Bluetooth Enumerator.
>
> Regards.
>
> On Mon, Mar 17, 2008 at 12:05 PM, Bhaskar wrote:
> > Thanks for the response. I will try starting bthserv service. It is occurring only in laptop.
> >
> > Regarding the error value, it is 0x80070006 which points to E_HANDLE in winerr.h
> >
> > The notable point is that the call returns immediately without any delay as if no bluetooth device is connected to the system. I guess it should take some time even to return error value.
> >
> > Regards.
> >
> >
> >
> >
> >
> > On Mon, Mar 17, 2008 at 9:44 AM, Doron Holan wrote:
> >
> > > 1) for the service not started error, check to see if bthserv (display name is " Bluetooth Support Service ") has been installed and started. I would guess given your error, it has not been started.
> > >
> > > 2) What is the hex value for your huge error value? Hresults are defined in hex format, not decimal so it is much easier to find if you go to hex.
> > >
> > > d
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
> > > Sent: Sunday, March 16, 2008 9:13 AM
> > > To: Windows System Software Devs Interest List
> > > Subject: [ntdev] BluetoothFindFirstDevice Returns Immediately
> > >
> > > Dear Team,
> > >
> > > Regrets for posting non driver related query to the list. It is concerned with Windows Bluetooth API. The reason for posting here is when I searched groups regarding the problem, I found many responses from the members of OSR list only.
> > >
> > > BluetoothFindFirstDevice function on my system returns immediately. Previously it used to take some seconds to complete. The change was I re-installed Windows XP with SP2.
> > >
> > > I made sure that the device appears under Bluetooth radios, followed structure mandatory dwsize member settings, invoked WSAStartUP before calling BluetoothFindFirstDevice.
> > >
> > > When I use on HP Laptop, it returns with RPC server unavailable error.
> > >
> > > I switched to different PC and on failure, when I call GetLastError, it gives some huge value to 2567321…(E_INVALID in Winerror.h file)
> > >
> > > Any suggestions regarding this RPC server unavailable and this huge error value.
> > >
> > > Regards.
> > >
> > > —
> > > 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
> > >
> > > —
> > > 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
> > >
> >
> >
>
> —
> 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
>
> —
> 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
>
—
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