[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: [bluetooth-dev] Too much data for small ACL-Link
Hi,
OpenBT uses a buffer to store outgoing data in. Before you
send you packets down to underlying layers you subscribe some
memory from the memorypool and then copy your data to the
buffer before sending it. At the HCI-level (in
send_acl_data_task as you mentioned) we then checks for
available space in the HW-module and if there is a free
buffer we send the data to the module. After the data is
sent, the buffer used for the packet is returned to the pool.
If the HW-buffers are full and we have outstanding data in
the OpenBT buffer it will be sent as soon as the HW tells us
that there is a free buffer. So, the answer on your question
is no, OpenBT doesn't discard any data when the HW-buffers is
full. As long as you are able to subscribe memory from the
memorypool the data will be sent.
Best Regards
Anders Johansson
> >
> > > -----Original Message-----
> > > From: Luki Valle [mailto:valleluk@xxxxxxx.ch]
> > > Sent: Wednesday, October 24, 2001 6:07 PM
> > > To: bluetooth-dev@xxxxxxx.com
> > > Subject: [bluetooth-dev] Too much data for small ACL-Link
> > >
> > >
> > > Hi
> > >
> > > Does anybody know, what happens if I send too much data to
> > an ACL-Link
> > > i.e. I want to transmit a 256 kB/s Multimediastream over a small
> > > ACL-Link (128 Kb/s because I have to much external
> > > Interference). After
> > > a time, the buffer in the Bluetoothhardware would be
> full. So openbt
> > > would not send more data to the Hardware.
> > >
> > >
> > > (hci.c Line 3405 Version 0.0.8)
> > > while ((hci_ctrl.hc_buf.acl_num > 0) && bytes2send ) {
> > >
> > >
> > > What happens now? Does openbt discard bytes, if I don't
> stop to send
> > > Data.
> > >
> > > thanks
> > >
> > > Luki and Dejan
> > >
> > > Content Security by MailMarshal
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe
> > > bluetooth-dev" in
> > > the body of a message to majordomo@xxxxxxx.com
> > >
> >
>