From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-devel] help probable l2cap problems From: Marcel Holtmann To: BlueZ Mailing List In-Reply-To: References: Content-Type: text/plain Message-Id: <1106510303.9269.60.camel@pegasus> Mime-Version: 1.0 Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sun, 23 Jan 2005 20:58:23 +0100 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