Skip to contentSkip to conversation

connectionless L2CAP

Bluez-users Aleksandar Kanchev 2 participants 4 messages Dec 21, 2005 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hello,

how can I broadcast a data packet ?
And the connectionless mode of the l2test isn't actually connectionless, for example:

$ ./l2test -D -N 1 -s 00:04:3E:81:14:F8
l2test[1279]: Can't connect: Host is down (112)

I just want to broadcast a data packet and I don't care if the remote end got it or not (i.e. connectionless ACL). Will someone please explain me how can I do that and also a programming example would be great.

Thanks

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Aleksandar,

Quoted 9 lines

how can I broadcast a data packet ?
And the connectionless mode of the l2test isn't actually connectionless, for example:

$ ./l2test -D -N 1 -s 00:04:3E:81:14:F8
l2test[1279]: Can't connect: Host is down (112)

I just want to broadcast a data packet and I don't care if the remote end got it or not (i.e. connectionless ACL). Will someone please explain me how can I do that and also a programming example would be great.

this is not really working, because if there is no ACL link, then there exists no piconet. And without a piconet no air transmission.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw

Hello Marcel,

I'm actually trying to send a data packet between 2 bluetooth devices over 100 meters. I haven't went really deep into the bluetooth specs, but I assume that because of the long range a connection might not be possible, so that's why I just want to broadcast some packets and hope that some will arrive at the other end. Is this possible ?

Btw./l2test with 00:00:00:00:00:00 fails too, but the bluetooth baseband specification section 3.3 says that "ACL packets not addressed to a specific slave are considered as broadcast packets and are read by every slave". I have 1 device in range (I can see it with hcitool scan, l2test succeeds with that device).

Thanks

Quoted 23 lines · Marcel Holtmann

Hi Aleksandar,

Quoted 8 lines

how can I broadcast a data packet ?
And the connectionless mode of the l2test isn't actually connectionless, for example:

$ ./l2test -D -N 1 -s 00:04:3E:81:14:F8
l2test[1279]: Can't connect: Host is down (112)

I just want to broadcast a data packet and I don't care if the remote end got it or not (i.e. connectionless ACL). Will someone please explain me how can I do that and also a programming example would be great.

this is not really working, because if there is no ACL link, then there exists no piconet. And without a piconet no air transmission.

Regards

Marcel

Quoted 12 lines

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#3 lore raw

Hi Aleksandar,

Quoted 5 lines

I'm actually trying to send a data packet between 2 bluetooth devices over 100 meters. I haven't went really deep into the bluetooth specs, but I assume that because of the long range a connection might not be possible, so that's why I just want to broadcast some packets and hope that some will arrive at the other end. Is this possible ?

what's the problem with 100 meters range. Use a pair of class 1 dongles and you are fine.

Quoted 5 lines

Btw./l2test with 00:00:00:00:00:00 fails too, but the bluetooth baseband specification section 3.3 says that "ACL packets not addressed to a specific slave are considered as broadcast packets and are read by every slave". I have 1 device in range (I can see it with hcitool scan, l2test succeeds with that device).

You still need the piconet. No piconet no data transfer over the air.

Regards

Marcel

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users