logo       

Re: [Bluez-users] problems with bytestream: msg#00041

linux.bluez.devel

Subject: Re: [Bluez-users] problems with bytestream

Hi Andrea,
I took a look at l2test.c and I saw that
at the beginning of each packet sent
there is a small header.

The first 32 bits are used for the sequence number
and the following 16 for the packet size.

l2test[3491]: Recevied 18 bytes
00000000: 01 00 00 00 12 00 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f
.........|seq-number | len | payload
.........| (little endian) |

However I tested it with smaller packet sizes and it seems
to work here flawlessly.

l2test -s -b 1 -N 1 XX:XX:XX:XX:XX:XX

l2test -d
l2test[3488]: Connect from XX:XX:XX:XX:XX:XX [imtu 672, omtu 672,
flush_to 65535]
l2test[3488]: Receiving ...
l2test[3488]: Recevied 1 bytes
00000000: 00 .
l2test[3488]: Disconnect. Success

I used csr based USB dongles with latest bluez libs & utils.

Ciao,
Diego Liziero.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise