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: Wed, 8 Aug 2018 14:31:30 +0000 Message-ID: References: In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: SGkgQmFzdGllbiwNClRoYW5rcyBtdWNoIGZvciB5b3VyIGFuc3dlci4NCg0KRXZlbiBpZiBwcm9n cmFtbWVkIG15IG93biBwYWlyaW5nIGFnZW50LCBJIGNhbid0IHNlZSBob3cgSSBjb3VsZCBhY2hp ZXZlIGhhdmluZyBmaXhlZCBQSU4gZm9yIGluY29tbWluZyByZXF1ZXN0cy4NCg0KV2hlbiBJIHJl Z2lzdGVyIG15IGFnZW50LCBJIGNhbiBjaG9vc2Ugb25lIG9mIGZvbGxvd2luZyBjYXBhYmlsaXR5 IG9wdGlvbnMgW2FjY29yZ2luZyB0byBCbHVlWiBBZ2VudCBBUEldOg0KIC0gTm9JbnB1dE5vT3V0 cHV0LCBEaXNwbGF5WWVzTm8sIEtleWJvYXJkT25seTogSSBjYW4ganVzdCBwcm9ncmFtYXRpY2Fs bHkgZGVjaWRlIGJhc2VkIG9uIHRoZSBjbGllbnQncyBCRCBhZGRyZXNzIGlmIEkgYWNjZXB0IHRo ZSBwYWlyaW5nIG9yIG5vdA0KIC0gRGlzcGxheU9ubHksIEtleWJvYXJkRGlzcGxheTogYXQgdGhl IHRpbWUgb2YgcGFpcmluZywgdGhlIGFnZW50IHJlY2VpdmVzIGFscmVhZHkgdGhlIFBJTiwgYW5k IGNhbiBqdXN0IGRlY2lkZSBpZiBpdCdzIGFjY2VwdGVkLiBCdXQgdGhpcyBQSU4gaXMgbm90IGVu dGVyZWQgYnkgdGhlIG1vYmlsZSBwaG9uZSAoY2xpZW50KSB1c2VyLCBpdCdzIGp1c3QgZmFicmlx dWVkIChyYW5kb21seT8pIHNvbWV3aGVyZSBpbnNpZGUgdGhl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