public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* Passkey-Agent for bluez 4.xx
@ 2009-05-18 19:21 Wilson, Scott
  2009-05-18 19:52 ` James Le Cuirot
  0 siblings, 1 reply; 20+ messages in thread
From: Wilson, Scott @ 2009-05-18 19:21 UTC (permalink / raw)
  To: linux-bluetooth

All,

>Hello,

>Brad Midgley schrieb:
>> Artem,
>>
>> It may not be the best way, but I modified simple-agent from tests
>> with a hardcoded pin, then I run it in the background at startup.
>> Replace 5555 with your pin.

>Thanks for your reply.

>I have tired this. It works only with the 1st bluetooth device in the
>system. It does not work with my 2nd bluetooth device. So it is not
>useable for me.

>Are there any other passkey-agents available?

>Thanks, Artem

I also have a similar issue, only mine involves Linux embedded on a
device. I have no agent running on the device at this time and therefore
pairing isn't working (which makes it hard for anything else to work).

At this point, I can either put Python on the device and use the
simple-agent python script to start the agent (which may be a job in
itself), or I can try and fix the test/agent.c program to suit my needs.

My question is, how hard would it be to fix the agent.c code myself?  It
seems that it is self contained and therefore not impossible to fix
myself.  But, could it be that since I am new to dbus and agents, I am
not seeing the entire picture?  Could someone lend me some assistance
and then I could submit my work back to the group?

My background is EE/Computer Eng. and I have been programming in
C/C++/Java for almost 20 years now.

Naturally, the problem for me is that I have a deadline looming
(beginning of June) so I need to have something working sooner rather
than later.

Any and all comments are welcome.

Thank you,

Scott Wilson

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Passkey-Agent for bluez 4.xx
@ 2009-05-13 15:55 Artem Makhutov
  0 siblings, 0 replies; 20+ messages in thread
From: Artem Makhutov @ 2009-05-13 15:55 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

I would like to use bluez 4.39.

What I am missing is a passkey-agant for the console.
Something like the old passkey-agent application in bluez 3.xx.

Since I have 2 bluetooth dongles, I need a passkey-agent that registers
it self as a default passkey-agent. And where I can enter a default pin,
that is used for all authentications.

The "passkey-agent" application from bluez 3.xx was pretty fine
(passkey-agent --default 1234).

How can I do the same with bluez 4.xx?

Thanks, Artem

^ permalink raw reply	[flat|nested] 20+ messages in thread
* Passkey-Agent for bluez 4.xx
@ 2009-05-13 15:48 Artem Makhutov
  2009-05-14  4:46 ` Brad Midgley
  0 siblings, 1 reply; 20+ messages in thread
From: Artem Makhutov @ 2009-05-13 15:48 UTC (permalink / raw)
  To: linux-bluetooth

Hello,

I would like to use bluez 4.39.

What I am missing is a passkey-agant for the console.
Something like the old passkey-agent application in bluez 3.xx.

Since I have 2 bluetooth dongles, I need a passkey-agent that registers
it self as a default passkey-agent. And where I can enter a default pin,
that is used for all authentications.

The "passkey-agent" application from bluez 3.xx was pretty fine
(passkey-agent --default 1234).

How can I do the same with bluez 4.xx?

Thanks, Artem

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

end of thread, other threads:[~2009-06-17 15:35 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-18 19:21 Passkey-Agent for bluez 4.xx Wilson, Scott
2009-05-18 19:52 ` James Le Cuirot
2009-05-18 21:53   ` Wilson, Scott
2009-05-18 22:16     ` Marcel Holtmann
2009-05-18 22:20     ` tmm
  -- strict thread matches above, loose matches on Subject: below --
2009-05-13 15:55 Artem Makhutov
2009-05-13 15:48 Artem Makhutov
2009-05-14  4:46 ` Brad Midgley
2009-05-16 14:52   ` Artem Makhutov
2009-06-16 13:07   ` John Frankish
2009-06-16 14:30     ` Timothy Murphy
2009-06-17  7:38       ` Johan Hedberg
2009-06-17 12:17         ` Simon Kenyon
2009-06-16 19:21     ` Artem Makhutov
2009-06-17  4:14       ` John Frankish
2009-06-17  7:12         ` Johan Hedberg
2009-06-17 14:15           ` John Frankish
2009-06-17 15:35             ` Brad Midgley
2009-06-17  6:27     ` Brad Midgley
2009-06-17 14:15       ` John Frankish

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