Return-Path: MIME-Version: 1.0 In-Reply-To: References: <20110511164736.GA22065@joana> <44EE5C37ADC36343B0625A05DD408C48517CE84134@CHEXMB-01.global.atheros.com> <4DCCEB4E.7040600@nokia.com> Date: Fri, 13 May 2011 13:42:19 +0100 Message-ID: Subject: Fwd: HCI data payload not getting through when using BlueZ From: Eponymous - To: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-bluetooth-owner@vger.kernel.org List-ID: The following were executed in a root shell. Receive Side (Device B): $ ./l2test -r 00:02:5B:00:31:21 l2test[29219]: Waiting for connection on psm 4113 ... Transmit Side (Device A): $ ./l2test -s -b 10 00:02:5B:01:FE:DF l2test[29234]: Can't connect: Permission denied (13) $ ./l2test -s -b 10 00:02:5B:01:FE:DF l2test[29311]: Can't connect: Connection refused (111) $ ./l2test -s -b 10 00:02:5B:01:FE:DF l2test[29326]: Can't connect: Connection refused (111) $ ./l2test -s -b 10 00:02:5B:01:FE:DF l2test[29401]: Can't connect: Permission denied (13) $ ./l2test -s -b 10 00:02:5B:01:FE:DF l2test[29478]: Can't connect: Connection refused (111) $ ./l2test -s -b 10 00:02:5B:01:FE:DF l2test[29493]: Can't connect: Connection refused (111) Doesn't appear to work... On Fri, May 13, 2011 at 9:39 AM, Eponymous - wrote: > What format do you specify the bdaddr in ? > > Cheers. > > On Fri, May 13, 2011 at 9:26 AM, Mika Linnanoja > wrote: >> On 05/13/2011 11:13 AM, ext Suraj Sumangala wrote: >>> >>> You have to enable it in the cofigure file and change "test_enable" from >>> "no" to "yes". >>> Edit the file "configure", search for "test_enable" >>> change "test_enable=no" to "test_enable=yes" >>> >>> That is what I do to enable l2test. I guess there could be some other >>> cleaner way to do it. >> >> ./configure --help :) >> >> If you pull from the git repo ./bootstrap-configure already enables most of >> them. >> >> Although lately configure is often *not* complaining if something is missing >> from build dependencies, have to do a bit of trial & error to get it right. >> >> This is very easy to notice when trying to 'make' bluez on a clean system >> where it hasn't ever been built before. >> >> Cheers, >> Mika >> >