public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] help probable l2cap problems
Date: Sun, 23 Jan 2005 20:58:23 +0100	[thread overview]
Message-ID: <1106510303.9269.60.camel@pegasus> (raw)
In-Reply-To: <BasiliX-1.1.0-110650969041f3ff7a67af4@postaci.ug.bilkent.edu.tr>

Hi,

> im really sorry if this is a duplicate but i could not find anything on the web about my problem,
> my main aim is to send a few bytes of data over bluetooth and decided to use Bluez. i am using mandrake 9.2 (kernel 2.4.22) and downloaded the bluez libs utils and everything from www.bluez.org, installed them regarding the README files included in the packages. now i have two Ericsson BT development Kits attached via usb to my toshiba satellite a15. hciconfig tells that both of them are up and i can connect them to eachother using hcitool. to accomplish my main goal, i decided to use the l2test.c file in the directory bluez-utils-2.14/test. The file first did not compile (with error undefined ref. to str2ba) but i did a gcc l2test.c -lbluetooth and it did compile. now when i try to run the executable i get the following error:

the 2.4 kernel series is not really supported anymore. Use a Linux
distribution that already switched to the 2.6 kernel.

Creating connection with "hcitool cc ..." is only for testing. When
using l2test the underlaying ACL link will be created by the kernel.

To get compiled versions of the test utility simply call configure with
--enable-test.

> l2test[3255]: Can't create socket: No such file or directory (2)

Load the L2CAP kernel module (modprobe l2cap).

> Another thing is that i need a beginner's guide to programming with bluez, if any of you have any link for such a source(examples) please inform me, i would be grateful.
> Sorry for being a newbie :)

I have a presentation for basics of BlueZ programming. It is linked from
the BlueZ website. For the rest look at the source code and learn from
it. As I always say, use the source, Luke ;)

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2005-01-23 19:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-23 19:48 [Bluez-devel] help probable l2cap problems farukk
2005-01-23 19:58 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1106510303.9269.60.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox