public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] help probable l2cap problems
@ 2005-01-23 19:48 farukk
  2005-01-23 19:58 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: farukk @ 2005-01-23 19:48 UTC (permalink / raw)
  To: bluez-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1700 bytes --]


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:

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

why does this happen and can anybody help me please.

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 :)
--  
Ömer Faruk KAYA
Bilkent University
EE - 4


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] help probable l2cap problems
  2005-01-23 19:48 [Bluez-devel] help probable l2cap problems farukk
@ 2005-01-23 19:58 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-01-23 19:58 UTC (permalink / raw)
  To: BlueZ Mailing List

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-23 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 19:48 [Bluez-devel] help probable l2cap problems farukk
2005-01-23 19:58 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox