From: Alexander <amour@rousse.org>
To: bluez-devel@lists.sourceforge.net
Subject: [Bluez-devel] dbus api
Date: Mon, 28 May 2007 17:19:48 +0200 [thread overview]
Message-ID: <465AF314.5090206@rousse.org> (raw)
Hello list,
I'm working on a C++ library that invokes bluez over dbus. I'm currently
having some trouble understanding the logic of a local service. Could
someone explain me the way local services are managed? Like, calling
RegisterService() of the org.bluez.Database, what does that method do?
Does it create a new ServiceRecord on hciX? If so, what happens with the
protocol descriptors of that service record? How can I list all the
registered services on hciX? I see Add and Update methods for service
records but no ListServiceRecords()? There is a ListServices() method on
the manager interface but this interface is just for the /org/bluez
object path, so this won't give me a list just for hciX. Also, the
org.bluez.Service interface, does it have anything to do with
Add/UpdateServiceRecord() methods of the database interface? Can I
modify the service record (for example the protocol descriptors) of a
service represented by the org.bluez.Service interface?
What happened with the RFCOMM API? I agree it wasn't very nice by
forcing you to open /dev/tty* but it was at least something, now there
isn't anything dbus based. A RFCOMM API with connect(), disconnect(),
read() and write() will be just great (all dbus based ofcourse, no
/dev/tty* stuff :) ).
best regards,
Alexander
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next reply other threads:[~2007-05-28 15:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-28 15:19 Alexander [this message]
2007-05-29 4:08 ` [Bluez-devel] dbus api Marcel Holtmann
2007-05-30 9:14 ` Alexander
2007-05-30 9:36 ` 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=465AF314.5090206@rousse.org \
--to=amour@rousse.org \
--cc=bluez-devel@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.