From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Creating connections with the network DBUS API
Date: Wed, 31 Oct 2007 17:30:13 +0100 [thread overview]
Message-ID: <1193848213.32459.57.camel@violet> (raw)
In-Reply-To: <578209.61831.qm@web52103.mail.re2.yahoo.com>
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
next prev parent reply other threads:[~2007-10-31 16:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-28 6:37 [Bluez-users] Creating connections with the network DBUS API Chris Dragga
2007-10-31 16:30 ` Marcel Holtmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-11-06 4:08 Chris Dragga
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=1193848213.32459.57.camel@violet \
--to=marcel@holtmann.org \
--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 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).