Hi Folks,

I am developing an HCRP firmware (Printer side HCRP profile) and testing it
against the XP Bluetooth HCRP driver.
I am successfully able to
- have the XP host detect my device as a "HCRP Printer",
- the L2CAP Control and Data channels getting created
- a new printer also gets added to my "Printers and Fax" collection on the
HCRP Host.

Now When I try and print a document using this HCRP printer following
happens:

a. I get a CR_DataChannelCreditRequest on the L2CAP COntrol Channel (Printer
side) to which I reply with a large number of credits (0x00 00 00 00 00 FF
FF FF).

b. I start recieving bytes on the L2CAP Data channel.

c. After recieving 64KBytes, the Host application doesnt send any more
packets. Neither any bytes on Data Channel, nor any more
CR_DataChannelCreditRequest.

However I recv. all the data for if the print data is less than 64K, my
question is this 64K any magic number ? IMO I should be getting periodic
requests for credits on the Printer side after the HCRP Host has exhausted
all the credits, but no such thing happens. How has the HCRP driver in XP
been implemented to handle this situation ? I have also tried sending some
credtis (voluntarily) from the printer side to the Host using the
CR_DataChannelCreditGrant after the 64K bytes of credit have been exhausted,
but to no avail.

help in any direction appreciated.

thanks people for all your patience.

Deepesh

Re: Bluetooth HCRP credit flow by Doron

Doron
Thu Apr 29 09:51:52 CDT 2004

please send mail to bthfb@microsoft.com describing this problem. Someone
from that email address should be able to answer that question.

d

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only.

"Deepesh S Gujarathi" <deepesh@encodexindia.com> wrote in message
news:Oluls6aLEHA.2456@TK2MSFTNGP12.phx.gbl...
> Hi Folks,
>
> I am developing an HCRP firmware (Printer side HCRP profile) and testing
it
> against the XP Bluetooth HCRP driver.
> I am successfully able to
> - have the XP host detect my device as a "HCRP Printer",
> - the L2CAP Control and Data channels getting created
> - a new printer also gets added to my "Printers and Fax" collection on the
> HCRP Host.
>
> Now When I try and print a document using this HCRP printer following
> happens:
>
> a. I get a CR_DataChannelCreditRequest on the L2CAP COntrol Channel
(Printer
> side) to which I reply with a large number of credits (0x00 00 00 00 00 FF
> FF FF).
>
> b. I start recieving bytes on the L2CAP Data channel.
>
> c. After recieving 64KBytes, the Host application doesnt send any more
> packets. Neither any bytes on Data Channel, nor any more
> CR_DataChannelCreditRequest.
>
> However I recv. all the data for if the print data is less than 64K, my
> question is this 64K any magic number ? IMO I should be getting periodic
> requests for credits on the Printer side after the HCRP Host has exhausted
> all the credits, but no such thing happens. How has the HCRP driver in XP
> been implemented to handle this situation ? I have also tried sending some
> credtis (voluntarily) from the printer side to the Host using the
> CR_DataChannelCreditGrant after the 64K bytes of credit have been
exhausted,
> but to no avail.
>
> help in any direction appreciated.
>
> thanks people for all your patience.
>
> Deepesh
>
>



Re: Bluetooth HCRP credit flow by Deepesh

Deepesh
Thu Apr 29 23:23:52 CDT 2004

Hi Doron,

thanks for the response, I will send my query to bthfb@microsoft.com . On
second thoughts, do you think a cross post on some other forum viz
microsoft.public.windowsxp.print_fax could be of some help ? I am kind of
stuck up with this issue since long.

thanks for the help
Deepesh

"Doron Holan [MS]" <doronh@nospam.microsoft.com> wrote in message
news:uZ7dJmfLEHA.1892@TK2MSFTNGP10.phx.gbl...
> please send mail to bthfb@microsoft.com describing this problem. Someone
> from that email address should be able to answer that question.
>
> d
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Please reply to newsgroups only.
>
> "Deepesh S Gujarathi" <deepesh@encodexindia.com> wrote in message
> news:Oluls6aLEHA.2456@TK2MSFTNGP12.phx.gbl...
> > Hi Folks,
> >
> > I am developing an HCRP firmware (Printer side HCRP profile) and testing
> it
> > against the XP Bluetooth HCRP driver.
> > I am successfully able to
> > - have the XP host detect my device as a "HCRP Printer",
> > - the L2CAP Control and Data channels getting created
> > - a new printer also gets added to my "Printers and Fax" collection on
the
> > HCRP Host.
> >
> > Now When I try and print a document using this HCRP printer following
> > happens:
> >
> > a. I get a CR_DataChannelCreditRequest on the L2CAP COntrol Channel
> (Printer
> > side) to which I reply with a large number of credits (0x00 00 00 00 00
FF
> > FF FF).
> >
> > b. I start recieving bytes on the L2CAP Data channel.
> >
> > c. After recieving 64KBytes, the Host application doesnt send any more
> > packets. Neither any bytes on Data Channel, nor any more
> > CR_DataChannelCreditRequest.
> >
> > However I recv. all the data for if the print data is less than 64K, my
> > question is this 64K any magic number ? IMO I should be getting periodic
> > requests for credits on the Printer side after the HCRP Host has
exhausted
> > all the credits, but no such thing happens. How has the HCRP driver in
XP
> > been implemented to handle this situation ? I have also tried sending
some
> > credtis (voluntarily) from the printer side to the Host using the
> > CR_DataChannelCreditGrant after the 64K bytes of credit have been
> exhausted,
> > but to no avail.
> >
> > help in any direction appreciated.
> >
> > thanks people for all your patience.
> >
> > Deepesh
> >
> >
>
>