Skip to contentSkip to conversation

l2test-number of frames

Bluez-users Manjunath Prabhu 2 participants 6 messages Jan 8, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

maintainer
#1 lore raw

Hi Manjunath,

Quoted 8 lines

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

#2 lore raw

Hi marcel,

Quoted 6 lines · Marcel Holtmann

Hi Manjunath,

Quoted 4 lines

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

Quoted 7 lines
Quoted 4 lines

"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

Quoted 4 lines

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
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

maintainer
#3 lore raw

Hi Manjunath,

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

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)"....

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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

#4 lore raw

Hi marcel,

Quoted 11 lines · Marcel Holtmann

Hi Manjunath,

Quoted 9 lines
Quoted 9 lines
Quoted 8 lines

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.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

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

Quoted 5 lines

Regards

Marcel

Quoted 9 lines

-------------------------------------------------------
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

maintainer
#5 lore raw

Hi Manjunath,

Quoted 11 lines
Quoted 2 lines

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