* [Bluez-devel] L2CAP sockets
@ 2005-08-26 11:19 Esther Lopez
2005-08-26 11:32 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Esther Lopez @ 2005-08-26 11:19 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1: Type: text/plain, Size: 487 bytes --]
Hello you all!
I have a question related with BlueZ L2CAP sockets, and I hope somebody can
help me.
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?).
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?
Thanks in advance
Esther
[-- Attachment #2: Type: text/html, Size: 3047 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] L2CAP sockets
2005-08-26 11:19 [Bluez-devel] L2CAP sockets Esther Lopez
@ 2005-08-26 11:32 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-08-26 11:32 UTC (permalink / raw)
To: bluez-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-26 11:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26 11:19 [Bluez-devel] L2CAP sockets Esther Lopez
2005-08-26 11:32 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox