Re: assertion failed for passkey-agent

Guillaume Bedot <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <1206036014.16320.33.camel@littletux>
Le jeudi 20 mars 2008 à 14:52 +0100, Marcel Holtmann a écrit :
> Hi Parmod,
> 
> > When I run 
> > # passkey-agent --default 0000 &
> > [1] 4016
> > 4016: assertion failed "(*(const char*)_DBUS_FUNCTION_NAME) != '_'"
> > file "dbus-connection.c" line 2877 function
> > _dbus_connection_read_write_dispatch
> > 
> > [1]+  Aborted                 passkey-agent --default 0000
> > 
> > I tried going into passkey source code but....could get nothing...

Not sure, i get :
$ passkey-agent --default 0000
Can't register passkey agent
The name org.bluez was not provided by any .service files

> I really don't know. The last time I tested it, it works fine. However
> passkey-agent.c is really only an example.

I could get the headset to pair with the bluetooth-wizard from
bluez-utils, but you'll need to modify the address and PIN code in the
source.

Maybe in a few release the new graphical interface will be complete...

Sometime ago you could set a default pin code
in /etc/bluetooth/hcid.conf .

Or use a /bin/bluepin script that echoes the pin code stored
in /etc/bluetooth/pin, but it seems it doesn't work anymore.

It seems there is a new way to do it.

Regards,

Guillaume B.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.