public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] passkey-agent
@ 2007-12-24 15:02 Jason Zhan
  2007-12-24 19:08 ` Olivier Le Pogam
  2007-12-25  4:19 ` Marcel Holtmann
  0 siblings, 2 replies; 4+ messages in thread
From: Jason Zhan @ 2007-12-24 15:02 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 752 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] passkey-agent
  2007-12-24 15:02 [Bluez-devel] passkey-agent Jason Zhan
@ 2007-12-24 19:08 ` Olivier Le Pogam
  2007-12-25  4:19 ` Marcel Holtmann
  1 sibling, 0 replies; 4+ messages in thread
From: Olivier Le Pogam @ 2007-12-24 19:08 UTC (permalink / raw)
  To: BlueZ development


[-- Attachment #1.1: Type: text/plain, Size: 503 bytes --]

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

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

[-- Attachment #1.2: Type: text/html, Size: 1248 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] passkey-agent
  2007-12-24 15:02 [Bluez-devel] passkey-agent Jason Zhan
  2007-12-24 19:08 ` Olivier Le Pogam
@ 2007-12-25  4:19 ` Marcel Holtmann
  2007-12-26 21:49   ` Jason Zhan
  1 sibling, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2007-12-25  4:19 UTC (permalink / raw)
  To: BlueZ development

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

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

* Re: [Bluez-devel] passkey-agent
  2007-12-25  4:19 ` Marcel Holtmann
@ 2007-12-26 21:49   ` Jason Zhan
  0 siblings, 0 replies; 4+ messages in thread
From: Jason Zhan @ 2007-12-26 21:49 UTC (permalink / raw)
  To: BlueZ development


[-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 1787 bytes --]

[-- Attachment #2: Type: text/plain, Size: 228 bytes --]

-------------------------------------------------------------------------
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/

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2007-12-26 21:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-24 15:02 [Bluez-devel] passkey-agent Jason Zhan
2007-12-24 19:08 ` Olivier Le Pogam
2007-12-25  4:19 ` Marcel Holtmann
2007-12-26 21:49   ` Jason Zhan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox