2005-01-08 09:13:49

by Manjunath Prabhu

[permalink] [raw]
Subject: [Bluez-users] l2test-number of frames

Hi marcel,
in the l2test, i am not able to send more than 512 frames. The utility
stops at this point every time. I want to run the utility for about
5000 packets, but after 512 packets, i get the following error

"Send failed. Connection reset by peer(104)"....

i think some constant in l2cap.cc or h is causing this problem. Hope
you can help me this one.

Thanx ,
Regards,
Manjunath


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users


2005-01-08 17:06:14

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] l2test-number of frames

Hi Manjunath,

> > check with 2.6.10 and bluez-{libs|utils}-2.13. What command lines do you
> > use on each side?
>
> on the tx,
> l2test -s -N 5000 dest_bdaddr
>
> on the rx,
> l2test -r
>
> If i change N to 500, it works fine......but after packet 512, the
> connection is reset...

I just tested it with a 2.6.10-mh1 and the latest l2test from CVS. No
problem to send 5000 packets. However this might be an endian bug
somewhere. What is your host hardware?

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-08 14:40:05

by Manjunath Prabhu

[permalink] [raw]
Subject: Re: [Bluez-users] l2test-number of frames

Hi marcel,

On Sat, 08 Jan 2005 15:26:44 +0100, Marcel Holtmann <[email protected]> wrote:
> Hi Manjunath,
>
> > > > in the l2test, i am not able to send more than 512 frames. The utility
> > > > stops at this point every time. I want to run the utility for about
> > > > 5000 packets, but after 512 packets, i get the following error
> > > >
> > > > "Send failed. Connection reset by peer(104)"....
> > > >
> > > > i think some constant in l2cap.cc or h is causing this problem. Hope
> > > > you can help me this one.
> > >
> > > what kernel? What utils and libs versions? What kind of devices?
> > >
> >
> > i am using linux-2.6.9 with bluez-libs-2.11 and bluez-utils-2.11. i am
> > using anycom usb-120 dongles......
>
> check with 2.6.10 and bluez-{libs|utils}-2.13. What command lines do you
> use on each side?

on the tx,
l2test -s -N 5000 dest_bdaddr

on the rx,
l2test -r

If i change N to 500, it works fine......but after packet 512, the
connection is reset...

Regards,
Manjunath



>
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-08 14:26:44

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] l2test-number of frames

Hi Manjunath,

> > > in the l2test, i am not able to send more than 512 frames. The utility
> > > stops at this point every time. I want to run the utility for about
> > > 5000 packets, but after 512 packets, i get the following error
> > >
> > > "Send failed. Connection reset by peer(104)"....
> > >
> > > i think some constant in l2cap.cc or h is causing this problem. Hope
> > > you can help me this one.
> >
> > what kernel? What utils and libs versions? What kind of devices?
> >
>
> i am using linux-2.6.9 with bluez-libs-2.11 and bluez-utils-2.11. i am
> using anycom usb-120 dongles......

check with 2.6.10 and bluez-{libs|utils}-2.13. What command lines do you
use on each side?

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-08 14:15:37

by Manjunath Prabhu

[permalink] [raw]
Subject: Re: [Bluez-users] l2test-number of frames

Hi marcel,

On Sat, 08 Jan 2005 15:04:54 +0100, Marcel Holtmann <[email protected]> wrote:
> Hi Manjunath,
>
> > in the l2test, i am not able to send more than 512 frames. The utility
> > stops at this point every time. I want to run the utility for about
> > 5000 packets, but after 512 packets, i get the following error
> >
> > "Send failed. Connection reset by peer(104)"....
> >
> > i think some constant in l2cap.cc or h is causing this problem. Hope
> > you can help me this one.
>
> what kernel? What utils and libs versions? What kind of devices?
>

i am using linux-2.6.9 with bluez-libs-2.11 and bluez-utils-2.11. i am
using anycom usb-120 dongles......

Regards,
Manjunath

> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2005-01-08 14:04:54

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] l2test-number of frames

Hi Manjunath,

> in the l2test, i am not able to send more than 512 frames. The utility
> stops at this point every time. I want to run the utility for about
> 5000 packets, but after 512 packets, i get the following error
>
> "Send failed. Connection reset by peer(104)"....
>
> i think some constant in l2cap.cc or h is causing this problem. Hope
> you can help me this one.

what kernel? What utils and libs versions? What kind of devices?

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users