Re: [Bluez-users] BCSP problem

Erwin Authried
2005-01-13T22:11:35Z

On Thu, 2005-01-13 at 18:01, blookk - wrote:
> Hello:
>
> I am working with CompactFlash Bluetooth BT0100M, and when I make some data
> tranference or operations as hciattach or other operations I obtain these
> warnings:
>
>
> bcsp_recv: Short BCSP packet
> bcsp_recv: Error in BCSP hdr checksum
> bcsp_recv: Error in BCSP hdr checksum
> bcsp_timed_event: Timeout, retransmitting 1 pkts
> bcsp_recv: Short BCSP packet
> bcsp_recv: Error in BCSP hdr checksum
> bcsp_recv: Error in BCSP hdr checksum
> bcsp_recv: Out-of-order packet arrived, got 0 expected 5
> bcsp_timed_event: Timeout, retransmitting 1 pkts
> bcsp_unslip_one_byte: Invalid byte a8 after esc byte
> bcsp_recv: Out-of-order packet arrived, got 3 expected 2
> bcsp_recv: Out-of-order packet arrived, got 4 expected 2
> bcsp_recv: Out-of-order packet arrived, got 5 expected 2
> bcsp_timed_event: Timeout, retransmitting 1 pkts
>
>
> Is there any form to modify the timeout?
> How can manage this?
>
> Thanks and regards.
>
That looks like you get overrun errors in the serial driver. You can
check /proc/tty/driver/ if there are overrun errors. I don't know your
particular card, but generally PCMCIA/CF cards do no have a real uart
and can send data far beyond the specified baudrate. I had to modify the
serial driver as well as hci_bcsp.c to get rid of the errors for an
embedded system (ARM7,40MHz).

Regards,
Erwin