From: Guillaume Bedot <littletux@zarb.org>
To: bluez-devel@lists.sourceforge.net, cooker@mandrivalinux.org
Subject: [Bluez-devel] User security mode patch
Date: Fri, 03 Oct 2008 14:47:09 +0200 [thread overview]
Message-ID: <1223038029.6671.5.camel@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]
Hello,
On my cooker box (i still use 3.36 though), with the default hcid.conf
file, i can't pair with my phone unless i comment out the
passkey="BlueZ" line, or apply the joined patch.
The documentation says this passkey should be used only in auto security
mode.
Or am I wrong ?
Regards,
Guillaume B.
[-- Attachment #2: bluez-utils-3.36-always-request-pin-in-user-security-mode.patch --]
[-- Type: text/x-patch, Size: 459 bytes --]
--- bluez-utils-3.36.orig/hcid/security.c 2008-10-03 13:37:17.000000000 +0200
+++ bluez-utils-3.36/hcid/security.c 2008-10-03 13:37:28.000000000 +0200
@@ -500,7 +500,7 @@
} else if (pairing == HCID_PAIRING_NONE)
goto reject;
- if (hcid.security == HCID_SEC_AUTO && !ci->out) {
+ if ((hcid.security == HCID_SEC_AUTO) && !ci->out) {
set_pin_length(sba, hcid.pin_len);
memcpy(pr.pin_code, hcid.pin_code, hcid.pin_len);
pr.pin_len = hcid.pin_len;
[-- Attachment #3: Type: text/plain, Size: 363 bytes --]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next reply other threads:[~2008-10-03 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 12:47 Guillaume Bedot [this message]
2008-10-03 13:15 ` [Bluez-devel] User security mode patch Marcel Holtmann
2008-10-03 18:40 ` Guillaume Bedot
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=1223038029.6671.5.camel@localhost \
--to=littletux@zarb.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=cooker@mandrivalinux.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