Re: Pincode request Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux