linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-users] connectionless L2CAP
@ 2005-12-21 12:32 Aleksandar Kanchev
  2005-12-21 12:45 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Aleksandar Kanchev @ 2005-12-21 12:32 UTC (permalink / raw)
  To: bluez-users

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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] connectionless L2CAP
  2005-12-21 12:32 [Bluez-users] connectionless L2CAP Aleksandar Kanchev
@ 2005-12-21 12:45 ` Marcel Holtmann
  2005-12-21 13:39   ` Aleksandar Kanchev
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-12-21 12:45 UTC (permalink / raw)
  To: bluez-users

Hi Aleksandar,

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] connectionless L2CAP
  2005-12-21 12:45 ` Marcel Holtmann
@ 2005-12-21 13:39   ` Aleksandar Kanchev
  2005-12-21 13:56     ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Aleksandar Kanchev @ 2005-12-21 13:39 UTC (permalink / raw)
  To: bluez-users

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

Marcel Holtmann wrote:

>Hi Aleksandar,
>
>  
>
>>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
>Bluez-users@lists.sourceforge.net
>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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-users] connectionless L2CAP
  2005-12-21 13:39   ` Aleksandar Kanchev
@ 2005-12-21 13:56     ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2005-12-21 13:56 UTC (permalink / raw)
  To: bluez-users

Hi Aleksandar,

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

> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-21 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21 12:32 [Bluez-users] connectionless L2CAP Aleksandar Kanchev
2005-12-21 12:45 ` Marcel Holtmann
2005-12-21 13:39   ` Aleksandar Kanchev
2005-12-21 13:56     ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).