User security mode patch
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.
hcid/security.c +1 -1
@@ -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;
-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Marcel Holtmann
maintainerHi Guillaume,
Quoted 3 lines
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.
your patch is changing nothing. That is not it at all.
Regards
Marcel
-------------------------------------------------------------------------
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=/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel
TGUgdmVuZHJlZGkgMDMgb2N0b2JyZSAyMDA4IMOgIDE1OjE1ICswMjAwLCBNYXJjZWwgSG9sdG1h bm4gYSDDqWNyaXQgOiAKPiBIaSBHdWlsbGF1bWUsCj4gCj4gPiBPbiBteSBjb29rZXIgYm94IChp IHN0aWxsIHVzZSAzLjM2IHRob3VnaCksIHdpdGggdGhlIGRlZmF1bHQgaGNpZC5jb25mCj4gPiBm aWxlLCBpIGNhbid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