public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] Broadcasting in Bluetooth
@ 2004-06-12 18:28 Suresh Srinivasan
  2004-06-12 22:09 ` [Bluez-users] bluepin Gene Imes
  0 siblings, 1 reply; 5+ messages in thread
From: Suresh Srinivasan @ 2004-06-12 18:28 UTC (permalink / raw)
  To: bluez-users


Dear Maxim Krasnyansky,
                        Iam suresh srinivasan, doing my masters in computer
science at SMU. Iam currently looking at broadcasting in a bluetooth piconet.
>From my understanding from the bluetooth protocol stack is that broadcast
is not supported as of now. Iam trying do the following to broadcast a packet in the bluetooth
piconet:

1) Creating a connection(ACL) to all the slaves.
2) In function "HCI_ACL_SEND" the parameter "flag" in the function
hci_add_acl_hdr(skb,conn->handle,flags|ACL_START) is modified to flags|ACL_ACTIVE_BCAST".
Can i broadcast with the above changes? or do i ned some more changes?
Please, give me your valueable sugestions? please, guide me if iam in
the wrong direction.Eagerly waiting for your response,

Thanking you,
Warm regards,
suresh




-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] bluepin
  2004-06-12 18:28 [Bluez-users] Broadcasting in Bluetooth Suresh Srinivasan
@ 2004-06-12 22:09 ` Gene Imes
  0 siblings, 0 replies; 5+ messages in thread
From: Gene Imes @ 2004-06-12 22:09 UTC (permalink / raw)
  To: list bluez

Anyone know how to fix this:

gene@tr1a:~> bluepin
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
 
Traceback (most recent call last):
  File "/usr/bin/bluepin", line 39, in ?
    import gtk
  File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line
43, in ?    from _gtk import *
RuntimeError: could not open display

Thanks,

Gene



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* [Bluez-users] bluepin
@ 2004-06-12 22:56 Gene Imes
  2004-06-13  9:13 ` Simon Huggins
  2004-06-14  9:49 ` Peter Stephenson
  0 siblings, 2 replies; 5+ messages in thread
From: Gene Imes @ 2004-06-12 22:56 UTC (permalink / raw)
  To: list bluez

Sorry about that. I inadvertantly tacked this to another thread. My
apologies.

Anyone know how to fix this:

gene@tr1a:~> bluepin
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
 
Traceback (most recent call last):
  File "/usr/bin/bluepin", line 39, in ?
    import gtk
  File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line
43, in ?    from _gtk import *
RuntimeError: could not open display

Thanks,

Gene





-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] bluepin
  2004-06-12 22:56 Gene Imes
@ 2004-06-13  9:13 ` Simon Huggins
  2004-06-14  9:49 ` Peter Stephenson
  1 sibling, 0 replies; 5+ messages in thread
From: Simon Huggins @ 2004-06-13  9:13 UTC (permalink / raw)
  To: list bluez

'ello list

On Sat, Jun 12, 2004 at 05:56:21PM -0500, Gene Imes wrote:
> Sorry about that. I inadvertantly tacked this to another thread. My
> apologies.

> Anyone know how to fix this:

> gene@tr1a:~> bluepin
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified

> Traceback (most recent call last):
>   File "/usr/bin/bluepin", line 39, in ?
>     import gtk
>   File "/usr/lib/python2.3/site-packages/gtk-2.0/gtk/__init__.py", line
> 43, in ?    from _gtk import *
> RuntimeError: could not open display

You're trying to run the python-gtk bluez pin helper.  Are you actually
in X?

You could change your pin helper to just be:
#!/bin/sh
echo "PIN:1234"

or whatever yours is and the corresponding pin_helper line in hcid.conf

I guess ultimately you might want the python-gtk helper to work though.

Simon.

-- 
        Black Cat Networks        -( "I'm gonna eat you, little fishy!"  )-
UK domain, email and web hosting  -(              - The Cat              )-
http://www.blackcatnetworks.co.uk -(                                     )-


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] bluepin
  2004-06-12 22:56 Gene Imes
  2004-06-13  9:13 ` Simon Huggins
@ 2004-06-14  9:49 ` Peter Stephenson
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Stephenson @ 2004-06-14  9:49 UTC (permalink / raw)
  To: list bluez

Gene Imes wrote:
> Anyone know how to fix this:
> 
> gene@tr1a:~> bluepin
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified

It's probably some kind of authorization problem.  Are you able
to

xauth merge ~/.Xauthority

?

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

end of thread, other threads:[~2004-06-14  9:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-12 18:28 [Bluez-users] Broadcasting in Bluetooth Suresh Srinivasan
2004-06-12 22:09 ` [Bluez-users] bluepin Gene Imes
  -- strict thread matches above, loose matches on Subject: below --
2004-06-12 22:56 Gene Imes
2004-06-13  9:13 ` Simon Huggins
2004-06-14  9:49 ` Peter Stephenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox