From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: In-Reply-To: <1105700391.17326.32.camel@justakiss> From: "blookk -" To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] BCSP problem Mime-Version: 1.0 Content-Type: text/html; charset=iso-8859-1; format=flowed Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 14 Jan 2005 17:13:30 +0000

Hello Erwin:

I use a ARM7TDM, 55 MHz.

Thanks for your help

>From: Erwin Authried <eauth@softsys.co.at>
>Reply-To: bluez-users@lists.sourceforge.net
>To: "bluez-users@lists.sourceforge.net" <bluez-users@lists.sourceforge.net>
>Subject: Re: [Bluez-users] BCSP problem
>Date: Fri, 14 Jan 2005 11:59:51 +0100
>
>Am Fre, den 14.01.2005 schrieb blookk - um 10:03:
> > Hello Erwin:
> >
> > What changes have you done in hci_bcsp.c?
> > Could be the error in wait_states in serial driver?
> >
> > I change the timeout to 1 HZ but the problem continue.
> >
> > Regards.
>Hi,
>I have posted the patch some time ago.
>
>http://sourceforge.net/mailarchive/message.php?msg_id=9908045
>
>Be aware that it is incomplete, it doesn't support packets with CRC. The
>patch is only useful when the incoming data rate from the uart is higher
>than the processing speed in the hci line discipline. What kind of
>machine (cpu speed?) do you use?
>
>Regards,
>Erwin
>
>
>
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by: Beat the post-holiday blues
>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] BCSP problem From: Erwin Authried To: "bluez-users@lists.sourceforge.net" In-Reply-To: References: Content-Type: text/plain Message-Id: <1105700391.17326.32.camel@justakiss> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 14 Jan 2005 11:59:51 +0100 Am Fre, den 14.01.2005 schrieb blookk - um 10:03: > Hello Erwin: > > What changes have you done in hci_bcsp.c? > Could be the error in wait_states in serial driver? > > I change the timeout to 1 HZ but the problem continue. > > Regards. Hi, I have posted the patch some time ago. http://sourceforge.net/mailarchive/message.php?msg_id=9908045 Be aware that it is incomplete, it doesn't support packets with CRC. The patch is only useful when the incoming data rate from the uart is higher than the processing speed in the hci line discipline. What kind of machine (cpu speed?) do you use? Regards, Erwin ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: In-Reply-To: <1105654294.3361.25.camel@kabel> From: "blookk -" To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] BCSP problem Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Fri, 14 Jan 2005 09:03:15 +0000 Hello Erwin: What changes have you done in hci_bcsp.c? Could be the error in wait_states in serial driver? I change the timeout to 1 HZ but the problem continue. Regards. >From: Erwin Authried <eauth@softsys.co.at> >Reply-To: bluez-users@lists.sourceforge.net >To: bluez-users@lists.sourceforge.net >Subject: Re: [Bluez-users] BCSP problem >Date: Thu, 13 Jan 2005 23:11:35 +0100 > >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 > > > > >------------------------------------------------------- >The SF.Net email is sponsored by: Beat the post-holiday blues >Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. >It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt >_______________________________________________ >Bluez-users mailing list >Bluez-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/bluez-users ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] BCSP problem From: Erwin Authried To: bluez-users@lists.sourceforge.net In-Reply-To: References: Content-Type: text/plain Message-Id: <1105654294.3361.25.camel@kabel> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 13 Jan 2005 23:11:35 +0100 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 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] BCSP problem From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: References: Content-Type: text/plain Message-Id: <1105652767.7525.10.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 13 Jan 2005 22:46:07 +0100 Hi, > I do not have problems with the tools, but when I make a ftp > connection over Bluetooth and send a file, I obtain all this BCSP > warnings and the transmision is very slowly, the transmision only > reachs 5 Kbytes/s. what hciattach command do you use? What kernel do you use? > Other cuestion, Why the device expected 2 packets, for example, and > got more than 2 packets?. This occur in the warning like > this: bcsp_recv: Out-of-order packet arrived, got 5 expected 2 Do you have a picture of your card somewhere? Maybe I have one at home for testing. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: In-Reply-To: <1105640823.7961.238.camel@pegasus> From: "blookk -" To: bluez-users@lists.sourceforge.net Subject: Re: [Bluez-users] BCSP problem Mime-Version: 1.0 Content-Type: text/html; charset=iso-8859-1; format=flowed Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 13 Jan 2005 21:02:34 +0000

Hello Marcel:

I do not have problems with the tools, but when I make a ftp connection over Bluetooth and send a file, I obtain all this BCSP warnings and the transmision is very slowly, the transmision only reachs 5 Kbytes/s.
(I make this connection with pand tool, and the interface bnep)

Other cuestion, Why the device expected 2 packets, for example, and got more than 2 packets?. This occur in the warning like this:  bcsp_recv: Out-of-order packet arrived, got 5 expected 2

Thanks for your help.

Regards.

>From: Marcel Holtmann <marcel@holtmann.org>
>Reply-To: bluez-users@lists.sourceforge.net
>To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
>Subject: Re: [Bluez-users] BCSP problem
>Date: Thu, 13 Jan 2005 19:27:03 +0100
>
>Hi,
>
> > 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?
>
>do you have any functional problems with this card? In general you can
>ignore these messages, because BCSP is able to correct mostly every
>error. I am a little bit worried about the esc byte and hdr error,
>because we haven't seen this so far.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>The SF.Net email is sponsored by: Beat the post-holiday blues
>Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
>It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
>_______________________________________________
>Bluez-users mailing list
>Bluez-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-users
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] BCSP problem From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: References: Content-Type: text/plain Message-Id: <1105640823.7961.238.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 13 Jan 2005 19:27:03 +0100 Hi, > 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? do you have any functional problems with this card? In general you can ignore these messages, because BCSP is able to correct mostly every error. I am a little bit worried about the esc byte and hdr error, because we haven't seen this so far. Regards Marcel ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: From: "blookk -" To: bluez-users@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Subject: [Bluez-users] BCSP problem Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu, 13 Jan 2005 17:01:13 +0000 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. ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users