Return-Path: From: Peter Hurley To: Eponymous - CC: "linux-bluetooth@vger.kernel.org" Date: Thu, 30 Jun 2011 11:47:18 -0400 Subject: Re: HCI data payload not getting through when using BlueZ Message-ID: <1309448838.2276.137.camel@THOR> References: <1307122514.2622.75.camel@THOR> In-Reply-To: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: T24gV2VkLCAyMDExLTA2LTI5IGF0IDA2OjIyIC0wNDAwLCBFcG9ueW1vdXMgLSB3cm90ZToNCj4g VGhhbmtzIGZvciB5b3VyIHJlcGx5IFBldGVyLg0KPiANCj4gU29ycnkgaWYgSSBjYW1lIGFjcm9z cyBhIGJpdCBydWRlIHRoZXJlLCBpdCBpcyBqdXN0IHZlcnkgZnJ1c3RyYXRpbmcNCj4gc29tZXRp bWVzIDopDQoNCkkgZ2V0IGl0LiBCVCBjYW4gYmUgPGFyZ2dnaGhoPi4uLg0KDQo+IFlvdSBtZW50 aW9uZWQgZW5hYmxpbmcgZGVidWcgbWVzc2FnZXMgZm9yIGJ0dXNiIGFuZCBibHVldG9vdGguIERv IHlvdQ0KPiBieSBhbnkgY2hhbmNlIGtub3cgaG93IHRvIGRvIHRoaXM/DQoNCkkgYWx3YXlzIHJ1 biBhIGRlYnVnIGtlcm5lbC4gTXkgcmVsZXZhbnQgYnVpbGQgc2V0dGluZ3MgaW4gdGhlICJLZXJu ZWwNCmhhY2tpbmciIHN1Ym1lbnUgYXJlOg0KIEtlcm5lbCBEZWJ1Z2dpbmcgPT4gREVCVUdfS0VS TkVMPXkNCiBEZWJ1ZyBGaWxlc3lzdGVtID0+IERFQlVHX0ZTPXkNCiBDb21waWxlIHRoZSBrZXJu ZWwgd2l0aCBkZWJ1ZyBpbmZvID0+IERFQlVHX0lORk89eQ0KYW5kIG1vc3QgaW1wb3J0YW50bHks DQogRW5hYmxlIGR5bmFtaWMgcHJpbnRrKCkgc3VwcG9ydCBEWU5BTUlDX0RFQlVHPXkNCg0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