linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] avrcp and dbus
@ 2005-11-30 16:32 Brad Midgley
  2005-11-30 17:25 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Brad Midgley @ 2005-11-30 16:32 UTC (permalink / raw)
  To: bluez-devel

Hi

I have my test app ("avrecv") accepting connections and ack'ing
passthrough commands. Most or all headsets are going to be sending
passthrough only, but we will nak other commands when I figure out how
the nak looks.

If you have avrecv running when you start sending audio to the set, the
headset will turn around and make the avrcp connection. I don't know how
you use the play button to *initiate* the player however... :(

I would like to make this app a multithreaded daemon and hook it up to
dbus for both receiving events from headsets and relaying things back to
the headset (eg volume changes). I will run one thread per connection
and select() between data from the headset and dbus commands for the
same l2cap connection...

Does the dbus approach sound reasonable? Any tips for where to start
with dbus? (I've never written for it)

Brad


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

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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-30 16:32 [Bluez-devel] avrcp and dbus Brad Midgley
2005-11-30 17:25 ` Marcel Holtmann
2005-12-01 16:21   ` Brad Midgley

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