From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <951351190712261349w3b541e7bn319da55ae02b1410@mail.gmail.com> Date: Wed, 26 Dec 2007 21:49:46 +0000 From: "Jason Zhan" To: "BlueZ development" In-Reply-To: <1198556341.8050.321.camel@aeonflux> MIME-Version: 1.0 References: <951351190712240702x7b84c38j135735888bbd40d0@mail.gmail.com> <1198556341.8050.321.camel@aeonflux> Subject: Re: [Bluez-devel] passkey-agent Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0953025659==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0953025659== Content-Type: multipart/alternative; boundary="----=_Part_13519_8702769.1198705786566" ------=_Part_13519_8702769.1198705786566 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey, Marcel and Olivier The problem has been solved. The reason is that the bluetooth-applet has registered the default passkey agent. So I only can register the specific passkey agents for bluetooth devices or disable the default passkey agent in bluetooth-applet. Many thanks for all your help. Regards, Jason On 25/12/2007, Marcel Holtmann wrote: > > Hi Jason, > > > Currently, I am implementing a passkey-agent for my own application. > > The principle is similar with the /daemon/passkey-agent.c. However, > > when I run it, the system gives me some errors: "Can't regiter passeky > > agent, passkey agnet already exists". > > the error message is pretty clear. You can have multiple remote device > specific passkey agents, but only _ONE_ default passkey agent. > > Regards > > Marcel > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_13519_8702769.1198705786566 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hey, Marcel and Olivier

The problem has been solved. The reason is that the bluetooth-applet has registered the default passkey agent. So I only can register the specific passkey agents for bluetooth devices or disable the default passkey agent in bluetooth-applet.

Many thanks for all your help.

Regards,
Jason

On 25/12/2007, Marcel Holtmann <marcel@holtmann.org > wrote:
Hi Jason,

> Currently, I am implementing a passkey-agent for my own application.
> The principle is similar with the /daemon/passkey-agent.c. However,
> when I run it, the system gives me some errors: "Can't regiter passeky
> agent, passkey agnet already exists".

the error message is pretty clear. You can have multiple remote device
specific passkey agents, but only _ONE_ default passkey agent.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

------=_Part_13519_8702769.1198705786566-- --===============0953025659== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0953025659== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0953025659==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marcel Holtmann To: BlueZ development In-Reply-To: <951351190712240702x7b84c38j135735888bbd40d0@mail.gmail.com> References: <951351190712240702x7b84c38j135735888bbd40d0@mail.gmail.com> Date: Tue, 25 Dec 2007 05:19:01 +0100 Message-Id: <1198556341.8050.321.camel@aeonflux> Mime-Version: 1.0 Subject: Re: [Bluez-devel] passkey-agent Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net Hi Jason, > Currently, I am implementing a passkey-agent for my own application. > The principle is similar with the /daemon/passkey-agent.c. However, > when I run it, the system gives me some errors: "Can't regiter passeky > agent, passkey agnet already exists". the error message is pretty clear. You can have multiple remote device specific passkey agents, but only _ONE_ default passkey agent. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <001501c84660$6b520040$0200a8c0@jester> From: "Olivier Le Pogam" To: "BlueZ development" References: <951351190712240702x7b84c38j135735888bbd40d0@mail.gmail.com> Date: Mon, 24 Dec 2007 20:08:50 +0100 MIME-Version: 1.0 Subject: Re: [Bluez-devel] passkey-agent Reply-To: Olivier Le Pogam , BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1864845923==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net This is a multi-part message in MIME format. --===============1864845923== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C84668.CCD3B9F0" This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C84668.CCD3B9F0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Jason, > Currently, I am implementing a passkey-agent for my own application. = The principle is similar with the /daemon/passkey-agent.c. However, when = > I run it, the system gives me some errors: "Can't regiter passeky = agent, passkey agnet already exists".=20 Before launching your own (or the default) passkey-agent, what does a = "ps eax | grep passkey" output ? Just in case the default passkey agent is not launched somewhere in your = startup scripts and you haven't realized Regards, Oli ------=_NextPart_000_0012_01C84668.CCD3B9F0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi Jason,
 
> Currently,=20 I am implementing a passkey-agent for my own application. The principle = is=20 similar with the /daemon/passkey-agent.c. However, when > I run it, = the=20 system gives me some errors: "Can't regiter passeky agent, passkey agnet = already=20 exists".
 
Before launching your own (or the = default)=20 passkey-agent, what does a "ps eax | grep passkey" output ?
Just in case the default passkey agent = is not=20 launched somewhere in your startup scripts and you haven't = realized
 
Regards,
Oli
 
------=_NextPart_000_0012_01C84668.CCD3B9F0-- --===============1864845923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1864845923== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1864845923==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <951351190712240702x7b84c38j135735888bbd40d0@mail.gmail.com> Date: Mon, 24 Dec 2007 15:02:58 +0000 From: "Jason Zhan" To: bluez-devel@lists.sourceforge.net MIME-Version: 1.0 Subject: [Bluez-devel] passkey-agent Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0255586828==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============0255586828== Content-Type: multipart/alternative; boundary="----=_Part_7906_7955281.1198508578802" ------=_Part_7906_7955281.1198508578802 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, folks This is maybe the final question for this year. Currently, I am implementing a passkey-agent for my own application. The principle is similar with the /daemon/passkey-agent.c. However, when I run it, the system gives me some errors: "Can't regiter passeky agent, passkey agnet already exists". I am pretty sure this is not the problem of my program, since I run the default passkey-agent daemon(/usr/bin/passkey-agent), it will jump out the same errors. Can anybody help me to sort it out? I think the solution should be quite simple, set some configurations or block some functions in hcid daemon. But I have no idea on how to achieve it. I really would like to sort it out in 2007. Merry Christmas and Happy new year. Regards, Jason ------=_Part_7906_7955281.1198508578802 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, folks

This is maybe the final question for this year.

Currently, I am implementing a passkey-agent for my own application. The principle is similar with the /daemon/passkey-agent.c. However, when I run it, the system gives me some errors: "Can't regiter passeky agent, passkey agnet already exists".

I am pretty sure this is not the problem of my program, since I run the default passkey-agent daemon(/usr/bin/passkey-agent), it will jump out the same errors.

Can anybody help me to sort it out? I think the solution should be quite simple, set some configurations or block some functions in hcid daemon. But I have no idea on how to achieve it.

I really would like to sort it out in 2007.

Merry Christmas and Happy new year.

Regards,
Jason



------=_Part_7906_7955281.1198508578802-- --===============0255586828== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0255586828== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============0255586828==--