* [Bluez-users] laptop-headset pairing script
@ 2008-04-04 16:04 Javi F Gorostiza
2008-04-05 14:28 ` Brad Midgley
0 siblings, 1 reply; 3+ messages in thread
From: Javi F Gorostiza @ 2008-04-04 16:04 UTC (permalink / raw)
To: bluez-users
Hello,
I would like to know how I can make laptop-headset pairing in rc.3, that
is whithout X-server. How can I introduce the PIN? I have proved the
python script:
import dbus
bus = dbus.SystemBus()
manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager')
bus_id = manager.ActivateService('audio')
audio = dbus.Interface(bus.get_object(bus_id, '/org/bluez/audio'), 'org.bluez.audio.Manager')
path = audio.CreateDevice('00:0D:3C:35:CC:D3')
#audio.ChangeDefaultDevice(path) #change the device to be used by default
sink = dbus.Interface (bus.get_object(bus_id, path), 'org.bluez.audio.Sink')
sink.Connect()
..with no exit.
Any help please?
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Bluez-users] laptop-headset pairing script 2008-04-04 16:04 [Bluez-users] laptop-headset pairing script Javi F Gorostiza @ 2008-04-05 14:28 ` Brad Midgley 2008-04-06 16:06 ` Michael Domann 0 siblings, 1 reply; 3+ messages in thread From: Brad Midgley @ 2008-04-05 14:28 UTC (permalink / raw) To: BlueZ users Javi > I would like to know how I can make laptop-headset pairing in rc.3, that > is whithout X-server. you would use the agent api to provide a pin. See bluez-utils/doc/agent-api.txt -- Brad ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-users] laptop-headset pairing script 2008-04-05 14:28 ` Brad Midgley @ 2008-04-06 16:06 ` Michael Domann 0 siblings, 0 replies; 3+ messages in thread From: Michael Domann @ 2008-04-06 16:06 UTC (permalink / raw) To: bluez-users On Sat, 5 Apr 2008 08:28:54 -0600 "Brad Midgley" <bmidgley@gmail.com> wrote: > Javi > > > I would like to know how I can make laptop-headset pairing in rc.3, that > > is whithout X-server. > > you would use the agent api to provide a pin. See bluez-utils/doc/agent-api.txt > > -- > Brad > can you please provide the script when its finish? thanks michael ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-04-06 16:06 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-04-04 16:04 [Bluez-users] laptop-headset pairing script Javi F Gorostiza 2008-04-05 14:28 ` Brad Midgley 2008-04-06 16:06 ` Michael Domann
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox