From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] L2CAP sockets
Date: Fri, 26 Aug 2005 13:32:35 +0200 [thread overview]
Message-ID: <1125055955.25535.8.camel@pegasus> (raw)
In-Reply-To: <20050826111844.1ACEC1DC1D6@mrelay2.st2.lyceu.net>
Hi Esther,
> I have a question related with BlueZ L2CAP sockets, and I hope
> somebody can help me=85
>=20
> If I want to communicate two Bluetooth devices using L2CAP, I just
> open an L2CAP socket and send data through this open socket. (Is this
> OK?).=20
>=20
> The question is related with the size and format of the data send
> throught this socket. How is the data packet created? Do I need to
> create headers and so on? What is the size of the data I can send?
the L2CAP socket is a SOCK_SEQPACKET and the MTU size can be retrieved
with a getsockopt() call.
Regards
Marcel
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
prev parent reply other threads:[~2005-08-26 11:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-26 11:19 [Bluez-devel] L2CAP sockets Esther Lopez
2005-08-26 11:32 ` 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=1125055955.25535.8.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