From: "Martin Kupf" <mulata@gmx.de>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] pairing problems
Date: Tue, 10 Jun 2008 09:42:31 +0200 [thread overview]
Message-ID: <20080610074231.39470@gmx.net> (raw)
In-Reply-To: <20080609163110.282100@gmx.net>
I did some more research and I figured out that I will have to use the Inpu=
tService of bluez.
So with the dbus Interface of bluez I think have to do the following steps,=
right?:
ActiveService (input)
CreateDevice (bdaddr of keyboard)
Connect()
CreateDevice looks for a link key and if it finds one, an authorized connec=
tion can be established with Connect() I guess.
>>From the point that an auhorized connection is established (this can be rec=
ognized if hcitool con returns a connection with AUTH at the end of the lin=
e) I can start bthid and use the keyboard.
Thanks for any hints
-mulata
PS: Sorry that I have published a similar thread (email) with my google acc=
ount, but I have at the moment huge roubel with my google mail account..
-------- Original-Nachricht --------
> Datum: Mon, 09 Jun 2008 18:31:10 +0200
> Von: mulata@gmx.de
> An: bluez-users@lists.sourceforge.net
> Betreff: [Bluez-users] pairing problems
> Hi!
> After an initial I always have to go through the complete pairing process,
> there is no reconnect.
> =
> I want to use a Bluetooth keyboard and it works fine so far, but there are
> some problems after the initial pairing.
> =
> To get the keyboard wokring I do the following steps:
> =
> hcid and passkey-agent are running.
> =
> hcitool scan
> hcitool cc <bdaddr>
> After this step hcitool con lists a established connection to the keyboard
> auth <bdaddr>
> Enter PIN on keyboard
> =
> Now the entry in hcitool con changes to AUTH
> So the connection is authorized and established and the keyboard works (I
> use bthid, anyway the process of authorization and pairing is done by hci=
d,
> and hcitools)
> =
> Usually from now this initial pairing process shouldnt be necessary for
> further sessions, but unfortunately it is.
> In oder to use the keyboard again (after disabling it) I have to go
> through the whole process again, but befor I have to /var/lib/bluetooth/*
> =
> So how can I establish further connections without the whole pairing
> process?
> =
> thanks
> -- =
> Martin Kupf
> =
> Psssst! Schon vom neuen GMX MultiMessenger geh=F6rt?
> Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> =
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
-- =
Martin Kupf
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! =
Ideal f=FCr Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2008-06-10 7:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-09 16:31 [Bluez-users] pairing problems mulata
2008-06-10 7:42 ` Martin Kupf [this message]
2008-06-10 9:32 ` Martin Kupf
2008-06-10 17:21 ` hong zhang
2008-06-10 22:27 ` Mumia W..
2008-06-10 22:27 ` Fritz Code
2008-06-11 0:48 ` [Bluez-users] How to use Bluez with CSR chip ? colorant
2008-06-11 0:57 ` hong zhang
2008-06-11 2:00 ` colorant
2008-06-11 18:04 ` hong zhang
2008-06-12 0:11 ` colorant
2008-06-12 3:15 ` hong zhang
2008-06-12 2:49 ` attaboyu
2008-06-12 3:14 ` hong zhang
-- strict thread matches above, loose matches on Subject: below --
2008-06-09 9:10 [Bluez-users] pairing problems Fritz Code
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080610074231.39470@gmx.net \
--to=mulata@gmx.de \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.