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, 24 May 2017 01:55:43 +0000 Message-ID: References: <753A4460-944B-47FA-9381-F5E4FE619B28@holtmann.org> In-Reply-To: <753A4460-944B-47FA-9381-F5E4FE619B28@holtmann.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 List-ID: SGkgTWFyY2VsLA0KDQo+ID4gSSB3b3VsZCBsaWtlIHRvIGZvbGxvdyB1cCB3aXRoIHRoaXMgaXNz dWUuDQo+ID4NCj4gPj4+Pj4+Pj4gWWVzLCBmb3Igc2VjdXJlIGNvbm5lY3Rpb24gdGhlIExUSyBp cyBnZW5lcmF0ZWQgbG9jYWxseS4NCj4gPj4+Pj4+Pj4gQnV0IGlzc3VlIGhlcmUgaXMgb2JzZXJ2 ZWQgdGhhdCBhZnRlciBQYWlyaW5nIGlzIGNvbXBsZXRlIHRoZQ0KPiA+Pj4+Pj4+PiBrZXkgZGlz dHJpYnV0aW9uIGlzIG5vdCBjb21wbGV0ZWQgZnJvbSBNYXN0ZXIuDQo+ID4+Pj4+Pj4+DQo+ID4+ Pj4+Pj4+IGkuZS4gQWZ0ZXIgU2xhdmUgc2VuZHMgdGhlICAiU2lnbmF0dXJlIGtleToiIGJ1dCBN YXN0ZXIgZG9lc24ndA0KPiA+Pj4+Pj4+PiBzaGFyZSBhbnkga2V5LiAgQXR0YWNoZWQgbG9ncy4N Cj4gPj4+Pj4+PiBJIGdldCB0aGF0IGFuZCB0aGF0IGlzIGNsZWFyIGZyb20gdGhlIGxvZ3MuIFNv bWV0aGluZyBpcw0KPiA+Pj4+Pj4+IHN0YWxsaW5nIGhlcmUgYW5kIGJlY2F1c2Ugb2YgdGhhdCwg eW91IHJ1biBpbnRvIHRoZSAzMCBzZWNvbmRzDQo+ID4+Pj4+Pj4gU01QDQo+ID4+IHRpbWVvdX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