Return-Path: From: "Wong, Joshua Weng Onn" To: Marcel Holtmann CC: "Wong, Mun choy" , "Zulqarnain, Adam" , Avinash Kadam , "Bluez mailing list" Subject: RE: Unexpected SMP Command 0x0a Date: Wed, 31 May 2017 07:25:06 +0000 Message-ID: References: <753A4460-944B-47FA-9381-F5E4FE619B28@holtmann.org> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 List-ID: SGkgTWFyY2VsLA0KDQo+ID4+PiBJIHdvdWxkIGxpa2UgdG8gZm9sbG93IHVwIHdpdGggdGhpcyBp c3N1ZS4NCj4gPj4+DQo+ID4+Pj4+Pj4+Pj4gWWVzLCBmb3Igc2VjdXJlIGNvbm5lY3Rpb24gdGhl IExUSyBpcyBnZW5lcmF0ZWQgbG9jYWxseS4NCj4gPj4+Pj4+Pj4+PiBCdXQgaXNzdWUgaGVyZSBp cyBvYnNlcnZlZCB0aGF0IGFmdGVyIFBhaXJpbmcgaXMgY29tcGxldGUgdGhlDQo+ID4+Pj4+Pj4+ Pj4ga2V5IGRpc3RyaWJ1dGlvbiBpcyBub3QgY29tcGxldGVkIGZyb20gTWFzdGVyLg0KPiA+Pj4+ Pj4+Pj4+DQo+ID4+Pj4+Pj4+Pj4gaS5lLiBBZnRlciBTbGF2ZSBzZW5kcyB0aGUgICJTaWduYXR1 cmUga2V5OiIgYnV0IE1hc3Rlcg0KPiA+Pj4+Pj4+Pj4+IGRvZXNuJ3Qgc2hhcmUgYW55IGtleS4g IEF0dGFjaGVkIGxvZ3MuDQo+ID4+Pj4+Pj4+PiBJIGdldCB0aGF0IGFuZCB0aGF0IGlzIGNsZWFy IGZyb20gdGhlIGxvZ3MuIFNvbWV0aGluZyBpcw0KPiA+Pj4+Pj4+Pj4gc3RhbGxpbmcgaGVyZSBh bmQgYmVjYXVzZSBvZiB0aGF0LCB5b3UgcnVuIGludG8gdGhlIDMwIHNlY29uZHMNCj4gPj4+Pj4+ Pj4+IFNNUA0KPiA+Pj4+IHRpbWVvdXQuD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