Return-Path: From: Libor Peltan To: Bastien Nocera , "linux-bluetooth@vger.kernel.org" Subject: RE: bt "server" how to configure requiring passkey from connecting clients Date: Tue, 14 Aug 2018 12:14:28 +0000 Message-ID: References: <5d03b0011c48dccc4e835a03b9c9fd3de467f719.camel@hadess.net> In-Reply-To: <5d03b0011c48dccc4e835a03b9c9fd3de467f719.camel@hadess.net> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: VGhhbmtzIEJhc3RpZW4gZm9yIHlvdXIgYnJpZWYsIGJ1dCBsZWFkaW5nIGFuc3dlci4NCg0KU3Rp bGwsIEkgZmVlbCBsaWtlIEknbSBtaXNzaW5nIHNvbWV0aGluZyA6KA0KDQpJJ3ZlIHJlYWQgdGhl IGxpbmtzIGNhcmVmdWxseS4gVGhlICJDSElQLWJsdWV0b290aC1zcGVha2VyIiB1c2VzIGJsdWV6 LXRvb2xzJyBidC1hZ2VudCB3aXRoIHBhcmFtZXRlcnMgc2V0IHNvIHRoYXQgaXQncyB1c2luZyBO b0lucHV0Tm9PdXRwdXQgY2FwYWJpbGl0aXksIGJ1dCByZXF1aXJpbmcgUGFzc2tleSBhdCB0aGUg c2FtZSB0aW1lLiBUaGlzIGlzIGV4YWN0bHkgd2hhdCBJIHdhbnQhDQoNCk5vIGhhdmluZyBibHVl ei10b29scyBpbiBteSBzZXR1cCwgSSB0cmllZCB0byBtYWtlIG15IG93biBwcm9ncmFtbWVkIGFn ZW50IGJlaGF2ZSBzaW1pbGFybHksIGkuZS4gYWNjb3JkaW5nIHRvIHlvdXIgaGludCwgaW1wbGVt ZW50IHRoZSBSZXF1ZXN0UGFzc2tleSBtZXRob2QgaW4gbXkgYWdlbnQuIEhvd2V2ZXIsIHRoaXMg bWV0aG9kIGlzIG5ldmVyIGNhbGxlZCEgV2hlbiBwYWlyaW5nIGEgcGhvbmUsIEJsdWVaIG9ubHkg Y2FsbHMgdGhlIEF1dGhvcml6ZVNlcnZpY2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