From: nirav rabara <niravrabara@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: Pincode request Problem
Date: Fri, 20 Nov 2009 11:15:13 +0530 [thread overview]
Message-ID: <912bb79a0911192145j2c97d8adjfd9ae445a9b3e50a@mail.gmail.com> (raw)
Hi,
How to get PIN request and wait for the reply without using gnome.
My scenario is as below,
I have cross complied Bluez-4.52 and using with my custom board with ARM.
./bluetoothd is running in background.
In my application I do DeviceDiscovery (hci_inquiry) and able get the
discovered devices addresses.
But when I tried to connect selected address from the discovered
address on RFCOM, bluetoothd is trying to get Pincode and get fails
because I am not using gnome on my embedded platform.(to solve this
problem I have hard coded Pin code in bluetoothd)
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.
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.
I have got few queries regarding to solve the above issue
1) Is it Strongly recommended to write another application similar to
bluetoothd if I don't want to use GTK OR If I use custom board?
2) Is there any API that can I use to get Pin request and send the
PinCode to bluetooth deamon.
OR
Any Suggestion.
Your suggestion would be a great help for me....
Thanks in Advance
--
With Regards,
Nirav Rabara
next reply other threads:[~2009-11-20 5:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-20 5:45 nirav rabara [this message]
2009-11-20 8:14 ` Pincode request Problem Johan Hedberg
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=912bb79a0911192145j2c97d8adjfd9ae445a9b3e50a@mail.gmail.com \
--to=niravrabara@gmail.com \
--cc=linux-bluetooth@vger.kernel.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