Re: Implementing Multi-Interface USB Device Driver
From: Doron Holan [MS] (doronh_at_nospam.microsoft.com)
Date: 06/15/04
- Next message: Peter Wieland [MSFT]: "Re: wpp example"
- Previous message: Doron Holan [MS]: "Re: joystick driver/registry entries"
- In reply to: NagarajuS: "Re: Implementing Multi-Interface USB Device Driver"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 15 Jun 2004 08:19:38 -0700
you will call this function after start device. you will call this funciton
when you need more bandwidth on the isoch endpoints. since those endpoints
refer to SCO connections, you would ask for more bandwidth sometime during
SCO connection negotiation.
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. "NagarajuS" <snraj_2002@yahoo.com> wrote in message news:D105E6BC-030D-4B05-ADA9-868C03E15CFA@microsoft.com... > Dear Mr.Doron Holan, > > I would like to give you more information. We had already developed bluetooth stack excetp USB. Now, only we need to develop USB driver. > > I heard USB driver is common, only we need to develop the driver with the above Interface information. Is it correct? > > I have found some usb information in USB-IF site., > > http://www.usb.org/developers/whitepapers/irp_mn.pdf > > http://www.usb.org/developers/whitepapers/wdm_pm11.pdf > > Here they have used SelectInterface function: > > NTSTATUS > SelectInterface( > PDEVICE_OBJECT DeviceObject, > UCHAR ucInterfaceNumber, > UCHAR ucAltSetting > ) > > And the Msg: > > When configuring a device, the default settings should be set. Once an alternate setting is desired, first terminate all transactions on endpoints that correspond to that changing interface alternate setting. > > But if we see the entire code., they havent called anywhere this function. Just they declared and defined the function. > > > Could you plz give tell me whether my understood is correct? > > > -- > Thanks & Regards, > NagarajuS > > > "Doron Holan [MS]" wrote: > > > you use the select interface URB. you would first select the configuration > > and then when you need more isoch bandwidth, you select the interface that > > you need to match. in the bluetooth world, that would be during a SCO > > connection. Also, speaking from personal experience, implementing an entire > > bluetooth stack (HCI, L2CAP, SDP, RFCOMM just to start) takes many many man > > months and is not to be underestimated. > > > > 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. > > > > > > "NagarajuS" <snraj_2002@yahoo.com> wrote in message > > news:239BCE05-EFAD-4B16-82CD-A37326727535@microsoft.com... > > > Thank you very much for your information. > > > > > > > > > Some Issues: > > > > > > When we configure the device, the default settings will be set. > > > How to switch Second Interface & Alternate Interface. > > > > > > I know we have to write function for selectInterface with the parameters. > > > > > > > > > The fun: > > > > > > SelectInterface( > > > PDEVICE_OBJECT DeviceObject, > > > UCHAR ucInterfaceNumber, > > > UCHAR ucAltSetting > > > ) > > > > > > But i dont know where should this function perform. > > > > > > When pnpDispatch funtion call IRP_MN_START_DEVICE; > > > > > > It will select, Start Device--> SelectConfiguration-->Default Interface > > Setting. > > > > > > The above informatin i found in wdm/src/usb sample code. > > > > > > Could you plz give me some information. > > > > > > > > > > > > > > > -- > > > Thanks & Regards, > > > NagarajuS > > > > > > > > > "Doron Holan [MS]" wrote: > > > > > > > the only time you will need an IAD for your bluetooth radio is if you > > decide > > > > to put another interface on the device. If you feel you must add another > > > > interface, a solution with using IAD is to embed a hub into the product > > and > > > > expose the bluetooth radio behind one hub port and the other interface > > > > behind another hub port. > > > > > > > > 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. > > > > > > > > > > > > "Leo Havmøller" <leh@nospamrtx.dk> wrote in message > > > > news:%23bN0XjhUEHA.2724@TK2MSFTNGP11.phx.gbl... > > > > > > Class ID : 0xE0 > > > > > > Sub Class ID : 0x01 > > > > > > Protocol ID : 0x01 > > > > > > > > > > Standard Bluetooth device. No need for IAD. > > > > > > > > > > Leo Havmøller. > > > > > > > > > > > > > > > > > > > > > > > > > > > >
- Next message: Peter Wieland [MSFT]: "Re: wpp example"
- Previous message: Doron Holan [MS]: "Re: joystick driver/registry entries"
- In reply to: NagarajuS: "Re: Implementing Multi-Interface USB Device Driver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|