Return-Path: From: Peter Hurley To: Eponymous - CC: "linux-bluetooth@vger.kernel.org" Date: Fri, 3 Jun 2011 13:35:14 -0400 Subject: Re: HCI data payload not getting through when using BlueZ Message-ID: <1307122514.2622.75.camel@THOR> References: In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: T24gV2VkLCAyMDExLTA1LTExIGF0IDA0OjUyIC0wNDAwLCBFcG9ueW1vdXMgLSB3cm90ZToNCj4g SGksDQo+IA0KPiBJJ3ZlIHJhbiBpbnRvIGFuIGlzc3VlIHdoZXJlIGRhdGEgZG9lc24ndCBzZWVt IHRvIGJlIHJlY2VpdmVkIGJ5IGEgc2xhdmUgZGV2aWNlLg0KPiANCj4gSSBkbyB0aGUgZm9sbG93 aW5nOg0KPiANCj4gVXNpbmcgR2VudG9vIExpbnV4ICgyLjYuMzQtZ2VudG9vLXIxKQ0KPiBVc2lu ZyBCbHVlWiA0LjgxDQo+IA0KPiAxLiBVc2UgQmx1ZVogdG8gY29ubmVjdCB0byB0d28gQmx1ZXRv b3RoIGRldmljZXMgdXNpbmcgSENJIG9ubHkuIFRoaXMNCj4gaXMgb3ZlciBVU0IuDQo+IA0KPiAy LiBJIHNldCBvbmUgZGV2aWNlIGFzIGEgc2xhdmUgYW5kIHRoZW4gY3JlYXRlIGEgY29ubmVjdGlv biBiZXR3ZWVuDQo+IHRoZSB0d28uIFRoaXMgY29tcGxldGVzIHN1Y2Vzc2Z1bGx5IGFuZCBjYW4g YmUgc2VlbiBvbiBib3RoIHNpZGVzLg0KPiANCj4gMy4gSSB0aGVuIHRyeSB0byBzZW5kIGFuIGFj bCBwYWNrZXQgd2l0aCB0aGUgd29yZCAiaGkiIGluIGl0IGFuZCBpdCBpcw0KPiBub3QgcmVjZWl2 ZWQgb24gdGhlIG90aGVyIHNpZGUuDQo+IA0KPiAtLS0tLS0tLQ0KPiANCj4gRG9pbmcgdGhlIHNh bWUgdGhpbmcgYWJv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