From: nirav rabara <niravrabara@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: How to auto connect Headset (on power ON)
Date: Wed, 2 Dec 2009 10:31:51 +0530 [thread overview]
Message-ID: <912bb79a0912012101k16ac6689s5afcc7135a755ca3@mail.gmail.com> (raw)
Hi,
I am using simple-agent for pairing.
Once the pairing has done, If I turn OFF the headset and again turn ON
it, headset trying to connect with my adapter but cannot connect and
shows following debug
bluetoothd[804]: adapter_get_device(00:02:5B:00:AA:A5)
bluetoothd[804]: adapter_creat_device(00:02:5B:00:AA:A5)
bluetoothd[804]: creating device /org/bluez/804/hci0/dev_00_02_5B_00_A5_A5
bluetoothd[804]: btd_device_ref(0x2a06c658): ref=1
bluetoothd[804]: link_key_request (sba=00:15:83:0C:16:BF, bda=00:02:5B:00:AA:A5)
bluetoothd[804]: kernel auth requirement = 0x00
bluetoothd[804]: pin_code_request (sba=00:15:83:0C:16:BF, bda=00:02:5B:00:AA:A5)
bluetoothd[804]: adapter_get_device(00:02:5B:00:AA:A5)
bluetoothd[804]: /org/bluez/804/hci0/dev_00_02_5B_00_A5_A5: requesting
agent authentication
bluetoothd[804]: No agent available for 0 request
bluetoothd[804]: Removing temporary device
/org/bluez/804/hci0/dev_00_02_5B_00_A5_A5
bluetoothd[804]: Removing device /org/bluez/804/hci0/dev_00_02_5B_00_A5_A5
bluetoothd[804]: btd_device_unref(0x2a06c658): ref=0
bluetoothd[804]: device_free(0x2a06c658)
> "bluetoothd[804]: No agent available for 0 request" Is there any separate agent required ?
Can anybody suggest me how to auto connect headset with adapter on power on.
--
With Regards,
Nirav
next reply other threads:[~2009-12-02 5:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-02 5:01 nirav rabara [this message]
2009-12-02 6:04 ` How to auto connect Headset (on power ON) 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=912bb79a0912012101k16ac6689s5afcc7135a755ca3@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