public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Johan Hedberg <johan.hedberg@gmail.com>
To: nirav rabara <niravrabara@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Pincode request Problem
Date: Fri, 20 Nov 2009 10:14:06 +0200	[thread overview]
Message-ID: <20091120081406.GA14589@jh-x301> (raw)
In-Reply-To: <912bb79a0911192145j2c97d8adjfd9ae445a9b3e50a@mail.gmail.com>

Hi,

On Fri, Nov 20, 2009, nirav rabara wrote:
> I am using Qt for GUI, Now I want to wait in bluetoothd  for Pincode
> and  want to pass the pincode from Qt to bluetoothd , and then
> bluetoothd should proceed.
> 
> In other way I want to pass pincode from one process to another
> process, but I am using Qt not GTK which has been used in Bluez.

There's no GNOME or GTK+ dependency in BlueZ. The PIN is requested over
D-Bus so any application that can speak D-Bus can act as an agent and
respond to the PIN requests.

> But is there any window to solve with problem, I mean any API OR any
> document which can help me Or Is anybody has done something like that.

See the RegisterAgent and CreatePairedDevice D-Bus methods in
doc/adapter-api.txt as well as the full agent API description in
doc/agent-api.txt. test/agent.c is an example C implementation of an
agent and test/simple-agent an example python implementation.

Johan

      reply	other threads:[~2009-11-20  8:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20  5:45 Pincode request Problem nirav rabara
2009-11-20  8:14 ` Johan Hedberg [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=20091120081406.GA14589@jh-x301 \
    --to=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=niravrabara@gmail.com \
    /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