Linux bluetooth development
 help / color / mirror / Atom feed
From: Michael Jarosch <mitsch@riotmusic.de>
To: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: bluetooth on ubuntu without desktop environment
Date: Wed, 08 Jun 2011 16:46:27 +0200	[thread overview]
Message-ID: <1307544387.1761.8.camel@powermacG4> (raw)
In-Reply-To: <20110607231146.GB8705@piper>

[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]

Am Dienstag, den 07.06.2011, 20:11 -0300 schrieb Vinicius Costa Gomes:

> This is what I would do:
> 
> 1. Get the BlueZ sources, and go to the test/ directory;
> 
> 2. ./simple-agent hci0 <keyboard address> 
>    (follow the instructions from the keyboard for pairing, usually putting the
>    same passkey in both sides). This will pair your computer with the
>    keyboard. If it complains about that the pairing already exists, just add a
>    third parameter, it can be anything.
> 
> 3. ./test-device trusted <keyboard address> yes
>    This will set the device as trusted, so connection comming from it will
>    be automatically accepted.
> 
> 4. Now as the device is already bonded and connections are automatically
>    accepted, reconnections should work as they should.

Unbelievable: It's working! Thanks!

Those scripts are part of the ubuntu "bluez"-package with a little
change in naming them: There is always a "bluez-" in front of it.

simple-agent -> bluez-simple-agent
test-device -> bluez-test-device

So no need to download them.
I must confess, I was sceptical at first, because I already tried
bluez-simple-agent without success. I guess I was lucky to have the
right combination of packages installed, now - got to figure out, why it
didn't work last time!

Well, then: I'll spread the word!
Thanks again!

Bye!

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

      reply	other threads:[~2011-06-08 14:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 20:12 bluetooth on ubuntu without desktop environment Michael Jarosch
2011-06-07 21:52 ` Michael Jarosch
2011-06-07 23:11 ` Vinicius Costa Gomes
2011-06-08 14:46   ` Michael Jarosch [this message]

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=1307544387.1761.8.camel@powermacG4 \
    --to=mitsch@riotmusic.de \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=vinicius.gomes@openbossa.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox