All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Dragga <chris_dragga@yahoo.com>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Creating connections with the network DBUS API
Date: Mon, 5 Nov 2007 20:08:44 -0800 (PST)	[thread overview]
Message-ID: <458114.83554.qm@web52109.mail.re2.yahoo.com> (raw)

Hey,

Thanks for the information about the servers.  The servers only need to be enabled once per machine; they don't start disabled at the start of each session, correct?

Regarding the network service, I had been running 3.20, and have since upgraded to 3.22, though I've noticed no change in functionality.  I have been able to get a NAP connection to work successfully if the computer to which I'm connecting is running pand with options --listen and --role NAP; the client does not have to use pand to connect.  Without pand, the client will not connect, regardless of whether the NAP server is enabled on the server side.  Is this the correct functionality or am I doing something wrong?  Also, in order to get communication functioning properly, do I need the PANU server running on the client?  I've tried it both with and without, without being able to observe a difference in functionality.

Further, I've noticed that running pand seems to break any of the network service functionality.  Similarly, it appears running anything that uses the network service (or at least any code that interacts with the network servers) makes it impossible to start pand in listen mode, though connections can still be established with pand.  The error " Bind failed. Address already in use(98)" appears in the syslog when this happens.  Is this what should be happening?

Thanks for the help.
-Chris Dragga

----- Original Message ----
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Sent: Wednesday, October 31, 2007 11:30:13 AM
Subject: Re: [Bluez-users] Creating connections with the network DBUS API


Hi Chris,

> I'm back with another question about the network features of DBUS.
  Specifically, I'm trying to create a connection using NAP as described
 on the wiki, albeit in C, rather than Python, and when I execute the
 Connect method on the connection object, I get the error:  "Operation now
 in progresss."  In addition, I never get a Connected signal (though I
 do have it handled correctly, I'm pretty sure), and hcitool shows no
 connections active once I've done this.  Note that the same error also
 occurs with GN.  Is there some sort of setting for Bluetooth itself that
 I'm missing, or do I need to introduce a delay somewhere in the code?
  For what it's worth, the relevant sections of code are as follows:

I have used the network service and the connection creation works
perfectly fine. Don't see the problem. However make sure you are
 running
the latest release since there were some glitches.

> Also, when the documentation says that the Connect method returns the
 network interface, would this be something along the lines of bnep0?
  Finally, correct me if I'm wrong, but since there is no "CreateServer"
 method in the network manager object (despite what the wiki says), the
 servers that ListServers lists are the only ones available.  Any help
 would be appreciated.

By definition there are only 3 servers. NAP, GN and PANU and they are
all available, but disabled by default. I am even thinking about moving
these settings into a config file instead of a D-Bus interface.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

             reply	other threads:[~2007-11-06  4:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-06  4:08 Chris Dragga [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-10-28  6:37 [Bluez-users] Creating connections with the network DBUS API Chris Dragga
2007-10-31 16:30 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=458114.83554.qm@web52109.mail.re2.yahoo.com \
    --to=chris_dragga@yahoo.com \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.